[R] doubt about DF in survival model

Ronaldo Reis Jr. chrysopa at insecta.ufv.br
Thu Jul 4 23:51:19 CEST 2002


Hi all,

I have this,

Weibull distribution
n= 1000

> anova(pk.m0)
     Df Deviance Resid. Df   -2*LL P(>|Chi|)
NULL NA       NA       999 1451.31        NA

> anova(pk.m0,pk.m1)
      Terms Resid. Df    -2*LL    Test Df   Deviance    P(>|Chi|)
1         1       998 1451.310         NA         NA           NA
2      seed       996 1229.714          2  221.59557 7.605594e-49

With   n=1000,
Df of  Null Model (pk.m0) = 999, it is ok, to me.

But, when I put together Null Model (pk.m0) and the Seed Model (pk.m1),
Df of the Null model changed to 998.

My question is, why it does happen?

Thanks
inte
Ronaldo
-- 
An avocado-tone refrigerator would look good on your resume.
--
|   //|\\   [*****************************][*******************]
|| ( õ õ )  [Ronaldo Reis Júnior          ][PentiumIII-600     ]
|     V     [ESALQ/USP-Entomologia, CP-09 ][HD: 30 + 10 Gb     ]
||  / l \   [13418-900 Piracicaba - SP    ][RAM: 128 Mb        ]
|  /(lin)\  [Fone: 19-429-4199 r.229      ][Video: SiS620-8Mb  ]
||/(linux)\ [chrysopa at insecta.ufv.br      ][Modem: Pctel-onboar]
|/ (linux) \[ICQ#: 5692561                ][SO: CL 7.0 (2.2.19)]
||  ( x )   [*****************************][*******************]
||| _/ \_Powered by Conectiva Linux 7.0 D+:) | Lxuser#: 205366

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list