Docsity

Probability and Statistics, Summaries of Probability and Statistics

Partial preview of the text

Download Probability and Statistics and more Summaries Probability and Statistics in PDF only on Docsity!

Notations

Population parameters

Population mean (μ) Population standard deviation (σ) Population size (N) Population proportion (P)

Sample statistic

Sample mean (¯x) Sample standard deviation (s) Sample size (n) Sample proportion (p)

Hypothesis Testing

Statistical hypothesis

is a statement or a claim about one or more population parameters

An hypothesis to be tested or to answer a question - Alternative hypothesis (H 1 or Ha) An hypothesis of no difference, opposes H 1 - Null hypothesis (H 0 )

Example

Suppose we test for population mean. Then Null Hypothesis H 0 : μ = μ 0 Alt Hypothesis H 1 : μ 6 = μ 0 or μ > μ 0 or μ < μ 0 If μ 6 = μ 0 , then the test is called Two-tailed. If μ > μ 0 , then it is called Right tailed test. If μ < μ 0 , then it is called Left tailed test.

Steps involved in Hypothesis testing

Formulate Null and Alternate hypothesis Identify the level of significance Test statistic Critical (or) Rejection region Conclusion If n ≥ 30 =⇒ Large sample If n < 30 =⇒ Small sample

Table corresponding to critical values

Test LOS 1% (0.01) 5% (0.05) 10% (0.1) Two tailed |Z α 2 | = 2. 58 |Z α 2 | = 1. 96 |Z α 2 | = 1. 645 Right tailed Zα = 2. 33 Zα = 1. 645 Zα = 1. 28 Left tailed Zα = − 2. 33 Zα = − 1. 645 Zα = − 1. 28

Problems on single proportion

  1. 40 people were attacked by a disease and only 36 survived. At 5% LOS, test whether the survival rate attacked by this disease is more than 85 %.

Solution:

Let x denotes the number of people survived after getting attacked by a disease. Here x = 36, n = 40 sample proportion p = xn = 3640 = 0. 9 1: H 0 : P = 0.85 against H 1 : P > 0 .85 (Right tailed test) 2: Level of significance α = 0. 05 3: Test Statistic: Consider the conditions nP = 40 × 0 .85 = 34 > 5 , n(1 − P) = 40 × 0 .15 = 6 > 5

Problems

Solution contd:

Hence, Z = p − P √ PQ n

  1. 85 × 0. 15 40 = 0. 8856 Note that Z follows standard normal distribution. 4: Critical region: Zα = 1.65. The critical region is Z > 1 .65 Since Cal Z = 0.8856 lies in the acceptance region, we accept H 0 (or fail to reject H 0 ) 5: Conclusion: There is no statistical evidence to prove that more than 85% of the people are attacked by a disease and survived.

Problems

  1. In a random sample of 100 men taken from Village A, 60 were found to be consuming alcohol. In another sample of 200 men taken from Village B, 100 were found to be consuming alcohol. Do the two villages differ significantly in respect to the proportion of men who consume alcohol?

Solution:

Let x 1 , x 2 denotes the number of men consuming alcohol from Village A and B resptly. Here x 1 = 60, n 1 = 100, x 2 = 100, n 2 = 200 sample proportion p 1 = (^) nx^11 = 10060 = 0. 6 , p 2 = 100200 = 0. 5 1: H 0 : P 1 − P 2 = 0 against H 1 : P 1 − P 2 6 = 0 (Two tailed test) 2: Level of significance α = 0. 05 3: Test Statistic: Consider the conditions n 1 p 1 = 100 × 0 .6 = 60 > 5 , n 1 q 1 = 40 > 5 , n 2 p 2 = 100 > 5 , n 2 q 2 = 100 > 5

Problems

Solution contd:

Hence,

P = n 1 p 1 + n 2 p 2 n 1 + n 2

100 × 0 .6 + 200 × 0. 5

Z =

(p 1 − p 2 ) − (P 1 − P 2 ) √ PQ( (^) n^11 + (^) n^12 )

0. 533 × 0 .467( 1001 + 2001 )

Note that Z follows standard normal distribution.

Test of single mean

Conditions

If Population standard deviation is known, proceed with z-test. If Population standard deviation is not known, then proceed with z-test if it is a large sample (n ≥ 30). If small sample, proceed with t-test (We will study in Module 6).

Test of single mean

Null Hyp H 0 : μ = μ 0

Test statistic :

Z =

¯x − μ √^ σ n follows Standard normal distribution Standard error = √σn 95% confidence limits for the mean are

(¯x − 1. 96

σ √ n , x¯ + 1. 96

σ √ n

Problems

  1. The mean lifetime of a sample of 100 tube lights produced by a company is found to be 1580 hours with standard deviation of 90 hours. Test the hypothesis at 1% LOS, that the mean life time of the tubes produced by the company is 1600 hours.

Solution:

n = 100, x¯ = 1580, s = 90 1: H 0 : μ = 1600 against H 1 : μ 6 = 1600 (Two tailed test) 2: Level of significance α = 0. 01 3: Test Statistic: Since n ≥ 30 , Z follows standard normal distribution.

Z =

x¯ − μ √^ σ n

Problems

Solution contd:

4: Critical region: Since it is a two tailed test , the critical value is Z α 2 = 2. 58 The critical region is |Z | ≥ 2 .58. Note that Cal Z = − 2. 22 ≥ − 2 .58, we accept H 0 5: Conclusion: We conclude that the mean life time of the tubes produced by the company is 1600 hours.

Problems

  1. Intelligence test given to two groups of boys and girls gave the following information:

Mean score SD Number Girls 75 10 50 Boys 70 12 100

Is the difference in the mean scores of boys and girls statistically significant?

Solution:

Here ¯x 1 = 75, x¯ 2 = 70, s 1 = 10, s 2 = 12, n 1 = 50, n 2 = 100. 1: H 0 : μ 1 − μ 2 = 0 against H 1 : μ 1 − μ 2 6 = 0 (Two tailed test) 2: Level of significance α = 0. 05

Problems

Solution contd:

3: Test Statistic: Since n 1 , n 2 ≥ 30, we proceed with Z -test.

Z =

( ¯x 1 − x¯ 2 ) − (μ 1 − μ 2 ) √ σ^21 n 1 +^

σ 22 n 2

4: Critical region: Since it is a two tailed test , Z α 2 = 1.96. The critical region is |Z | ≥ 1. 96 Note that Cal Z = 2. 6958 ≥ 1 .96, we reject H 0 5: Conclusion: We conclude that the difference in the mean score of boys and girls is statistically significant.