TRACTICAL
STATIS TIes foe BSMESS LCoNoMCS-Z
4. Random Samipk (Sinple, slratfed, aysterate)
a) se Fendbitween for a0
all the yalas. Couat the [Link]
Pericic
’Random
Both (a) &(6) ane with
replacenent.
Centel imit Theotem
mean
Srand() naminv (rand(), lo, 3)
Sandbetueenl)
diffenet sizes.
hak ho to co samplig without nplacemeny?
One poþulaton - Find mean &vaniance
Draw (o0 samples.- find thein & VariaHce
mean
2sd wsig populaton fermlae stde b, anþ.
This ll give Bame meen bl biaud Van/sd.
The se wnll
give wnbiased f values.
2
Var. ne 2(:-1)
Va - s2 2(-)
2(x;
Bias
Conssten Blmalor s he vale ofn Tes, the
value of the slatstie atproaches claser lcloser a
Rand() * 20 Non intbyer valas blo & 2o,
INT(Ut RAN
Ranx)"22) ’ Convntiy into intiger
Take Samtleu of diffnut sizu: 5, o, 24 ro, fo
lak
max of cach
You will that as Sa-fl Si ze 7es, max vale
clo to the a ctual max ’ onsitent.
Since Value= actual etnata
hax Biased
MoM!
kst'mator ill be tnbased
mlpee $amples.
Can Ceale a dsti but
Nornal Disbubulon lke tis?
98. This incledes shouing the aule fen diferent
Do this fe Sanple tetal alo.
E(T)
Samble su
n
V(T) = n
(onfidence Iiterual
Excel: Confi ctente.
Canfdente.t (for t)
Gerehates tha mngin f e e a o r l mean ie.
S.e S.e.
þ-vale nam.S. Lnv
P:
Chi Squared Disbibuti
N
Take a Std Nmel diiaibube z
Take 2 std homel dist nS
Take z z . Add. zt z with df.:2
2 2 2 2.
wth df k
Convent s% hetmel
normal disl" to a s dt
Cheste a hormall ditibilon nom in v(und (), men, sd)
Convension stndndize ( mean, Sd)
P3. F- dist^ :
fd Finit fapulaton
NL)
Nn