I'm running a logistic regression model in R. I've used both the Zelig and Car
packages. However, I'm wondering if there is a simple way to get the model fit
statistics for the model. (pseudo R-square, chi-square, log liklihood,etc)
Thanks
I'm running a logit model using the zelig package in R:
z.out - zelig(trade961a ~ age962 + education962 + personal962 + economy962 +
partisan962 + employment962 + union962 + home962 + market962 + race962 +
income962, data=data96, model=logit)
The dependent variable, trade961a, is a
I'm running a multinomial logit in R using the Zelig packages. According to
str(trade962a), my dependent variable is a factor with three levels. When I run
the multinomial logit I get an error message. However, when I run 'model=logit'
it works fine. any ideas on whats wrong?
## MULTINOMIAL
I'm running a multinomial logit in R using the Zelig package. However I get the
following error. HELP
anes96two - zelig(trade962a ~ age962 + education962 + personal962 + economy962
+ partisan962 + employment962 + union962 + home962 + market962 + race962 +
income962, model=mlogit,
I'm recoding variables and running a logit. Unfortunately, I get the following
error.
data04$V043114
part - data04$V043114
attributes(part)
summary(part)
partb part
partb[part %in% levels(part)[4]] - NA
partb[part %in% levels(part)[5]] - NA
partb[part %in% levels(part)[6]] - NA
partb[part
I'm trying to run an ordered logistic regression model. I've run the following
code, but the output does not provide the p-values. Is there some command to
include the p-values in the output.
reg2 - polr(trade1 ~ age2 + education2 + personal2 + economy2 + partisan2 +
employment2 + union2 +
I ran the follow code for an ordered logit, but don't know why two levels of my
dependent variable are at the topic of my list of variables.
I don't know why this appears, and what I'm supposed to take from them
y=0. Haven't thought much about this
y=1. Favor
library(Design)
two -
to play with it.
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Thu 2/4/2010 9:26 AM
To: oli...@gmx.de
Cc: Mathew, Abraham T; r-help@r-project.org
Subject: Re: [R] Changing an unordered factor into an ordered factor
On Feb 4, 2010, at 5:58 AM
I'm trying to change an unordered factor into an ordered factor:
data96$RV961327 - data96$V961327
data96$RV961327[data96$V961327 %in% levels(data96$V961327)[4]] - NA
data96$RV961327[data96$V961327 %in% levels(data96$V961327)[5]] - NA
data96$RV961327 - factor(data96$RV961327)
I'm an R newbie and had the following question. I'm trying to run a logit model
because I have a dependant variable that is a factor with three levels. Each of
my independent variables are factor variables and have two or more levels,
which is why I'm unsure about the error.
regone -
VAR 980490
Some people have suggested placing new limits on foreign
imports in order to protect American jobs. Others say
that such limits would raise consumer prices and hurt
American exports.
Do you FAVOR or OPPOSE placing new limits on imports, or
haven't you thought much about this?
I have been using R and Tinn-R for the last few weeks. While I prefer Tinn-R to
Emacs as my text editor, I have been unable to calibrate Tinn-R so that the R
outputs will be translated into Tinn R.
For example, if I create a data vecor entitled I like pizza- c(1,2,3) and
then insert the
12 matches
Mail list logo