[R] Comparing formulas

Spencer Graves spencer.graves at pdf.com
Thu Apr 24 00:31:06 CEST 2003


Could you please provided specific examples?  This would allow others to 
more easily see if they can replicate the problem and then test their 
favorite solution.

spencer graves

Jeff Breiwick wrote:
> Dear All,
> 
> I want to compare formulas resulting from using stepAIC() on glm() objects.
> I have 2 different formulas, say F1 and F2, which consist of about 10
> factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other
> doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper
> way to compare formulas? 
> 
> -------------------------------------------
> Jeffrey M Breiwick, Ph.D.
> National Marine Mammal Lab., AFSC, NOAA
> 7600 Sand Point Way NE, Bldg. 4
> Seattle, Washington 98115    USA
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help



More information about the R-help mailing list