Skip to content
Back to formatted view

Raw Message

Message-ID: <368BAE14-0E47-404B-A48B-70C80F64CB69@comcast.net>
Date: 2012-11-10T23:56:28Z
From: David Winsemius
Subject: Likelihood ratio
In-Reply-To: <CAN25tHQz7eF1wCGtGuNe0Tk=1R4Wnu3H3SNyHCwQv0c4pujsbQ@mail.gmail.com>

On Nov 10, 2012, at 11:57 AM, bgnumis bgnum wrote:

> Hi All
> 
> 
> I have to run multiple  stimations and to compute Likelihhod ratio.
> 
> If I compute ls function with coef and summary I can extract "outputs" that
> I need.

Do you mean "lm"?

> 
> I am not able to find something similar to log liklihood....

You can use glm' with family="gaussian". Deviance is -2*LL


> 
> Can you pease tell me running a ls function x on y how to extract if
> posible LR statitic or Likelihood or Log likelihood.

Of you can look at the code and  see how it does it.

> Many thanks in advance. If you send me some manual or webpage guide I will
> be very happy.

Please read the Posting Guide. There are many helpful ideas about how to get further information and avoid the appearance of cluelessness.

-- 

David Winsemius, MD
Alameda, CA, USA