Re: [R] ANOVA between linear models.

2008-05-16 Thread Rune Haubo
Hi Richard You are trying to compare two models, that are not nested. This means that all usual asymptotics of the test statistics break down, hence the (second) test you are attempting is not meaningful. Usually one decides on the form of the response on other grounds such as residual analysis or

[R] ANOVA between linear models.

2008-05-15 Thread Richard Martin
Hi All, I'm accustomed to performing an ANOVA to aid in choosing between linear models (for example y~x or y~x+x^2), however with different models I can't seem to do it. I'm trying to fit an exponential model of the form ye^(bt). Below is a code snippet that highlights what I'm trying to do s =