Skip to content
Back to formatted view

Raw Message

Message-ID: <695EF58D-530F-46FE-B66B-7A18CE18CA12@comcast.net>
Date: 2011-01-24T04:30:32Z
From: David Winsemius
Subject: extract score vector and covariance matrix in glm package
In-Reply-To: <AANLkTimx8NVC2ABxgqX+vMJBeWRhET56j8P++nMUife3@mail.gmail.com>

On Jan 23, 2011, at 6:04 PM, Akram Khaleghei Ghosheh balagh wrote:

> Hello
> I am running a project but I encounter a problem . I would be happy
> to  receive help :
> problem:
> I have a binary dependent variable and some covariates logit(y)=a+bx 
> +cz .
> I   want to estimate the score vectors and their covariance by the  
> usage of
>   logit function and so glm in R .The vlaue of one of the  
> coefficient (
> like  b) is known previously and I want to extract a and c and  
> covariance
> matrix.

Several of your questions are answered on the help(glm) page (which  
also has worked examples). Fixed coefficients are handle with the  
offset arguments.

>   How could I do it?
>
> Thanks;
>
> 	[[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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT