test of hypothesis

48
Test of Hypothesis Test of Hypothesis Hypothesis- Hypothesis is generally considered the most important instrument in research. Its main function is to suggest new functions and ideas. In social sciences where direct knowledge of population parameters is rare hypothesis testing is the often used for deciding whether sample data supports our purpose

Upload: vikramlawand

Post on 27-Jan-2015

25.943 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Test of hypothesis

Test of HypothesisTest of Hypothesis

• Hypothesis- Hypothesis is generally considered the most important instrument in research. Its main function is to suggest new functions and ideas. In social sciences where direct knowledge of population parameters is rare hypothesis testing is the often used for deciding whether sample data supports our purpose

Page 2: Test of hypothesis

WHAT IS A HYPOTHESISWHAT IS A HYPOTHESIS

• Generally hypothesis is considered as an assumption or a supposition which has to be proved or disproved.

• But for a researcher hypothesis is a formal question that he has to resolve

Page 3: Test of hypothesis

WHAT IS A HYPOTHESISWHAT IS A HYPOTHESIS

• A hypothesis may be defined as a proposition or a set of propositions set forth as an explanation for the occurrence of some specific group of phenomena . A research hypothesis is a predictive statement capable of being tested by scientific methods that relate an independent variable to some dependent variable

Page 4: Test of hypothesis

WHAT IS A HYPOTHESISWHAT IS A HYPOTHESIS

• Example

• The mileage of automobile A is as good as automobile b

• The customer loyalty of brand A is better than brand B.

• These hypotheses are capable of objectively verified and tested

Page 5: Test of hypothesis

Characteristics of a hypothesisCharacteristics of a hypothesis

• Hypothesis should be clear and precise

• Hypothesis should be capable of being tested

• Hypothesis should be able to relate to a variable.

Page 6: Test of hypothesis

Characteristics of a hypothesisCharacteristics of a hypothesis

• Hypothesis must be limited in scope and must be specific

• Hypothesis must be stated in very simple terms.

• Hypothesis must be consistent with most known facts

Page 7: Test of hypothesis

Characteristics of a hypothesisCharacteristics of a hypothesis

• Hypothesis must be testable within a reasonable time

• Hypothesis must explain the facts which most need explaining

Page 8: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

Null Hypothesis and alternative hypothesis

In statistical analysis if we want to compare method A with method B and if we proceed with the assumption that both methods are equally good then this assumption is termed as null hypothesis.

Page 9: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• As against this we may feel that method A is better than method B then we call it as alternative hypothesis

Page 10: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• Null Hypothesis is generally is termed as H0 and alternative hypothesis symbolized as Ha

Page 11: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• Suppose we want to test the hypothesis that the population mean µ is equivalent to hypnotized mean then µ0 = 100

• Then null hypothesis would be population mean is equal to hypothysed mean i.e

• Ho: µ= µHo = 100

Page 12: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• The null hypothesis, H0 represents a theory that has been put forward, either because it is believed to be true or because it is to be used as a basis for argument, but has not been proved.

Page 13: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• For example, in a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug. We would write H0: there is no difference between the two drugs on average.

Page 14: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• If our sample results do not support this then we assume something else is true. The alternative that we will accept is known as alternative hypothesis Ha

• Alternative Hypothesis would be

• Ho: µ ≠ µHo i.e population mean is not equal to hypothized mean

Page 15: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• The alternative hypothesis, Ha, is a statement of what a statistical hypothesis test is set up to establish

Page 16: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• For example, in a clinical trial of a new drug, the alternative hypothesis might be that the new drug has a different effect, on average, compared to that of the current drug. We would write Ha: the two drugs have different effects, on average..

Page 17: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• The alternative hypothesis might also be that the new drug is better, on average, than the current drug. In this case we would write Ha: the new drug is better than the current drug, on average

Page 18: Test of hypothesis

Basic concepts concerning Basic concepts concerning testing of hypothesistesting of hypothesis

• Ho: µ < µHo i.e population mean is greater than hypothized mean

• Ho: µ > µHo i.e population mean is lesser than hypothysed mean

• The null hypothesis and alternative hypothesis is chosen before the sample is drown

Page 19: Test of hypothesis

Following considerations are Following considerations are kept in viewkept in view

• The alternative hypothesis is one which one wants to prove

Page 20: Test of hypothesis

Following considerations are kept Following considerations are kept in viewin view

• We give special consideration to the null hypothesis. This is due to the fact that the null hypothesis relates to the statement being tested, whereas the alternative hypothesis relates to the statement to be accepted if / when the null is rejected.

Page 21: Test of hypothesis

Following considerations are kept Following considerations are kept in viewin view

• The final conclusion once the test has been carried out is always given in terms of the null hypothesis. We either 'reject H0 in favour of Ha' or 'do not reject H0'; we never conclude 'reject Ha', or even 'accept Ha'

Page 22: Test of hypothesis

Following considerations are kept Following considerations are kept in viewin view

• If we conclude 'do not reject H0', this does not necessarily mean that the null hypothesis is true, it only suggests that there is not sufficient evidence against H0 in favour of Ha; rejecting the null hypothesis then, suggests that the alternative hypothesis may be true.

Page 23: Test of hypothesis

Type I Error α errorType I Error α error

• In a hypothesis test, a type I error occurs when the null hypothesis is rejected when it is in fact true; that is, H0 is wrongly rejected.

Page 24: Test of hypothesis

Type I Error α errorType I Error α error

