Top Banner
•Correlation, ANOVA, t-test, chi-square have numeric dependent variables • E.g. test score, number of words in corpus, F2, reaction Logistic Regression
32

Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Jan 21, 2016

Download

Documents

Rosamond Howard
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• Correlation, ANOVA, t-test, chi-square have numeric dependent variables• E.g. test score, number of words in corpus, F2, reaction

Logistic Regression

Page 2: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• Logistic regression has a categorical dependent variable• Expressed or implied pronoun

• I went and got vs. I went and I got

• Passive vs. active• John painted the barn vs. the barn was painted by John

• Deleted or pronounced• He wen’ home vs. he went home

Logistic Regression

Page 3: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• Logistic regression has a categorical dependent variable• Expressed or implied pronoun

• I went and got vs. I went and I got

• Passive vs. active• John painted the barn vs. the barn was painted by John

• Deleted or pronounced• He wen’ home vs. he went home

• The dependent variable can have 2 or more values• [t] vs. [ʔ] vs. []• Abou/t/ any

Logistic Regression

Page 4: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• Examples:

• Possession is expressed with both have, have got and got. What favors the use of each one? Could it be the animacy of the possessor? The animacy of the thing possessed? The socioeconomic status of the speaker? The frequency of the noun that follows?• Word-final /t/ and /d/ in words such as went and field is

sometimes pronounced and other times deleted. What is the role of the following consonant, the preceding vowel, the frequency of the word, the ethnicity of the speaker, and the age of the speaker in deletion or retention of these consonants?

Logistic Regression

Page 5: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• /t/ before /n/ in kitten, eaten, fountain• [khɪʔn]• [khɪʔən]• [khɪtən]

Logistic Regression

Page 6: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• /t/ before /n/ in kitten, eaten, fountain• [khɪʔn]• [khɪʔən]• [khɪtən]

• The oral release is stigmatized in Utah

Logistic Regression

Page 7: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• /t/ before /n/ in kitten, eaten, fountain• [khɪʔn]• [khɪʔən]• [khɪtən]

• The oral release is stigmatized in Utah

Logistic Regression

Page 8: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

• What independent variables influence oral release versus the other two?• Gender• % of life in Utah• Age• Word order in passage read

Oral release in Utah

Page 9: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Example Study: Oral Release in Utah• Significance of the independent variables

•Doesn’t tell you direction of the effect

Page 10: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Example Study: Oral Release in Utah• Significance of the values of the independent

variables• Positive coefficients indicate a value favors oral releases

• Negative coefficients indicate a value disfavors oral releases

Page 11: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Example Study: Oral Release in Utah•Odds ratios (Exp(Coefficient) indicate the odds

increase.• The odds are over 11 times greater that women use oral

releases over men.

• For continuous variable like age, odds ratio of 1.053 means that for every percent increase in years living in Utah, the odds of using oral release increases 5.3%

Page 12: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Example Study: Oral Release in Utah

Results

•Odds ratios (Exp(Coefficient) indicate the odds increase.• Odds ratios under 1, such as .912 for age are subtracted

from 1

• 1-.912=.088

• The odds of using oral releases decreases by 8.8% for every year older the person is

Page 13: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Caveat: repeated measures• You can only include one measure/observation/score from a single person.• If you include more than one score you must include the participants as a special kind of variable (random effect)

Page 14: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• In SPSS, click on Analyze > Mixed Models >Generalized Linear to open this box.

• All of the variables are listed here

Page 15: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• All of the variables are listed here

• The subject of the random effects, participant and word are dragged here

Page 16: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• In the Fields and Effects tab, Target is where you choose the dependent variable, Binary pronunciation

Page 17: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• In the Fields and Effects tab, Target is where you choose the dependent variable, Binary pronunciation

• ZOther is the value of the dependent variable we are going to contrast oral release to

• We are going to do Binary logistic regression

Page 18: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• By choosing Fixed Effects we see a list of variables to choose. Fixed effects are independent variables

Page 19: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• By choosing Fixed Effects we see a list of variables to choose

• We drag them into the next window

Page 20: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• Choosing Random Effects opens this window

Page 21: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• Choosing Random Effects opens this window

• We choose Participant as the random intercept and leave the covariance type as variance component

Page 22: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• Choosing Random Effects opens this window

• We choose Participant as the random intercept and leave the covariance type as variance component

• Be sure to check Include Intercept

Page 23: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• Choosing Random Effects opens this window

• We choose Participant as the random intercept and leave the covariance type as variance component

• Be sure to check Include Intercept

• If you were doing a participant by other variable random slope you’d put the other variable here

Page 24: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• To add another random effect you click Add Block with brings up another window

• Choose Participant*Word > OK

Page 25: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• On the Build Options tab is the Sorting Order

• If you choose Ascending the value of the variable that occurs first alphabetically will be chosen as the reference value• Oral over Zother

• Descending would choose the last value alphabetically• Zother over Oral

Page 26: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• On the Build Options tab is the Sorting Order

• If you choose Ascending the value of the variable that occurs first alphabetically will be chosen as the reference value• Oral over Zother

• Descending would choose the last value alphabetically• Zother over Oral

• I already chose the value on the previous menu

• Press “paste”

Page 27: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• All of the code shows up.• We want a random effect

for participant and one for word so we have to tweak one line

• l/RANDOM USE_INTERCEPT=TRUE SUBJECTS=Participant*Word

• Delete “*Word”• Press green triangle to run

analysis.

Page 28: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• Double click on this table to open the Model Viewer window.

• Click on each sub-window on the left hand side to see the results.

Page 29: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• When you get this window choose Table under the Style dropdown menu on the bottom

Page 30: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• When you get this window choose Table under the Style dropdown menu on the bottom

• That gives you this table you’ve already seen.

Page 31: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• When you get this window choose Table under the Style dropdown menu on the bottom

Page 32: Correlation, ANOVA, t-test, chi-square have numeric dependent variables E.g. test score, number of words in corpus, F2, reaction Logistic Regression.

Doing Mixed-effect Logistic Regression in SPSS

• When you get this window choose Table under the Style dropdown menu on the bottom

• That gives you this table you’ve already seen.

• Click on the Coefficient and Exponential buttons to reveal the whole table.