Skip to content
Prev 299523 / 398503 Next

Using the effects package

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 a categorical variable, but you've specified it as numeric rather than a factor, and so effect() treats it as numeric.

If you want to display the fit at all combinations of values of the two predictors, give the first argument to effect as "bid:home", even though this isn't a term in the model, the two terms bid and home are marginal to it.

I hope that this helps, though I doubt it, since, as I said, I don't think that I understand what you want to do.

John

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/

On Sun, 8 Jul 2012 21:03:47 -0600
Abraham Mathew <abmathewks at gmail.com> wrote: