Variable inferential statistics

38
Inferent ial Statist ics

Transcript of Variable inferential statistics

Page 1: Variable inferential statistics

Inferentia

l

Statistics

Page 2: Variable inferential statistics

Inferential Statistics

Hypothesis Testing

Estimation (Confidence

Interval)

Page 3: Variable inferential statistics

Understanding the Logic of Hypothesis Testing

:Claim: Our medicine reduces weight

tremendously

:Test: Initial average weight of 50 people is 85 kgAfter using medicine the average weight is 84 kg

:Conclusion: I don’t think so

Page 4: Variable inferential statistics

Understanding the Logic of Hypothesis Testing

:Claim: Our medicine reduces weight tremendously

:Test: Initial average weight of 50 people is 85 kgAfter using medicine the average weight is 70 kg

Fantastic

Page 5: Variable inferential statistics

Understanding the Logic of Hypothesis Testing

Is there any Change?

Sample Statistic is very much different from

Population Parameter

Sample Statistic is not very much different from

Population Parameter

No Change:Change is because of

Sampling Error/Randomness

Yes there is Change:Change is because of Systematic Change

Page 6: Variable inferential statistics

Hypothesis Testing Process in General

State the Null & Alternate

Hypothesis

Select the Level of Significance

Determine the Test Distribution to Use

Define the Critical Region

Calculate the Test Value

Decision: Reject H0 or Not

Conclusion: Test is Significant or Not

Page 7: Variable inferential statistics
Page 8: Variable inferential statistics

Reality

Innocent Guilty

Decision

Acquit

Punish

Correct Decision

Wrong Decision

Wrong Decision

Correct Decision

H1: The Accused is Guilty

Type I Error

Type II ErrorH0: The Accused is not GuiltyH0: The Accused is innocent

Page 9: Variable inferential statistics

Reality

OK Not OK

Decision

Accept

Reject

Correct Decision

Wrong Decision

Wrong Decision

Correct Decision

H0: The lot is ok

H1: The lot is not ok

Type I Error

Type II Error

Page 10: Variable inferential statistics

Differentiate Between CVM and PVM

CVM PVM

Reject H0

Don not Reject H0

TV ≥ CV

TV < CV

P ≤ Significance Level

P > Significance Level

Page 11: Variable inferential statistics

CV

Alpha

NRR RR Reject Ho

Don’t Reject Ho

TV TV

Critical Value Method of Hypothesis

Testing

Page 12: Variable inferential statistics

Alpha

NRR RR

Reject Ho as P ≤Alpha

Don’t Reject Ho as P > Alpha

TVProbability

Value Method of Hypothesis

Testing

P

P

TV

Page 13: Variable inferential statistics

Inferential Statistics for One Population

QuantitativeQualitative

(Nominal, Ordinal)

Sigma Known

Sigma Unknown

Norm

al

Non

Pa

ram

etr

ic

Z test

t test

Z test

t test

Wilcoxon test

Binomial Test Chi Square Test

Kolmogorov-Smirnov Test

Runs Test

Page 14: Variable inferential statistics

t test for Quantitative Data

Assumptions

Normal Population or Large Sample

Formula T = Difference / SE

SPSS Procedure

Analyze > Compare Means > One Population t test

Example

The average marks of the students was 75 last year. The data was collected from

25 students and the mean was calculated. Can we conclude that mean is more than

75?

Page 15: Variable inferential statistics
Page 16: Variable inferential statistics
Page 17: Variable inferential statistics

t test for Qualitative Data

Assumptions

Normal Population or Large Sample

Formula T = Difference / SE

SPSS Procedure

Analyze > Compare Means > One Population t test

ExampleTest whether the majority of students are

satisfied or not.

Data Coding

zero & one

Page 18: Variable inferential statistics
Page 19: Variable inferential statistics
Page 20: Variable inferential statistics

Wilcoxon Test

Assumptions

Symmetric

Formula W = Sum of Positive Ranks

SPSS Procedure

Analyze > NonParametric Test> 2 Related Samples> Wilcoxon Test

ExampleTest whether marks1 is more than 70 or

not

Page 21: Variable inferential statistics
Page 22: Variable inferential statistics
Page 23: Variable inferential statistics
Page 24: Variable inferential statistics

Binomial Test

Assumptions

Symmetric

Description Used for small sample qualitative test

SPSS Procedure

Analyze > NonParametric Test> legacy dialogue > Binomial

Example Test whether the majority is satisfied

Page 25: Variable inferential statistics
Page 26: Variable inferential statistics
Page 27: Variable inferential statistics

Inferential Statistics for two Population

Qualitative (Nominal, Ordinal)

Quantitative

Independent

Samples

Paired Samples

Norm

al

Para

metr

ic

Pooled or Nonpooled t tests

Paired t-test

Mann Whitney Test

Independent

Samples

Paired Samples

Paired Wilcoxon Test

Fisher Exact, Chi Sq

Median T, MWT, KS, WWMcNemar,

Sign Test, WilcoxonPaired

Test

Page 28: Variable inferential statistics

Pooled t-test

Assumptions

Independent Samples

SPSS Procedure

Analyze > Compare means> Independent Samples Test

Example Marks1 for boys and girls differ

Nonpooled t-test

Normal Populations or Large Sample

Equal Sigmas

Page 29: Variable inferential statistics
Page 30: Variable inferential statistics
Page 31: Variable inferential statistics
Page 32: Variable inferential statistics

Paired t-test

Assumptions

Dependent Samples

SPSS Procedure

Analyze > Compare means> Paired t-test

Example Marks1 is different from marks2

Normal Differences or Large Sample

Sigma not known

Page 33: Variable inferential statistics
Page 34: Variable inferential statistics
Page 35: Variable inferential statistics

Same Results obtained taking differences of

Marks1 and Marks2 and then applying t-test for 1 sample

Page 36: Variable inferential statistics

Mann Whitney Test

Assumptions

Independent Samples

SPSS Procedure

Analyze > NonParametric Test> 2 independent Samples

Example Marks1 is different from marks2

Same Shape Distribution

Page 37: Variable inferential statistics
Page 38: Variable inferential statistics