Re: [R] A problem with anova()

2008-05-09 Thread Peter Dalgaard
Christian Ritz wrote: > Hi Peter, > > I think one option for what anova could do in the nonlinear case is to > report the analysis of variance (or deviance) table obtained when > doing a lack-of-fit test, that is comparing the nonlinear regression > model to an appropriate ANOVA model. This is for

Re: [R] A problem with anova()

2008-05-09 Thread Christian Ritz
Hi Peter, I think one option for what anova could do in the nonlinear case is to report the analysis of variance (or deviance) table obtained when doing a lack-of-fit test, that is comparing the nonlinear regression model to an appropriate ANOVA model. This is for example the use of anova in t

Re: [R] A problem with anova()

2008-05-09 Thread Peter Dalgaard
Guru S wrote: Hi, I fitted tree growth data with Chapman-Richards growth function using nls. summary(fit.nls) Formula: HEIGHT ~ A * (1 - exp(-B * AGE))^C Parameters: Estimate Std. Error t value Pr(>|t|) A 29.007627 0.270485 107.24 <2e-16 *** B 0.030813 0.001095 28.13 <2e

[R] A problem with anova()

2008-05-09 Thread Guru S
  Hi, I fitted tree growth data with Chapman-Richards growth function using nls. summary(fit.nls) Formula: HEIGHT ~ A * (1 - exp(-B * AGE))^C Parameters: Estimate Std. Error t value Pr(>|t|) A 29.007627 0.270485 107.24 <2e-16 *** B 0.030813 0.001095 28.13 <2e-16 *** C 1.84

[R] A problem with anova()

2008-05-09 Thread Guru S
  Hi, I fitted tree growth data with Chapman-Richards growth function using nls. summary(fit.nls) Formula: HEIGHT ~ A * (1 - exp(-B * AGE))^C Parameters: Estimate Std. Error t value Pr(>|t|) A 29.007627 0.270485 107.24 <2e-16 *** B 0.030813 0.001095 28.13 <2e-16 *** C 1.8494

[R] A problem with anova()

2008-05-09 Thread Guru S
  Hi, I fitted tree growth data with Chapman-Richards growth function using nls. summary(fit.nls) Formula: HEIGHT ~ A * (1 - exp(-B * AGE))^C Parameters: Estimate Std. Error t value Pr(>|t|) A 29.007627 0.270485 107.24 <2e-16 *** B 0.030813 0.001095 28.13 <2e-16 *** C 1.8494