Sei sulla pagina 1di 29

Hypothesis Testing

CRC Hospital Taiping

Pasar A The price of a chicken at Pasar A is much more cheaper than Pasar B

Pasar B

RM 8.00

RM 12.00

This is what we call

INFERENCIAL STATISTICS

Inferential
Attempting to make a generalisation from the sample data to the study population

How do we do the inferential statistics?

Step by step to analyze the data

Method/procedure of statistical inference using data from a scientific study.

5 Step in Hypothesis Testing


State hypothesis test

Calculate the statistical test (st)

Calculate the critical value (cv)

Make Decision

Make Conclusion

State hypothesis test

H 0:
Null hypothesis

Statement regarding the value(s) of unknown parameter(s). Typically will imply no association between explanatory and response variables in our applications (will always contain an equality)

H1 :
Alternative hypothesis

Statement hypothesis inequality)

contradictory to the null (will always contain an

State hypothesis test


To see is there any difference in price of a chicken between Pasar A and Pasar B
T-test

H 0:

There is NO difference in the price of the chicken between Pasar A and Pasar B

H1 :

There is difference in the price of the chicken between Pasar A and Pasar B

The hypothesis statement is depending on the type of analysis do you use.

Most of the H0 have NO


inside the statement hypothesis

Calculate the statistical test (st)

6.10

6.50

5.80

6.90

6.00

Pasar A

12.10 Pasar B

11.50

11.10

12.20

14.00

Key in the data

This is what we want.

Calculate the statistical test (st)


T-test result from SPSS

p-value = 0.000

This is our statistical test. (st)

How you doing so far?

Calculate the critical value (cv)


Calculate Manually

Calculate the critical value (cv)

How do we know the Critical Value?

Calculate the critical value (cv)


The answer in your hand BUT you can not simply decide the critical value you want.

Critical Value

P-value compare -value

Critical Value [-value]


statistical hypothesis testing where it is used to determine if a null hypothesis can be rejected or retained. Cut-off score. Confidence interval or how much you confidence the data represent the population.

Critical Value [-value]


-value 0.01 Confidence interval 99% confidence that the data represent the population. 95% confidence that Recommence the data represent (Most used by the population. researcher)
90% confidence that Not recommence the data represent the population.

0.05

0.10

Critical Value [-value]


We decide to use

0.05 as our -value

Making Decision
Compare
P-value
Rule P-value < -value P-value > -value

-value
Decision Reject the null hypothesis, H0 Do not Reject the null hypothesis, H0

Making Decision
Rule Decision

P-value < -value P-value > -value

Reject the null hypothesis, H0 Do not Reject the null hypothesis, H0

Conlusion
To see is there any difference in price of a chicken between Pasar A and Pasar B
T-test

H 0:

There is NO difference in the price of the chicken between Pasar A and Pasar B

H1 :

There is difference in the price of the chicken between Pasar A and Pasar B

Conlusion
We can conclude that difference in the price of the chicken between Pasar A and Pasar B

5 Step in Hypothesis Testing


State hypothesis test

Calculate the statistical test (st)

Calculate the critical value (cv)

Make Decision

Make Conclusion

ANY QUESTION?

Potrebbero piacerti anche