[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Concerning Ordinal Predictors, Please step through this code



Thank you, PJ. It is clear for me now that we have to check every time when we attempt to include ordinal variables in a model.

1. Does this rule of thumb apply to an index or scale-like variables, such as a 24-point media attention index?

2. If the anova test rejects the null hypothesis that there is no difference between the two models (mod3 and mod5 in your example), does it suggest that we need to transform the ordinal variable? How to do so?

3. My two more technical question are: How to use multiple variables in avas() in the "acepack" library? (The manual only shows how to transform dv and iv into a linear relationship.) And, can we transform only specific variables and put it back to our lm or glm regression?

Frank


Paul Johnson wrote:
If you are one of the people with a predictor like "Education" or "PartyID", please test this code and read the commentary to see if you can pull your head out. Or my head out.



--
Cheng-shan Frank Liu
Dept. of Political Science    E-mail: ashan_AT_ku.edu
University of Kansas          Web: http://lark.cc.ku.edu/~ashan
1541 Lilac Lane, Room 504     Office: (785) 864-9019
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700