s-news
[Top] [All Lists]

Re: vcov function with lme object

To: Achaz Graf Von Hardenberg <achaz.von.hardenberg@usherbrooke.ca>
Subject: Re: vcov function with lme object
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Thu, 11 Nov 2004 11:28:19 +0000 (GMT)
Cc: <s-news@lists.biostat.wustl.edu>
In-reply-to: <1100171548.4193491c06565@www.usherbrooke.ca>
On Thu, 11 Nov 2004, Achaz Graf Von Hardenberg wrote:

> Sorry...
> I am using s-Plus 2000 and have the MASS version 6.1...should I update to 7.1 
> ?

The MASS sofware has not been supported for S-PLUS 2000 since June 2002. I
don't have access to S-PLUS 2000 (it was released 5 years ago now, and
superseded something like 3.5 years ago) to know for sure what is in that
version.  However, it looks like a vcov method for lme came in Version 6.3
and that the updater for S-PLUS 2000 probably gives you that. See

http://www.stats.ox.ac.uk/pub/MASS3/Windows.shtml

which says

2000up.exe [900Kb ] Update for S-PLUS 2000. [Minor corrections and several
enhancements. Also most of the new material from the Fourth Edition. This
update will work on Release 1, 2 or 3] (Current version: 2002 Jun 29)



>
> Achaz von Hardenberg
>
>
>
> Scrive Prof Brian Ripley <ripley@stats.ox.ac.uk>:
>
> > On Thu, 11 Nov 2004, Achaz Graf Von Hardenberg wrote:
> >
> > > Hi,
> > > I would like to obtain the variance-covariance matrix for an lme object 
> > > and
> > > terefore tried the following:
> > >
> > > >library(MASS)
> > > >x<- vcov(myobject.lme)
> > >
> > > however, I get the following error message:
> > >
> > > Error in UseMethod("vcov"): no specific or default method found
> > >
> > > What am I doing wrong?
> >
> > Not telling us the version of S-PLUS and of MASS for a start.
> > Here is an example from S-PLUS 6.2 and the current MASS version 7.1pl021
> >
> > > fm1 <- lme(distance ~ age, data=Orthodont) # random is ~ age
> > > vcov(fm1)
> >             (Intercept)          age
> > (Intercept)  0.60100669 -0.046850866
> >         age -0.04685087  0.005077029
> >
> > --
> > Brian D. Ripley,                  ripley@stats.ox.ac.uk
> > Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> > University of Oxford,             Tel:  +44 1865 272861 (self)
> > 1 South Parks Road,                     +44 1865 272860 (secr)
> > Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >
> >
> >
>
>
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


<Prev in Thread] Current Thread [Next in Thread>