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
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
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
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)
Dear Abraham,
I must admit that I don't really follow what you want to do. Disregarding the
fact that the example you provide doesn't converge to a proper solution, the
plot that you've requested will range over all values of bid at the median
home, which is 0. You may have intended home to be
I've been looking into the effects package and it seems to be a great tool
for plotting the probabilities of the
response variable by the predictors. However, I'm wonder if I can use the
effects package to plot the probabilities
on the y axis and one predictor on the x axis, with the curve having t
6 matches
Mail list logo