Hypothesis Test Assignment Help Help With Assignment

Published on March 2017 | Categories: Documents | Downloads: 69 | Comments: 0 | Views: 1029
of 4
Download PDF   Embed   Report

Comments

Content

 

 

Hypothesis Testing Hypothesis is making an assumption. In Statistics a Hypothesis or an assumption is taken first and then the Hypothesis is tested as how accurate it is or not. Hypothesis testing is a study s tudy based on statistical accuracy of an experiment. If the result is positive i.e. if the assumption is correct or approximate, then it is called Statistically Significant. There are two types of statistical hypotheses



Null Hypothesis: Denoted by H 0,

it is actually an assumption that the sample

observations are purely from chance.



Alternate

Hypothesis: Denoted by H1 or Ha, it assumes that the sample is influenced by a

non-random cause. When we test a hypothesis we proceed as follows: 1.  Formulate the null and alternative hypothesis. 2.  Level of significance has to be determined. 3.  The size of the sample has to be chosen. 4.  With the help of the table, determine if the z score s core falls within the acceptance acceptance region. 5.  Decide to a.  Reject the null hypothesis and accept the alternative hypothesis or b.  Fail to reject the null hypothesis and state that there is not enough evidence to support the alternative hypothesis. Statisticians follow a formal process to determine whether to accept or reject null-hypothesis, null-hypothesis, based on sample data. This process is called hypothesis testing and consists of four steps.

 

 

y  State the hypotheses: The first step involves stating the null and alternate hypotheses. hypotheses. The hypotheses hypotheses have to be stated in such a way that they are mutually exclusive.

y  Formulate an analysis plan: The analysis plan describes how to use sample data to evaluate the null hypothesis. This evaluation focuses around a single test statistic.



Analyze

sample data: data: Find the value of the test statistic (mean (mean score, proportion, t-

score, z-score, etc.) described in the analysis plan

y  Interpret results: Apply the decision rule described in the analysis plan. If the value of  the test statistic is unlikely, based on the t he null-hypothesis, reject the null hypothesis. Decision Errors. Two types of errors can result from a hypothesis test



Type I Error: A Type I Error occurs when the researcher rejects a null-hypothesis when it is actually true. The probability of committing a Type I error is called the significance level. This probability is called alpha and is often denoted by .

y  Type II Error: A Type II Error occurs when the researcher fails to reject a null-hypothesis when it is false. The probability of committing a Type II Error is called Beta and is often denoted by . Decision Rules The analysis plan includes decision rules for rejecting the null-hypothesis. In practice, statisticians describe describe these decision rules in two-ways with reference reference to a P-value or with reference referen ce to a region of acceptance.

y  P-value: The strength of of evidence in support of a null-hypothesis null-hypothesis is measured by the pvalue. Suppose the test statistic is equal to S. The P-value is the probability of observing a test statistic as extreme as S, assuming the null hypothesis is true. If the P-value is less than the significance level, we reject the null hypothesis.

y  Region of acceptance: The region of acceptance is a range of values. If the test statistic st atistic falls under the region of acceptance acceptance the null-hypothesis is not rejected. The region of  acceptance acceptanc e is defined so that the chance of making a Type I error is equal to the significance level.

y  The set of values outside the region of acceptance is called the region of rejection. If the test statistic falls under the region of rejection, the null-hypothesis is rejected. In such cases, we say that the hypothesis hypothesis has been rejected at the  level of significance.

 

 

Example Problems 1.  A newspaper article stated that students at a particular universi university ty spend an a n average of $95

on soft drinks. A student investigator investigator who believed this average was too hi high gh polled a random sample of 50 students and found that x = $92.25 and and s = $10. Use these results to test at a 5% significance significance level the statement stat ement made by the newspaper. Given: Q = $95 ?, n = 50, x = $92.25, s = $10.00, 5% significance H0

: Q = $95

H1

: Q < $95 (Shown to be 'too 'too high' only at lower end)

Significance level: 5%

1 .64 Critical value: Large sample, W unknown, z-table, 5%, 1 tail, 1.64 x

Test statistic: z !

92.25  95.00

 



s/ n

10 / 50

!

2.75 1.414

! 1.94  

statistic larger than critical value value so null hypothesis rejected. rejected. The mean Conclusion: Test statistic amount spent is less than $95. 2. 

Given: H0

A coin is suspected of being biased. It is tossed 200 times and 114 heads occur. Carry out a hypothesis test to see if the coin is indeed biased at 1% significance. significance. T

= 50%?,  p !

: T = 50%

114 200 H1

v 100 ! 57% , n = 200, 1% significance

: T { 50% (Shown to be be biased at either extreme)

Significance level: 1% Critical value: Large sample, proportion, z-table, 1%, 2 tail, 2.58 Test statistic: z !

 p  T T100  T 

n



57  50 50 v 50

!

7 3.5

! 1 .98  

200

Conclusion: Test statistic statistic less than critical critical value so null hypothesis not not rejected. The coin could  be fair.

3.

Eleven cartons of sugar, sugar, each nominally containing 1 Kgs Kgs,, were randomly selected from a llarge arge  batch of cartons. The weights of sugar they contained were:

 

 

1.02

1.05

1.08

1.03

1.00

1.06

1.08

1.01

1.04

1.07

1.00 Kgs

Does this support the hypothesis, at 5%, that t hat the mean weight for the who whole le batch is over  1.00 kg? Given: Q = 1.00 kg? From the sample: n = 11, x = 1.04 Kgs, s = 0.0303 lb, 5% si significance gnificance H0

: Q = 1.00 kg

H1

: Q > 1.00 kg (Shown to be 'over' only at higher end)

Significance level: 5% Critical value: Small sample, W unknown, t-table, 5%, 1 tail, 10 deg. of free., 1.81 Test statistic: t

!

x Q s/ n



1.04  1.00 0.0303 / 11

!

0.04 0.00914

!

4.38  

Conclusion: Test statistic statistic larger than critical value value so null hypothesis rejected. The mean w weight eight could be over 1.00 kg.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close