[R] confidence Intervals for predictions in GLS

Frank Harrell f.harrell at vanderbilt.edu
Sat Aug 14 17:07:12 CEST 2010


install.packages('rms')
require(rms)
?Gls
?plot.Predict

Frank E Harrell Jr   Professor and Chairman        School of Medicine
                      Department of Biostatistics   Vanderbilt University

On Sat, 14 Aug 2010, Camilo Mora wrote:

> Hi everyone:
>
> Is there a function in R to calculate the confidence intervals for the
> predictions of a GLS(Generalized Least Square) model?
>
> The function "predict" gives confidence intervals for the predictions
> of other types of models (lm, glm, etc) but not gls.
>
> Any input will be much appreciated,
>
> Best,
>
> Camilo
>
> Camilo Mora, Ph.D.
> Department of Biology
> Dalhouisie University
> Halifax, Canada
> Phone: (902) 494-7720
> http://as01.ucis.dal.ca/fmap/people.php?pid=53
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list