Shuru karne se pehle, ek picture jo neeche ke har problem mein kaam aati hai. Figure s01 ek confidence interval ki anatomy dikhata hai: coral line center mein point estimate xˉ mark karti hai; lavender bar pura interval hai; aur do mint arrows mein se har ek interval ki half-width hai, yaani margin of error (iska symbol theek neeche define kiya gaya hai). Ise yun samjho: "interval xˉ hai jisme dono taraf ek symmetric cushion hai." Neeche ke har solution mein exactly yahi picture banti ya padhi jaati hai.
Critical values jo chahiye honge (top row yaad karo):
Kya decide karta hai: do sawaal — kya σ known hai, aur kya n bada hai (≥30)?
Yahan σunknown hai aur n=12<30, isliye hume ==t-distribution== use karni hogi. Iske heavier tails σ ki jagah s use karne ki extra uncertainty ka bhugtan karte hain.
Degrees of freedom =n−1=12−1=11.
Recall Solution L1·Q2
(a) Point estimate interval ka center hai (Figure s01 mein coral line):
xˉ=20.804+0.936=0.870.(b) Margin of errorE half-width hai — ek mint arrow ki length, center se kisi bhi end tak ki doori:
E=20.936−0.804=0.066.
Recall Solution L1·Q3
99% confidence ka matlab α=1−0.99=0.01. Us bacha hua probability ko dono tails mein equally split karte hain, toh har tail mein α/2=0.005 aata hai. Upar wale 0.5% tail ko cut off karne wala value hai
z0.005=2.576.
Agar α/2 ki jagah α use karte to sirf ek side guard hoti aur net doosri taraf se leak ho jaata.
Step 1 — standard error SE (sample mean ka spread):
SE=nσ=644.0=84.0=0.5.Step 2 — margin of error E (z0.025=1.96):
E=1.96×0.5=0.98.Step 3 — interval (xˉ±E, exactly s01 picture):
50.0±0.98=[49.02,50.98].
Recall Solution L2·Q2
Step 0 — check karo ki approximation valid hai. Proportion ke liye normal approximation ko kaafi "successes" aur "failures" chahiye. Common rule of thumb hai np^≥10aurn(1−p^)≥10 (ek looser version ≥5 use karta hai):
np^=200×0.72=144≥10,n(1−p^)=200×0.28=56≥10.
Dono comfortably bar clear kar lete hain, toh normal approximation safe hai. (Agar koi bhi 5–10 se neeche hota — jaise koi rare event — toh hum exact binomial ya Wilson interval use karte.)
Step 1 — point estimate:p^=200144=0.72.Step 2 — standard error SE proportion ke liye (binomial variance p(1−p)/n):
SE=np^(1−p^)=2000.72×0.28=0.001008=0.03175.Step 3 — margin E:E=1.96×0.03175=0.06222.
CI95%=0.72±0.0622=[0.6578,0.7822].
Recall Solution L2·Q3
n=7, toh df=6; σ unknown hai aur n<30⇒t use karo.
SE=ns=70.07=2.64580.07=0.02646.E=2.447×0.02646=0.06474.CI95%=0.50±0.0647=[0.4353,0.5647].
Margin ki definition se shuru karo aur n ko step by step isolate karo.
Step 1 — jo pata hai woh likho:E=zα/2⋅nσ.Step 2 — n ko upar lao.ndenominator mein n ke andar chhupa hai, toh pehle dono sides ko n se multiply karo aur dono sides ko E se divide karo taaki n ek taraf akela aa jaye:
n=Ezα/2σ.Step 3 — square root hatao. Unknown abhi bhi ke neeche fansa hai, aur "square root" ka inverse "square" hai, toh dono sides ko square karo (square karna yahan legal hai kyunki har quantity — z, σ, E, n — positive hai):
n=(Ezα/2σ)2.Step 4 — numbers daalo:n=(0.51.96×4.0)2=(15.68)2=245.86.
Hamesha round up karo (fractional person exist nahi karta aur neeche round karne se target miss ho jaata hai):
n=246.
Recall Solution L3·Q2
Width ∝1/n hai. Width aadhi karne ke liye chahiye nnew=2nold, yaani
nnew=4nold=4×100=400.Sabak: precision mehengi hoti hai — error aadhi karne mein 4× zyada data lagta hai. Figure s02 ise concrete banata hai: yeh interval width ko n ke against plot karta hai. Curve 1/n ki tarah girta hai, aur do marked dots (n=100 coral mein, n=400 mint mein) ek doosre ki exactly aadhi height par hain — sirf aadha neeche aane ke liye tum chart par chaar guna daayein jaate ho.
Recall Solution L3·Q3
Independent estimates ka difference → variances add hote hain:
SEdiff=SEA2+SEB2=0.0202+0.0182=0.000724=0.02691.CI95%=(0.87−0.82)±1.96×0.02691=0.05±0.05274=[−0.0027,0.1027].
Interval 0 ko include karta hai, toh hum yeh conclude nahi kar sakte ki B sach mein better hai — matched view ke liye dekho Hypothesis Testing aur A/B Testing.
Mean:xˉ=(10+12+11+13+14)/5=60/5=12.
Deviations aur squares:(−2)2,(0)2,(−1)2,(1)2,(2)2=4,0,1,1,4; sum =10.
Sample variance (Bessel n−1=4): s2=10/4=2.5, toh s=1.5811.
Standard error:SE=s/5=1.5811/2.2361=0.7071.
Margin:E=t0.05,4×SE=2.132×0.7071=1.5075.
Interval — center xˉ=12, dono taraf cushion E=1.5075:
CI90%=12±1.5075=[12−1.5075,12+1.5075]=[10.492,13.508].
Recall Solution L4·Q2
t-interval approximate normality maanta hai (ya bada n taaki CLT smooth kare); n=8 ke saath, skew aur outlier dono ko violate karte hain, toh interval mis-centred aur mis-sized hoga. Safer choice hai ek percentile bootstrap interval — 8 scores ko replacement ke saath hazaron baar resample karo aur 5th/95th percentiles padho (dekho Bootstrap Methods aur Cross-validation).
Recall Solution L4·Q3
Ek baar compute ho jaane ke baad interval [10.49,13.51] fixed ho jaata hai aur μ ek fixed (unknown) constant hai — true mean ya toh usme hai ya nahi, probability bacha hi nahi. 90% procedure describe karta hai: agar hum yeh sampling-and-interval recipe baar baar repeat karein, toh lagbhag 90% resulting intervals μ ko contain karenge.
Planning (expected 0.20 use karo). Proportion SE deta hai
n=E2zα/22p(1−p)=0.0121.962×0.20×0.80=0.00013.8416×0.16=6146.56⇒6147.Observed CI with p^=0.22, n=6147 (quick validity check: np^=1352≥10, n(1−p^)=4795≥10, toh normal approximation theek hai):
SE=61470.22×0.78=2.7916×10−5=0.005284,CI95%=0.22±1.96×0.005284=0.22±0.01036=[0.2096,0.2304].
Realised margin (±1.04%) target se thoda zyada hai kyunki observed p^=0.22 ka variance planned 0.20 se zyada hai — ek sabak: jab sure na ho toh most conservative p (=0.5) se plan karo.
Recall Solution L5·Q2
Frequentist net:interval random hai, μ ek fixed machhli hai; 95% nets jo hum phainkein unhe pakad leti hain, lekin koi ek net ya toh pakadti hai ya nahi. Bayesian pond:μ ko random treat kiya jaata hai ek probability distribution ke saath; 95% credible interval genuinely us posterior probability ka 95% hold karta hai, toh "95% probability hai ki μ andar hai" wahan legitimate hai. Coincidence: flat (uninformative) prior aur bade n ke saath, posterior likelihood se dominate hota hai aur dono intervals numerically almost identical ho jaate hain.
Recall Solution L5·Q3
Red flags:
n=4 bahut tiny hai. Critical value hai t0.025,3=3.182 (jo z=1.96 se kaafi upar hai), jo akela net ko bahut wide bana deta hai — study badly under-powered hai.
σ unknown aur data non-normal.t-interval approximate normality par depend karta hai (ya bade n par via CLT); n=4 aur skew ke saath, dono nahi milte, toh interval dono mis-centred aur mis-sized hai.
CI mein 0 hai. Kyunki [−2,8] zero ko straddle karta hai, effect statistically "no effect" se distinguishable nahi hai — tum real effect ka claim nahi kar sakte.
Sirf point estimate "3.0" report karna. Crisp center quote karna chhupa deta hai ki honest interval [−2,8] tak failta hai, jo ek badi range hai; yeh false precision hai (L3-style "wide interval is honest" ka sabak).
Kya karein: zyada data collect karo — L3·Q2 se yaad karo ki width aadhi karne ke liye 4× sample chahiye; non-normality ki wajah se bootstrap percentile interval use karo; interval ko ek formal hypothesis test se back up karo ki effect 0 se alag hai ya nahi; aur hamesha full interval report karo, kabhi sirf point estimate nahi.