Re: [R] dreaded p-val for d^2 of a glm / gam

2008-03-28 Thread Spencer Graves
p-value from an F test if > you use lm for example, so . quite few times i was asked to > provide a similar thing for quite different models. > > Thanks again, > > Monica > > > Date: Thu, 27 Mar 2008 16:38:12 -0700 > > From: [EMAIL PROTECTED] > > To:

Re: [R] dreaded p-val for d^2 of a glm / gam

2008-03-28 Thread Monica Pisica
nt models. Thanks again, Monica> Date: Thu, 27 Mar 2008 16:38:12 -0700> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: r-help@r-project.org> Subject: Re: [R] dreaded p-val for d^2 of a glm / gam> > I assume you mean 'deviance', not 'squared deviance'

Re: [R] dreaded p-val for d^2 of a glm / gam

2008-03-27 Thread Spencer Graves
I assume you mean 'deviance', not 'squared deviance'; if the latter, then I have no idea. If the former, then a short and fairly quick answer to your question is that 2*log(likelihood ratio) for nested hypotheses is approximately chi-square with numbers of degrees of freedom = the