Hello, I am looking for a library or script for R to run a backward elimination automatically on a linear regression. Does anybody know where to find such a thing or has a code snipplet lying around? Bye, Thomas
Backward Elimination Library
4 messages · Thomas Fischer, Sundar Dorai-Raj, Spencer Graves +1 more
?stepAIC in package MASS.
Thomas Fischer wrote:
Hello, I am looking for a library or script for R to run a backward elimination automatically on a linear regression. Does anybody know where to find such a thing or has a code snipplet lying around? Bye, Thomas
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Have you considered stepAIC in MASS? hth. spencer graves
Thomas Fischer wrote:
Hello, I am looking for a library or script for R to run a backward elimination automatically on a linear regression. Does anybody know where to find such a thing or has a code snipplet lying around? Bye, Thomas
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Dear Thomas,
At 07:16 AM 6/11/2003 +0200, Thomas Fischer wrote:
I am looking for a library or script for R to run a backward elimination automatically on a linear regression. Does anybody know where to find such a thing or has a code snipplet lying around?
See ?step. The step function is part of the base package. I hope that this helps, John ----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox