JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for GENSTAT Archives


GENSTAT Archives

GENSTAT Archives


GENSTAT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

GENSTAT Home

GENSTAT Home

GENSTAT  2004

GENSTAT 2004

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: meta-analysis in GenStat

From:

"sue welham (RRes-Roth)" <[log in to unmask]>

Reply-To:

Open discussion list for the statistical system Genstat <[log in to unmask]>

Date:

Tue, 2 Mar 2004 16:26:57 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (211 lines)

Yes, its just a warning because if you
were trying to estimate both then you
have an insolvable problem!

Its intended to alert users that want
to only have one residual term (ie. most
users, most of the time) that something
has gone wrong with their model specification.

In your case, although you only have one
residual term in principle, you have two
in practice because you have no replication,
therefore your between and within-study
terms are structurally equivalent. Then
you avoid the aliasing problem by fixing
one to the known residual variance.

Cheers
Sue

> -----Original Message-----
> From: James Krieger [mailto:[log in to unmask]]
> Sent: 02 March 2004 16:00
> To: [log in to unmask]
> Subject: Re: meta-analysis in GenStat
>
>
> Sue,
>
> When I run this analysis, I get the following warning message:
>
> **** G5W0002 **** Warning (Code VC 53). Statement 1 on Line 38
>
> Command: reml [print=#,mon,eff; weights=INVSD] EFFECT
>
> More than one residual term specifed - first term found will
> be used as R
>
>
>
> Is this normal?
>
> James
>
> James Krieger, M.S.
> Science Editor, Pure Power Magazine
> http://www.purepowermag.com
> Webmaster, WSU Strength and Conditioning
> http://www.wsu.edu/~strength
>
>
>
> ----- Original Message -----
> From: "sue welham (RRes-Roth)" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Monday, March 01, 2004 6:37 AM
> Subject: Re: meta-analysis in GenStat
>
>
> > Dear James
> >
> > This message tries to answer your question and
> > the other various comments.
> >
> > First, Stephen Senn is right, the meta-analysis
> > menu is designed for analysis of several experiments
> > together when the individual data values are available.
> > In your case, you have a single value for each study
> > with its standard error. Without any constraints, the
> > between- and within-study variation are aliased but
> > as you know the within-study variation, if you can
> > fix this, then you can estimate the between-study
> > variation.
> >
> > I think the following code should do what you want,
> > note I have assumed 19 studies, so replace 19 with the
> > relevant number:
> >
> >   factor [lev=19; val=1...19] units
> >
> >   calc [p=s] wt = 1/(se*se)
> >
> >   vcomp [fixed=pweeks; cadjust=none] random=units+study; \
> >      init=1,1; constr=fix,pos
> >   reml [print=#,mon,eff; weights=wt] effect
> >
> > The units factor is created to represent the residual
> > variation, and the value of its variance component is
> > set to be 1.0. The use of the weights option in
> > REML then ensures you have the correct residual
> > variance for each study. The study component can
> > then estimate the between-study variability. As
> > pointed out previously, the CADJUST=none option
> > means that the covariate is not centered and so
> > should match the SAS output.
> >
> > With respect to your previous code:
> >
> >   vcomp [fixed=pweeks; cadjust=none] random=units+study; \
> >      init=1,1; constr=fix,pos
> >   vstructure [terms=study; form=whole] model=unstr
> >   reml [print=#,mon,eff; weights=wt] effect
> >
> > In this case, the model attempts to estimate an
> > unstructured covariance matrix across the 19 study
> > intercept values. Because there is only a single
> > data point for each study, this is not possible
> > hence the failure of the algorithm.
> >
> > I think the presence of the unstructured model
> > in the SAS code is a red herring here. I'm not
> > an expert, but I think the line
> >
> >   random int /type=un subject=study
> >
> > means that separate intercepts are to be fitted
> > for each study, and that an unstructured matrix
> > is to be fitted across the effects for each subject
> > (study). Since there is only one effect (intercept)
> > per study, then the unstructured matrix becomes
> > a single variance component.
> >
> > Hope this helps,
> >
> > Sue Welham
> >
> > Rothamsted Research
> > Harpenden AL5 2JQ, UK
> >
> > Email: [log in to unmask]
> >
> >
> > -----Original Message-----
> > From: James Krieger
> > To: [log in to unmask]
> > Sent: 01/03/04 06:07
> > Subject: Struggling to adapt short piece of SAS code to GENSTAT
> >
> > Hello, everyone,
> >
> > I've been trying to adapt the following piece of SAS code
> to GENSTAT,
> > with
> > no success.
> >
> > SAS code:
> >
> > Proc mixed covtest data=meta;
> >     Class studyID;
> >     Weight invsd;
> >     Model effect = week /s;
> >     Random int /type=un sub=studyID;
> >     Parms (0.1) (1) /hold=2;
> >     Run;
> >
> >
> > First, I tried this in GENSTAT:
> >
> > VCOMPONENTS [FIXED=WEEK] RANDOM=STUDYID; INITIAL=0.1,1;
> > CONSTRAINTS=none,fixrelative
> > REML
> >
> [PRINT=model,components,effects,means,vcovariance,deviance,waldTests;
> > WEIGHTS=INVSD; PSE=differences;MVINCLUDE=*; METHOD=AI] EFFECT
> >
> > I get the correct parameter for the week factor.  In SAS, it
> > is -0.158(0.036).  In GENSTAT, it is -0.158(0.035).
> >
> > However, I do not get the correct parameter for the
> intercept.  In SAS,
> > it
> > is 0.409(0.087), but in GENSTAT, I get .061(.036).  I then tried to
> > impose
> > an unstructured covariance structure, just as in the SAS code.
> >
> > VCOMPONENTS [FIXED=WEEK] RANDOM=STUDYID; INITIAL=0.1,1;
> > CONSTRAINTS=none,fixrelative
> > VSTRUCTURE [TERMS=STUDYID] MODEL=unstructured
> > REML
> >
> [PRINT=model,components,effects,means,vcovariance,deviance,waldTests;
> > WEIGHTS=INVSD; PSE=differences;MVINCLUDE=*; METHOD=AI] EFFECT
> >
> > When I do this, I get numerous warning messages, including
> warnings that
> > the
> > value of the deviance at the final iteration is larger than
> at previou s
> > iterations, and that the REML algorithm has diverged and
> the parameters
> > are
> > out of bounds.
> >
> > I cannot figure out what I'm doing wrong.  Is there anyone
> here that has
> > good knowledge of both PROC MIXED and REML/VCOMPONENTS that
> can tell me
> > what
> > mistake I'm making in trying to adapt this SAS code?  I am new to
> > GENSTAT.
> >
> > Thank you for your time,
> >
> > James Krieger, M.S.
> > Science Editor, Pure Power Magazine
> > http://www.purepowermag.com
> > Webmaster, WSU Strength and Conditioning
> > http://www.wsu.edu/~strength
> >
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
January 2024
December 2023
November 2023
October 2023
August 2023
June 2023
May 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
September 2020
July 2020
June 2020
April 2020
March 2020
February 2020
December 2019
November 2019
October 2019
September 2019
August 2019
June 2019
May 2019
April 2019
March 2019
February 2019
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
February 2017
January 2017
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
1997
1996
1995


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager