Re: [R] Using the effects package to plot logit probabilities

2012-08-13 Thread John Fox
oun...@r-project.org] > On Behalf Of Abraham Mathew > Sent: August-13-12 12:40 PM > To: r-help@r-project.org > Subject: [R] Using the effects package to plot logit probabilities > > I'm trying to run a logit model and plot the probability curve for a number of > the imp

Re: [R] Using the effects package to plot logit probabilities

2012-08-13 Thread Abraham Mathew
With multiple predictors, I feel that predict ends up being less elegant. Plus, I've found a lot of the simple log-odds plots available in the effect package to be simple and easy to use as compared to base predict. On Mon, Aug 13, 2012 at 3:01 PM, Bert Gunter wrote: > Why not use > > ?predict.g

Re: [R] Using the effects package to plot logit probabilities

2012-08-13 Thread Bert Gunter
Why not use ?predict.glm ## with type = "response" ? -- Bert On Mon, Aug 13, 2012 at 12:39 PM, Abraham Mathew wrote: > I'm trying to run a logit model and plot the probability curve for a number > of the important predictors. I'm trying to do this > with the Effects package. > > > df=data.fram

[R] Using the effects package to plot logit probabilities

2012-08-13 Thread Abraham Mathew
I'm trying to run a logit model and plot the probability curve for a number of the important predictors. I'm trying to do this with the Effects package. df=data.frame(income=c(5,5,3,3,6,5), won=c(0,0,1,1,1,0), age=c(18,18,23,50,19,39), home=c(0,0,1,0,0,1)