21
Interactive graphics Interactive graphics Understanding OLS Understanding OLS regression regression Normal approximation to the Normal approximation to the Binomial Binomial distribution distribution

Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Embed Size (px)

Citation preview

Page 1: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Interactive graphicsInteractive graphicsUnderstanding OLS regressionUnderstanding OLS regression

Normal approximation to the Normal approximation to the Binomial Binomial distribution distribution

Page 2: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

General Stats SoftwareGeneral Stats Software

example: OLS regressionexample: OLS regressionexample: Poisson example: Poisson

regressionregression

as well as specialized softwareas well as specialized software

Page 3: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Specialized softwareSpecialized software

Testing:Testing:• Classical test theoryClassical test theory

–– ITEMINITEMIN• Item response theory Item response theory

– BILOG-MGBILOG-MG– PARSCALEPARSCALE– MULTILOGMULTILOG– TESTFACTTESTFACT

Page 4: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Specialized softwareSpecialized software

Structural equation Structural equation modeling (SEM)modeling (SEM)–

Page 5: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Specialized softwareSpecialized software

Hierarchical linear Hierarchical linear modeling (HLM) modeling (HLM) –

Page 6: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Open data

Page 7: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Run simple linear regression

Page 8: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Analyze Regression Linear

Page 9: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Enter the DV and IV

Page 10: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Check for confidence intervals

Page 11: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Age accounts for about 37.9% of the variability in Gesell score

The regression model is significant, F(1,19) = 13.202, p = .002

The regression equation:

Y’=109.874-1.127X

Age is a significant predictor, t(9)=-3.633, p=.002. As age in months at first word increases by 1 month, the Gesell score is estimated to

decrease by about 1.127 points (95% CI: -1.776, -.478)

Output

Page 12: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Enter the data

Fit a Poisson loglinear model:

log(Y/pop) = + 1(Fredericia) + 2(Horsens) + 3(Kolding) + 4(Age)

Click to execute

Page 13: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

City doesn’t seem to be a significant predictor, City doesn’t seem to be a significant predictor, whereas Age does.whereas Age does.

G2 = 46.45, df = 19, p < .01

Page 14: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Plot of the observed vs. fitted values--obviously model not fit

Page 15: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Fit another Poisson model:

log(Y/pop) = +1(Fredericia) + 2(Horsens) + 3(Kolding) + 4(Age) + 5(Age)2

Both (Age) and (Age)2 are significant predictors.

Page 16: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Plot of the observed vs. fitted values: model fits better

Page 17: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Fit a third Poisson model (simpler):

log(Y/pop) = + 1(Fredericia) + 2(Age) + 3(Age)2

All three predictors are significant.

Page 18: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Plot of the observed vs. fitted values: much simpler model

Page 19: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Item Response TheoryItem Response Theory

Easyitem

Easyitem

Harditem

Harditem

Person Ability

Item Difficulty Low ability person: easy item - 50% chance

Page 20: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

Low ability person: moderately difficult item - 10% chance

Item Response TheoryItem Response Theory

Easyitem

Easyitem

Harditem

Harditem

Person Ability

Item Difficulty High ability person, moderately difficult item90% chance

Page 21: Interactive graphics Understanding OLS regression Normal approximation to the Binomial distribution

-3 -2 -1 0 1 2 3

100% -

50% -

0% -

Pro

bab

ility

of

su

cce

ss

Item

Item Response TheoryItem Response Theory

Item difficulty/ Person ability