Default dependent variable level in glm model

25 views
Skip to first unread message

eloiz

unread,
Mar 11, 2013, 11:22:47 PM3/11/13
to StatForLing with R
Hi!

Apologies for this very naive question.

assuming a glm model similar to this one:

model.01 <- stepAIC(glm(DEPTVARIABLE ~ 1, family=binomial, data=xx),
direction="both", scope=list(lower=~1, upper=DEPTVARIABLE ~ IV1 + IV2
+ IV3 + IV1:IV2 + IV1:IV3)),

where DEPTVARIABLE is two-level categorical dependent variable, and
where IV1:IV2 is statistically significant. By default, which of the
two levels of DEPTVARIABLE will be plotted (i.e., the most frequent
one? the first one alphabetically? ...) as a result of:

plot(effect("IV1:IV2", model.01)) ?

Thanks a lot!

Eloiz

Stefan Th. Gries

unread,
Mar 12, 2013, 2:58:55 AM3/12/13
to statforli...@googlegroups.com
Cf. last par. of p. 297 of SFLWR1
STG
--
Stefan Th. Gries
-----------------------------------------------
University of California, Santa Barbara
http://www.linguistics.ucsb.edu/faculty/stgries
-----------------------------------------------
Reply all
Reply to author
Forward
0 new messages