Hypothesis Testing


Hypothesis Testing

Show/Hide 👉 Click Here




Null and Alternative Hypothesis

Show/Hide 👉 Click Here




One Tailed and Two Tailed Hypothesis

Show/Hide 👉 Click Here




Level of Significance and Type of Error

Show/Hide 👉 Click Here




Critical Value and Critical Region

Show/Hide 👉 Click Here




P-value

Show/Hide 👉 Click Here




Steps of Testing Hypothesis

Show/Hide 👉 Click Here




Test for Mean

Show/Hide 👉 Click Here




Exercise: One sample mean

  1. A random sample of 10 boys had following mathematics score in full marks 150.
    Score: 70, 120, 110, 101, 88, 83, 95, 98, 107,100.
    Do these data support the assumption of a population mean score of 100? Test the hypothesis at 0.05 level of significance.
  2. A random sample of 100 recorded deaths in a certain hospital during the past year showed an average life span of 71.8 years with a standard deviation of 8.9 years. Does this seem to indicate that the average life span today is less than 75 years? Test the hypothesis at 0.05 level of significance.
  3. Given a random sample of size 25 from a normal population with variance 256 has mean 48.Test hypothesis that \( \mu=45\) against \( \mu < 45\) at 0.01 against at level of significance.
  4. Suppose, 100 tires made by certain manufacturer lasted on the average 21819 miles with a standard deviation of 1295 miles. Test null hypothesis \( \mu = 22000\) miles against alternative hypothesis \( \mu < 22000\) miles 0.05 at level of significance.
  5. It is known from experience that standard deviation of weight of 8-gm packages of cookies made by a certain bakery company is 0.16 gm. To check whether the production is under control in a day, employees selected a random sample of 25 packages and found their mean weight is 8.091 mg, test the null hypothesis at 0.01 level of significance.
  6. The specifications for a certain kinds of food package is 185 pounds. If 5 pieces randomly selected have weights 190 pounds, test null hypothesis at 0.05 level of significance.
  7. A manufacturer of sports equipment has developed a new synthetic fishing line that they claims has a mean breaking strength of 8 kg with standard deviation of 0.5kg. Test the hypothesis \( \mu = 8\) against \( \mu > 22000\) if a random sample of 50 lines is tested and found mean breaking strength of 8.2 kilograms. Use 0.01 level of significance.
  8. It is known that average student expenses per month in KTM is 10000 with SD 2000. A random sample of 15 students has mean expenses of 12000. Test the hypothesis at 5% level that the expenses these in KTM has increased.
  9. A sample of 900 hair clip has a mean 3.4 cm and standard deviation 2.61 cm. Is the sample from a large population of mean 3.25cm? Test the hypothesis at 95% confidence level.
  10. The mean weekly sales of a soap in a departmental was 146.3 bars per store. After an advertising campaign the mean weekly sales in 22 stores for a typical week increased to 153.7 bars and showed a standard deviation of 17.2. Was the advertising campaign successful? Test the hypothesis at 0.05 level of significance.
  11. A simple random sample of 10 people from a certain population has a mean age 27. Can we conclude that the mean age of the population is less that 30? The population variance is known to be 20. Use = 0.05.
  12. A manufacturer claim that, mean breaking strength of safety belts for air passenger produced in its factory is 1275 kg. A sample of 100 belts was tested and the mean breaking strength and SD were found to be 1258 and 90 kg respectively. Test the claim at 5% level of significance.
  13. The guaranteed average life of a certain kind of electric bulb is 1000hrs with SD 125 hrs. Test this assumption if a random sample of 50 bulbs has average burning 1100hrs at 1% level of significance.
  14. A teacher measured length of 25 pieces of desk that were in a classroom. The resulting data were (in cm):
    170, 167, 174, 179, 179, 183, 179, 174, 179, 170, 156, 163, 156, 187,
    156, 156, 187, 179, 183, 174, 187, 167, 159 ,170, 179
    Test the hypothesis whether average length of the desk are greater than 170 at 0.05 level of significance.
  15. A sample of 25 girls at M. Ed has a mean age 25 years and standard deviation 3 years. Is the sample show that girls are from large population of mean 23 years? Test the hypothesis at 95% confidence level.
  16. An IQ test was given to large group of M. Ed students, who scored an average of 62.5 marks with SD 10. The same test was given to 100 fresh M.ED students, who scored an average of 64.5 with SD 12.5. Can we conclude at 5% level that fresh students have better IQ?
  17. In a secondary level school examination in mathematics, the mean grade of 32 boys was 72 with sd of 8, while the mean grade of 3 girls was 75 with sd of 6. Test the hypothesis at 0.01 level of significance that the girls are better in mathematics than the boys
  18. The mayer of Kathmandu city claimed that the average income of families living in Kathmandu is at least Rs 300000 in a year. A random sample of 100 families selected from Kathmandu produce a mean of 288000 with standard deviation of Rs 80000. Use 5% level of significance, can you conclude that the mayer's claim is true?



Exercise: Two sample mean

  1. In a survey of buying habits, 400 women shoppers are chosen at random in supermarket A. Their average weekly food expenditure is Rs 250 with a standard deviation of Rs 40. Another 400 women shoppers are chosen at random in supermarket B. Their average weekly food expenditure is Rs 220 with a standard deviation of Rs 55. Test at 1% level of significance whether the average weekly food expenditures for two population shoppers are equal.
    Solution
    Given that
    \(n_1=400, \bar{X}=250, s_1=40, n_2=400, \bar{X}=220, s_1=55,\alpha=0.01\)
    1. \(H_0: \mu_1 =\mu 2\)
      \(H_1: \mu_1 \ne \mu 2\)
    2. \( \alpha =0.01\)
    3. Population variance is unknown, sample size is large, so use z-statistic
    4. \(z_{\alpha /2} = z_{0.005}=2.57\)
    5. \(Z= \frac{\bar{X_1}-\bar{X_2}}{\sqrt{\frac{s_1^2}{n_1}+ \frac{s_2^2}{n_2}}}=8.82 \)
    6. \(H_o\) is rejected, so we claim that \(\mu_1 \ne \mu 2\)
      It shoes that, the average weekly food expenditures for two population shoppers are NOT equal.
  2. The mean of two samples of 100 and 200 items are 170 and 169 respectively. Can we conclude that the samples are drawn from same population with SD 10? Use 5% level of significance. [z=0.81, p=0.41]
  3. The mean and standard deviation of a sample of size 16 are 250 and 40 respectively. Those of another sample of size 24 are 220 and 55. Test at 1% level of significance whether the means of the two populations from which the samples have been drawn are equal. [t=1.995, p=0.053]
  4. A sample of 10 bulbs of brand A gave mean lifetime 1200h with SD 70h. Another 12 sample of brand B gave mean lifetime 1150h with SD 85h. Can we conclude at 5% that brand A bulbs are superior?
  5. Two samples drawn from two different populations gave following results.
    size mean SD
    Sample 1 100 582 24
    Sample 2 100 540 28
    Test the hypothesis at 1% if the mean difference is 35?
  6. Below are given the gain in weights (in kg) of pigs fed on two diets A and B. Test the hypothesis that if the two diets differ significantly as regard their effects on increase the weight at 0.05 level of significance.
    Diet A: 25,32,30,34,24,14,32,24,30,31,35,25
    Diet B: 44,34,22,10,47,31,40,30,32,35,18,21,35,29,22
  7. The height of 6 randomly chosen boy students is (in inches) are
    63, 65, 68, 69, 71, 72
    Those of 10 randomly chosen girl students are
    61, 62, 65, 66, 69, 69, 70, 71, 72, 73
    Discuss if the data suggest that boy students are on the average are taller than girl students. Use 0.05 level of significance.
  8. Test the hypothesis, if, in general, that smokers have greater lung damage than do non-smokers bases on following data samples, which are independent from normally distributed populations with equal variances.
    Sample size mean variance
    smokers \(n_1=16\) \(\bar{X_1}=17.5\) \(s_1^2=4.47\)
    non-smokers \(n_2=9\) \(\bar{X_2}=12.4\) \(s_2^2=4.84\)
  9. It is claimed that resistance of electric wire can be reduced by at least 0.05 ohm by allowing. To test the claim, 25 values obtained for each alloyed wire and standard wire produced the following results.
    Mean resistance Standard deviation
    Standard wire 0.136ohm 0.002ohm
    Alloyed wire 0.083ohm 0.003ohm
    Test at 5% level whether the claim is sustained.
  10. A mathematics test was given to two groups consisting of 40 and 50 students. In the first group, the mean mark was 74 with a standard deviation 8. In the second group, the mean mark was 78 with a standard deviation 7. Is there a significance difference between the performances of the two groups at 0.05 level of significance?
  11. In a certain experimentation to compare two types of animal food A and B, below are given the gain in weights (in kg)
    Diet A: 49,53,51,52,47,50,52,53
    Diet B : 52,55,52,,53,50,54,,54,53
    Assuming that two samples of animals are independent, can we conclude that food B is better than food A? Test the hypothesis at 0.05 level of significance.
  12. We meant to compare two kinds of electric bulbs based on the following burning times:
    Brand A :14.9 ,11.3, 13.2, 16.6, 17.0, 14.1, 15.4, 13.0, 16.9
    Brand B :15.2 ,19.8, 14.7, 18.3, 16.2, 21.2, 18.9, 12.2, 15.3, 19.4
    Test at 0.05 level of significance whether the average burning time of Brand A is less than that of Brand B.
  13. A psychological study was conducted to compare the reaction times of men and women to a certain stimulus. Independent random samples of 50 men and 50 women were employed in an experiment. The mean reaction time for men was 3.6 second with a variance of 0.18, while the mean reaction time for women was 3.8 seconds with a variance of 0.14. Is there a significance difference between the mean reaction times of men and women at 0.05 level of significance?
  14. The followings are the mileage per gallon obtained from two kinds of gasoline.
    Gasoline A: 17, 17.8, 15.2, 16.8, 18.4, 16.2, 18.3, 18.1, 14.3
    Gasoline B: 18.6, 18.8, 17.1, 19.5, 17.6, 19, 15.7, 19.8, 17.5, 18
    Test at 0.05 level of significance that the average mileage of gasoline A is less than that of the gasoline B.
  15. Two groups each made up 16 students, were match for teaching mathematics based on IQs. The discovery method was used in experimental group and conventional method was used in control. At the end of semester, the same test was given to two groups. The result was found as follows:
    \(s_1^2=64,n_1=16, \bar{X_1}=46\): experimental group
    \(s_2^2=49,n_2=16, \bar{X_2}=42\): control group
    Is there a significant mean difference between the mean achievements of two groups at 0.05 level of significance?
  16. An educator wishes to determine whether any significant gain in knowledge of mathematics has occurred for a group of 100 pupils following a special summer outdoor programme. He administers a pre-test and a post-test covering subject matter before and after the summer programme. The result was found as follows:
    \(s_1^2=64,n_1=100, \bar{X_1}=46\): post-test
    \(s_2^2=49,n_2=100, \bar{X_2}=42\): pre-test
    Is there a significant mean difference between post-test and pre-test result at 0.01 level of significance?
  17. Samples of two types of electric lights bulbs were tested for length of life and following data were obtained. Is the difference in means sufficient to warrant that type I is superior to type II regarding length of life? Test the hypothesis at 0.05 level of significance.
    Sample Type I Type II
    Size \( n_1=8\) \( n_2=7\)
    Mean \( \bar{X_1}=1234\) \( \bar{X_2}=1036\)
    SD \( s_1=36\) \( s_2=40\)

No comments:

Post a Comment