STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business...

46
STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University

Transcript of STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business...

Page 1: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS

Assist.Prof.Dr. R. Serkan AlbayrakDepartment of Business Administration

Yaşar University

Page 2: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Chapter 2 - Inference based on population models

Page 3: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Population models

Page 4: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 5: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Population expectations and variances

Page 6: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 7: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Asymptotic consistency

Page 8: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Testing for population differences

<

Page 9: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Testing with the t-statistic

Page 10: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

The normal distribution

Page 11: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Normally distributed data

Page 12: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Normally distributed means

Page 13: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 14: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 15: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 16: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 17: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Why? Time to remember the discussions on degrees of freedom.

Page 18: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

z1

z2 has a bivariate normal distribution.

𝒇 (𝒛𝟏 ,𝒛𝟐 )= 𝟏

𝟐𝝅𝝈𝒛𝟏𝝈𝒛𝟐

√𝟏− 𝝆𝟐𝐞𝐱𝐩 ¿

Page 19: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

-10-5

05

10 -10

-5

0

5

10

0.000

0.005

0.010

0.015

Bivariate Normal Distribution

z1

z2

-4 -2 0 2 4

0.0

0.1

0.2

0.3

0.4

x

dnor

m (x

)

If has a bivariate normal distribution then the pdf of points is a one dimensional normal distribution. This distribution is over the line because all points of the form is situated on this line.

If has a multinomial normal distribution then the pdf of points is a two dimensional normal distribution. This distribution is over the plane because all points of the form is situated on this plane. (Hard to draw)This is how one

dimension (degrees of freedom) is lost!

Page 20: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

That means even though the points lie in a two dimensional space, the probability distribution function defined over them is basically single dimensional.

But,

The situation resembles the following: Assume we have two normally distributed random variables; and . Then the distribution of the sum their squares, i.e., does not necessarily have a Chi-squared distribution with two degrees of freedom. Why?

Page 21: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Consider the case where . Then which has a Chi-square distribution of one degree of freedom. Hence unless are independent has chi-square distribution with one degree of freedom.

What is distribution?

Page 22: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 23: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

The t-distribution

Page 24: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

That is why we divide by (n-1) in calculating sample s.d.

Page 25: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 26: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

One sample t-test

Page 27: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 28: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 29: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Two-sample tests

Page 30: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 31: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Numerical Example (wheat again)

Page 32: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

R-code

Page 33: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Comparison to the randomization test:

Page 34: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 35: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Randomization and t null distributions

Page 36: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 37: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Keep the following concepts clear:

Page 38: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 39: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Checking Assumptions

Page 40: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.
Page 41: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Checking normality

Page 42: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Normal scores plots

Page 43: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Unequal variances

Page 44: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Modified t-statistic

Page 45: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.

Which two-sample t-test to use?

Page 46: STAT 401 EXPERIMENTAL DESIGN AND ANALYSIS Assist.Prof.Dr. R. Serkan Albayrak Department of Business Administration Yaşar University.