Hi,
I am currently using R extensively to develop a statistical model and
currently learning its capabilities.
I am trying to develop a logistic regression model using glm and stepAIC
I constructed my formula as y ~ a + b + c + d
Now I wish to study the interaction between variables. So I did y ~ a +
b + c:d + d
The software generated the coefficients for a, b , c:d, d
Now I want to compute the probability for various events using the
logistic regression model formula
Prob = exp(y)/(1+exp(y))
How do I compute the value of y for the formula with interaction
variables ? what does c:d represent given a dataset ?
Regards,
Balavelan
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.