Re: [R] How to get the adjusted R squared from GLS() estimator

2014-03-14 Thread Chris Wilkinson
You could fit a linear model to original/predicted y values and get rsquared from that. Chris On Mar 13, 2014 5:26 PM, Greg Snow <538...@gmail.com> wrote: > > Well if I had it and you asked nicely, then I would be happy to give > it to you.  Oh, you mean the gls function, not GLS as my initials

Re: [R] How to get the adjusted R squared from GLS() estimator

2014-03-14 Thread peter dalgaard
On 13 Mar 2014, at 22:26 , Greg Snow <538...@gmail.com> wrote: > Oh, you mean the gls function, not GLS as my initials (my > parents are OLS and WLS, perhaps I was destined to regress), sorry. Fortune candidate? > The gls function in the nlme package (is that the one that you are > asking about

Re: [R] How to get the adjusted R squared from GLS() estimator

2014-03-13 Thread Greg Snow
Well if I had it and you asked nicely, then I would be happy to give it to you. Oh, you mean the gls function, not GLS as my initials (my parents are OLS and WLS, perhaps I was destined to regress), sorry. The gls function in the nlme package (is that the one that you are asking about? or is ther

[R] How to get the adjusted R squared from GLS() estimator

2014-03-13 Thread Yuan, Rebecca
Hello, Although lm() gives a way to get the adjusted R squared by adjr2 <- summary(mdl)$adj.r.squared I cannot find a way to extract the adjusted R squared from gls(), any hint? Thanks, Rebecca -- This message, and any