[R] need help with understanding stepAIC

From: Bala Thanigaivelan <bala.thanigaivelan_at_veitchlister.com.au>
Date: Thu, 03 Apr 2008 12:21:40 +1000


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 ?  



        [[alternative HTML version deleted]]

R-help_at_r-project.org 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. Received on Thu 03 Apr 2008 - 02:27:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 03 Apr 2008 - 10:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive