On 2014-06-27 11:00, r-help-requ...@r-project.org wrote:
Date: Thu, 26 Jun 2014 15:12:08 +0200
> From: Carlos Bautista Le?n
> To: r-help@r-project.org
> Subject: [R] AICc in MuMIn package
Hello, I am modelling in glmmADMB count data
(I??m using a negative binomial distribution
Hello,
I am modelling in glmmADMB count data (I´m using a negative binomial
distribution to avoid possitive overdispersion) with four fixed and one
random effect. I´m also using MuMIn package to calculate the AICc and also
to model averaging using the function dredge. What I do not understand is
Also, gls1 was fitted with an REML method:you should use an ML method if you
want to compute AIC and friends.
R
2011/9/4 Roland Sookias
> Just realized was because I had an object called AICc.
>
> On Sun, Sep 4, 2011 at 2:08 AM, Roland Sookias
> wrote:
>
> > Hi
> >
> > I get the following erro
Just realized was because I had an object called AICc.
On Sun, Sep 4, 2011 at 2:08 AM, Roland Sookias wrote:
> Hi
>
> I get the following error when I try and get the AICc for a gls regression
> using qpcR:
>
>
> > AICc(gls1)
> Loading required package: nlme
> Error in n/(n - p - 1) : 'n' is mis
Hi
I get the following error when I try and get the AICc for a gls regression
using qpcR:
> AICc(gls1)
Loading required package: nlme
Error in n/(n - p - 1) : 'n' is missing
My gls is like this:
> gls1
Generalized least squares fit by REML
Model: thercarnmax ~ therherbmax
Data: NULL
Log-
Katie-
I think you can calculate it easily in R using the definitions:
AIC<- -2*LL + 2*K
AICc<-AIC + 2*K*(K+1)/(n-K-1)
where LL is the logLik, K is the the number of parameters in the fitted
model, and n is the number of observation, so if you know AIC then it is
easy to calculate AICc
Ron
Katie Stumpf wrote:
>
> I am fitting logistic regression models, by defining my own link
> function, and would like to get AICc values. Using the glm command
> gives a value for AIC, but I haven't been able to get R to convert
> that to AICc. Is there a code that has already been writte
I am fitting logistic regression models, by defining my own link
function, and would like to get AICc values. Using the glm command
gives a value for AIC, but I haven't been able to get R to convert
that to AICc. Is there a code that has already been written for
this? Right now I am just
8 matches
Mail list logo