





































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!






































SAMPLE AVERAGE
y
=
f(y
,
yz
...
)
= y
↓
· value is
· it varies
sameling
has a mean
E(j)
=
Egi]
=
ANNY
↓
estimator for Ely)
If-a
....
,
,
:
① E(j)
=
NY
② Var(j)
=
I
WE DO NOT
normally
L
Fraco
③ Sto.
dev(y)
=M
CHAPTER 3
DPLYR
TIDYVERSE PACKAGE
Organized
Around SET
La
Operate
. FRAMES/TM33LES
↓
verb (data ename ,
what tool
--
. argu
2no argu
·ta trava
verb (what
ad
.
elge operator Ind
.
FILTER
-D
& Y
andy
X(y
Xory
= Grater THAN/eQual !
X
A NOTY
!= NOTEQUAL
CHAPTER 4
=
function of
a SAMPLEDATA
↓
is random , so
Estimator
Estimate
=
the Numerical Result produced
by
an Estimato
Ca
It's a
,
NOT A VAMABLE
=
Estimating
the Population Mean E(y)
=
My ) Given
a set of sample data
↓ How
used
as a
good
quantity
↓
E(y)
Also AVERAGE OF LARGEST TWO EXTREMES y
=
maxyl-miuly
=
X-
T UNBIASEDNESS
S
we
EFFICIENCY
↓ means
= X Example E(y)
=
MY
d
(real
estinator is unbiased
Expected value of
SAMPLE MEAN
= Pop . MEAN
~
mean IS UNBLASED Estimator
C
CONSISTEncy
Estimator -n
Large Numbers)
Randouness in
any
=
di
= Gi
↓ but
power
of
Nome
e s
↓
on m as you
take more samples Small
↓ it includes more terms
-MY
1 As
size n. increase ,
mean
i converges
in probabluty
to popucation
MEAN
SAMPUNG DISTRIBUTION
meal
VARIES A LOT
As n orows
È
Gets Closed
as n increase ,
the
DISTRIBUTION D NARROWER
MY
T CONCENTRATED
around My
Is yn
?
↓
Last observation NOT THE Mean
CONSISTEN for
n Gnows ,
Yi-a
Draw From Population
↓
doesn't get
Myasn
Increases
EFACENCY
estimator
X ,
X =d Unblased
Vare(Xi) Var(x)
X Is more
Xi
↓
same amount of
Data in more efficient
=
Jand yn
are UNBlased
-n Which ore is nore efficient ?
Var(gu)
n increases
1
Unblased
var
I
meal
Which one in EFAGENT
I
= n mora escient
2
La More precise Estimate
-D Estimate the True Population Mean
↑
but We
a samela real
,
CH)
So that d
M
=
= 1
l exactly
Pr/
↓ Standard Error
-a
large
sameles
↓
E(Y)
= NO
&
SYMMETMC
mean
y
(y
Pr (IM)
= 1 x
we do (2)
p(x)
b) - )
=
it becomes
(E)
=
p()
=
=
.
) E
=
.
C
=
?
& )
.
= 05
.
1
,
96
= (
=
y
,
965
y
,
865
CHAPTER S
SIMPLE
REGRESSION MODEL AND
ORDINARY
In interested in
betw
VAMBLES
① Outcome Varable A Dependent vamable (y)
②
Explanatory
=d
variable/regressor
=>
for
eace I we observe both XI and
yil
plat the joint Astrbution
Equation for
the lina with an intercelt bo
3
y
=
slooe b
d
enediction for
y
at observation
d
Normally
NOT
The Case
for
↓
YYi
Error the
At
; yi)
data (xi , yi
on prediction
Y
=
Yei
= bot bexitei
y
= bo
.
= bo
class sive
--
.
= 61 .
class size
Cr
aver
score =>
.
.
= D
PREDICTIONS AND RESIDUALS
Average
i =i
Average
or sum of residual is 0
*=
bot e
=
gi
= bo
t
=
i
regressor
and residuals
= A uncorrelated Prediction and residuals are
Cor(Xi
ci)
=
-Gu
(i ;
ei)
= -Cou (bo
bexi ,
eil
=
,
= 0
↓
= b((X , y)
COVAMANCE
,
CORRELATION ,
REGRESSION Measure
relationships
I
In
If
relationshie
regression
ADD MIGHER Order
=
Ayi
= bo +
ANALYSIS
Yi
=
y
Ci
following
decomposition
↓
Var(y)
=
Var(y
=
Var(y)
=
Var(y)
Varie)
Because = Var (X
y)
=
Var(y)
+2(u(X , y)
Cou(y
,
TOTAL VAMATION = MODEL EXPLAINED + UNEXPLAINED
ISST)
R2-a
of
sample variance of
,
explained
by
X
enance exelaino. .
Unexplained Variation
Total
1 CLOSER
=D
LOW
EXPLaNatury
power
HIGH EXPLANATORY DOWED
=
X explains
% of
variation
EXPLAINED
= Variation exe.
by
RE
[0,
↓
total sum
&
Of Squares
TEST STATISTIC
t
E
650
. CMTISAL
↓
Reject
Ho
= 1
= 2 .
<
2 . p
P-Value
~
.
-D
.
,
Ho
CHAPTER 6
,
IMPLY
-A
Changing
changes
Y
EXAMPLES
ICE cream
domnos
are
they
correlated
model estimate sto error
. value
,
01619 0 ,
,
,
,
4588
M
Casual Diagrams (DAGS)
In
hele
the CASUAL
DIRECTED
= each
edge
Direction
(Arrow)
Connected by
-AcyCUC
=
DID-D
We must
have :
and AFTER TREATMENT
-C
groups
Contra
GHOOD
Initially
, theU
TREATED
never receives
treatuat
WAGE/Employment
↓
assesing
Of
Card and Knuger
Metodology
Surveyed
and
Pennsylvania
FUU TIME LA30R In
d DID
FUU-TE equivalents
2 .
=
,
Fel in PENN
in N
↓as increased Minimum Nave
What would
in NJ WITHOUT
POULy
it
.
S
of
pouly
Treatm. EFFECT
=
Aft-NJBef)
= ( ,
,
,
= 0 .
= 2 ,
comeares NJ before usalter [
.
,
=
. 59
Chapter
7
Angryrist
Lowy's analysis
↓
om
ISRAEL STUDENTS
I
with
score
relationshie
between 2 VARIABLES
↓
location effect
= Large Classes
d
wealthier/
d
panzere/
big-cities
areas
Effect of CLASS SILES
negative
relationshie
. CLASS SILES
↓
on MATHS SCORES
I
↑
Classes
D include
&
Variables
=d
score-bo
3
↓
y
= bo
bex1 + ei
S
D
X causes
y
D
=
↓ DEPENDENT VARIABLE
if
we change
we
a DIFFERENT
Y
factors
are related to
~
yi
bruxz
git
bo ...
=
↓ are
sun of squale mesibutts
=(yi
y)
-d
&[yi-
(borbixi + baxz
+... )]
yi/Xi
= numbers
fin
= 1
y
il all
regressor
O
= D
change
is the value of I
-Decrease-student
o ,
↓ Disav = costant
M
=>
Cont
6