• For example, in a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug; that is H0: there is no difference between the two drugs on average. A type I error would occur if we concluded that the two drugs produced different effects when in fact there was no difference between them.

Page 25: Test of hypothesis

Type I Error α errorType I Error α error

• The following table gives a summary of possible results of any hypothesis test:

Page 26: Test of hypothesis

Type I Error α errorType I Error α error

Type II Error Right Decision

Ha

Right Decision

Type I ErrorH0Truth

Don't reject H0

Reject H0

Decision

Page 27: Test of hypothesis

Type I Error α errorType I Error α error

• A type I error is often considered to be more serious, and therefore more important to avoid, than a type II error. The hypothesis test procedure is therefore adjusted so that there is a guaranteed 'low' probability of rejecting the null hypothesis wrongly;

Page 28: Test of hypothesis

Type I Error α errorType I Error α error

• this probability is never 0. This probability of a type I error can be precisely computed as,

• P(type I error) = significance level = The exact probability of a type II error is generally unknown.

Page 29: Test of hypothesis

Type I Error α errorType I Error α error

• If we do not reject the null hypothesis, it may still be false (a type II error) as the sample may not be big enough to identify the falseness of the null hypothesis (especially if the truth is very close to hypothesis).

Page 30: Test of hypothesis

Type I Error α errorType I Error α error

• For any given set of data, type I and type II errors are inversely related; the smaller the risk of one, the higher the risk of the other.

• A type I error can also be referred to as an error of the first kind

Page 31: Test of hypothesis

Type II Error Type II Error β errorβ error

• In a hypothesis test, a type II error occurs when the null hypothesis H0, is not rejected when it is in fact false.

Page 32: Test of hypothesis

Type I Error α errorType I Error α error

• For example, in a clinical trial of a new drug, the null hypothesis might be that the new drug is no better, on average, than the current drug; that is H0: there is no difference between the two drugs on average.

Page 33: Test of hypothesis

Type I Error α errorType I Error α error

• A type II error would occur if it was concluded that the two drugs produced the same effect, that is, there is no difference between the two drugs on average, when in fact they produced different ones.

Page 34: Test of hypothesis

Type I Error α errorType I Error α error

• A type II error is frequently due to sample sizes being too small.

• The probability of a type II error is symbolised by and written:

• P(type II error) = (but is generally unknown).

• A type II error can also be referred to as an error of the second kind

Page 35: Test of hypothesis

Significance LevelSignificance Level

• The significance level of a statistical hypothesis test is a fixed probability of wrongly rejecting the null hypothesis H0, if it is in fact true.

Page 36: Test of hypothesis

Significance LevelSignificance Level

• It is the probability of a type I error and is set by the investigator in relation to the consequences of such an error. That is, we want to make the significance level as small as possible in order to protect the null hypothesis and to prevent, as far as possible, the investigator from inadvertently making false claims.

Page 37: Test of hypothesis

Significance LevelSignificance Level

• The significance level is usually denoted by Significance Level = P(type I error) = Usually, the significance level is chosen to be = 0.05 = 5%.

Page 38: Test of hypothesis

Significance LevelSignificance Level

• One-sided Test

• A one-sided test is a statistical hypothesis test in which the values for which we can reject the null hypothesis, H0 are located entirely in one tail of the probability distribution.

Page 39: Test of hypothesis

Significance LevelSignificance Level

• In other words, the critical region for a one-sided test is the set of values less than the critical value of the test, or the set of values greater than the critical value of the test.

• A one-sided test is also referred to as a one-tailed test of significance

Page 40: Test of hypothesis

Significance LevelSignificance Level

• The choice between a one-sided and a two-sided test is determined by the purpose of the investigation or prior reasons for using a one-sided test

Page 41: Test of hypothesis

Significance LevelSignificance Level

• Example

• Suppose we wanted to test a manufacturers claim that there are, on average, 50 matches in a box. We could set up the following hypotheses

• Ho:µ =50 as against

• Ha: µ <50 or

• Ha:µ >50

Page 42: Test of hypothesis

Significance LevelSignificance Level

• Either of these two alternative hypotheses would lead to a one-sided test. Presumably, we would want to test the null hypothesis against the first alternative hypothesis since it would be useful to know if there is likely to be less than 50 matches, on average, in a box (no one would complain if they get the correct number of matches in a box or more).

Page 43: Test of hypothesis

Significance LevelSignificance Level

• Yet another alternative hypothesis could be tested against the same null, leading this time to a two-sided test:

• Ho:µ =50 as against

• Ha: µ ≠ 50

Page 44: Test of hypothesis

Significance LevelSignificance Level

• That is, nothing specific can be said about the average number of matches in a box; only that, if we could reject the null hypothesis in our test, we would know that the average number of matches in a box is likely to be less than or greater than 50.

Page 45: Test of hypothesis

Two-Sided TestTwo-Sided Test

• A two-sided test is a statistical hypothesis test in which the values for which we can reject the null hypothesis, H0 are located in both tails of the probability distribution.

Page 46: Test of hypothesis

Two-Sided TestTwo-Sided Test

• In other words, the critical region for a two-sided test is the set of values less than a first critical value of the test and the set of values greater than a second critical value of the test

• A two-sided test is also referred to as a two-tailed test of significance.

Page 47: Test of hypothesis

Two-Sided TestTwo-Sided Test

• The choice between a one-sided test and a two-sided test is determined by the purpose of the investigation or prior reasons for using a one-sided test.

Page 48: Test of hypothesis

• Thank you