Docsity

Midterm 2 Formula Sheet - Elementary Statistics | STA 013, Study notes of Statistics

Toggle sidebar
bg1
STA 13 Midterm 2 Formula Sheet
For a sample:
mean: ¯x=Pn
i=1 xi
n; variance: s2=Pn
i=1(xi−¯x)2
n−1=Pn
i=1 x2
i−
(Pn
i=1 xi)2
n
n−1; standard deviation: s=√s2
interquartile range (IQR): QU−QL
For a discrete random variable:
mean: µ=E(x) = Pxp(x); variance: σ2=E[(x−µ)2] = P(x−µ)2p(x) = Px2p(x)−µ2
standard deviation: σ=√σ2
Binomial Probability Distribution with parameter nand p:
p(x) = µn
xpxqn−x,(x= 0,1,2, . . . , n)
where q= 1 −pand µn
x=n!
x!(n−x)! . Mean µ=np, and variance σ2=npq.
Normal Distribution N(µ, σ2):f(x) = 1
σ√2πe−(1/2)[(x−µ)/σ]2
Mean µand Standard deviation σ.z=x−µ
σhas a standard normal distribution.
Sampling Distribution of ¯
X:mean µ, and variance σ2/n
100(1 −α)% Confidence Interval for µ:
Large sample: ¯x±zα/2σ
√n; ¯x±zα/2s
√n
Small sample: ¯x±tα/2s
√n, where tα/2is based on (n−1) degree of freedom.
100(1 −α)% Confidence Interval for p:
Large sample: ˆp±zα/2ppq
n≈ˆp±zα/2qˆpˆq
n, where ˆp=x
n.
Adjusted Confidence Interval for p: ˜p±zα/2q˜p˜q
n+4 , where ˜p=x+2
n+4 .
Determination of Sample Size for 100(1 −α)% Confidence Interval:
For µ:n=¡zα/2σ
SE ¢2; For p:n=³zα/2√pq
SE ´2, where SE is sampling error.
Test of Hypothesis about µ(or p):
Large Sample: test statistic z=¯x−µ0
σ/√n; (or z=ˆp−p0
√p0q0/n )
Small Sample: test statistic t=¯x−µ0
s/√n
Sign Test for a Population Median η: test statistic: z=(S−0.5)−0.5n
0.5√n.
one-tailed: S=]of sample measurements greater (or less) than η0(depends on the hypothesis)
two-tailed: S= max(S1, S2), S1=]of measurements less than η0and S2=]of measurements greater
than η0.
1

Partial preview of the text

Download Midterm 2 Formula Sheet - Elementary Statistics | STA 013 and more Study notes Statistics in PDF only on Docsity!

STA 13 Midterm 2 Formula Sheet

For a sample: mean: ¯x =

∑ni=1 xi n ; variance:^ s^2 =

∑ni=1(xi−¯x) 2 n− 1 =

∑ni=1 x (^2) i − (∑ni=1 n xi)^2 n− 1 ; standard deviation:^ s^ =^

s^2 interquartile range (IQR): QU − QL

For a discrete random variable: mean: μ = E(x) = ∑^ xp(x); variance: σ^2 = E[(x − μ)^2 ] = ∑(x − μ)^2 p(x) = ∑^ x^2 p(x) − μ^2 standard deviation: σ = √σ^2

Binomial Probability Distribution with parameter n and p: p(x) =

(n x

pxqn−x, (x = 0, 1 , 2 ,... , n)

where q = 1 − p and

(n x

= (^) x!(nn−!x)!. Mean μ = np, and variance σ^2 = npq.

Normal Distribution N (μ, σ^2 ): f (x) = (^) σ√^12 π e−(1/2)[(x−μ)/σ]^2 Mean μ and Standard deviation σ. z = x−σμ has a standard normal distribution.

Sampling Distribution of X¯: mean μ, and variance σ^2 /n

100(1 − α)% Confidence Interval for μ: Large sample: ¯x ± zα/ 2 √σn ; ¯x ± zα/ 2 √sn Small sample: ¯x ± tα/ 2 √sn , where tα/ 2 is based on (n − 1) degree of freedom.

100(1 − α)% Confidence Interval for p: Large sample: ˆp ± zα/ 2 √^ pqn ≈ pˆ ± zα/ 2

√ (^) pˆqˆ n , where ˆp^ =^ nx. Adjusted Confidence Interval for p: ˜p ± zα/ 2

√ (^) p˜q˜ n+4 , where ˜p^ =^ x n+2+.

Determination of Sample Size for 100(1 − α)% Confidence Interval: For μ: n = (^ zα/SE^2 σ^ )^2 ; For p: n =

( (^) zα/ 2 √pq SE

, where SE is sampling error.

Test of Hypothesis about μ (or p): Large Sample: test statistic z = (^) σ/¯x−√μ^0 n ; (or z = √pˆp− 0 qp 00 /n ) Small Sample: test statistic t = ¯x s/−√μn^0

Sign Test for a Population Median η: test statistic: z = (S− 00 ..5) 5 √−n^0.^5 n. one-tailed: S = ] of sample measurements greater (or less) than η 0 (depends on the hypothesis) two-tailed: S = max(S 1 , S 2 ), S 1 = ] of measurements less than η 0 and S 2 = ] of measurements greater than η 0.

1