Hi all,

 

I would
like to do a weighted linear regression, when the error of the dependent 
variable
is correlated. So I have a weighting (covariance) matrix instead of a vector. As
I understood the „weights” argument in the lm function should be a vector and
not a matrix. Can anyone suggest me a function (package) which would do the
job?


Thanks a
lot!

 

Emese

                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to