Skip to content
Back to formatted view

Raw Message

Message-ID: <da79af330803041657p5430a148r69c1fc3a4963e392@mail.gmail.com>
Date: 2008-03-05T00:57:04Z
From: Henrique Dallazuanna
Subject: degrees of freedom extraction
In-Reply-To: <b7da39110803041646j28e73e08v2ee3d2828fcc749a@mail.gmail.com>

Try this:

attr(logLik(lmx), "df")


On 04/03/2008, Davood Tofighi <dtofighi at asu.edu> wrote:
> Hello,
>
>  II used the logLik() function to get the log-likelihood estimate of an
>  object. The function also prints the degrees of freedom. How can I extract
>  the degrees of freedom and assign it to a variable.
>  Below is the output:
>  > logLik(fit2pl)
>  'log Lik.' -4842.912 (df=36)
>
>  Thanks,
>  Davood Tofighi
>
>         [[alternative HTML version deleted]]
>
>  ______________________________________________
>  R-help at r-project.org mailing list
>  https://stat.ethz.ch/mailman/listinfo/r-help
>  PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>  and provide commented, minimal, self-contained, reproducible code.
>


-- 
Henrique Dallazuanna
Curitiba-Paran?-Brasil
25? 25' 40" S 49? 16' 22" O