META ANALYSIS using SPSS – Forest Plot

META ANALYSIS PROGRAM USING SPSS

 

Source:http://www.nabble.com/’Forest-plots’-or-Errror-bar-charts-in-SPSS-td6308879.html

Buat Program dibawah ini dengan SPSS syntax Editor

Kemudian dari SPSS syntax editor, pilih Run > All

 

* Sample dataset (processed data )*.

DATA LIST LIST/ trial(F4) year(A5) study(A10) measure cilow ciup percwi(4 F8.3).

BEGIN DATA

 1 “1989″ “Hodnett  ” .502 .262  .962   4.940

 2 “1991″ “Kennell  ” .352 .216  .575   8.694

 3 “1992″ “Bréart-Fr” .785 .483 1.276   8.878

 4 “1992″ “Bréart-Bg” .811 .653 1.007  44.598

 5 “1997″ “Gagnon   ” .867 .573 1.311  12.237

 6 “1998″ “Langer   ” .280 .203  .384  20.654

 7 “    ” “Total    ” .594 .514  .687 100.000

END DATA.

EXECUTE.

 

* Assuming you have SPSS 14 or higher:

SORT CASES BY trial(D).

STRING YearAndStudy(A30).

COMPUTE YearAndStudy=CONCAT(RTRIM(year),” “,study).

COMPUTE RefLine=1.

 

GGRAPH

  /GRAPHDATASET NAME=”graphdataset” VARIABLES=YearAndStudy ciup cilow measure percwi RefLine

  MISSING=LISTWISE REPORTMISSING=NO

 /GRAPHSPEC SOURCE=INLINE.

BEGIN GPL

 SOURCE: s=userSource(id(“graphdataset”))

 DATA:   YearAndStudy=col(source(s),   name(“YearAndStudy”), unit.category())

 DATA:   ciup=col(source(s),    name(“ciup”))

 DATA:   cilow=col(source(s),   name(“cilow”))

 DATA:   measure=col(source(s), name(“measure”))

 DATA:   percwi=col(source(s),  name(“percwi”))

 DATA:   RefLine=col(source(s), name(“RefLine”))

 COORD:  transpose(rect(dim(1,2), transpose()))

 GUIDE:  axis(dim(2), label(” Favours treatment                 Favours Control”))

 SCALE:  cat(dim(1))

 SCALE:  log(dim(2))

 ELEMENT: interval(position(region.spread.range(YearAndStudy*(cilow+ciup))),

  shape(shape.line), color(color.black))

 ELEMENT: point(position(YearAndStudy*measure), shape(shape.square),

  size(percwi), color.interior(color.black))

 ELEMENT: line(position(YearAndStudy*RefLine), shape(shape.line))

END GPL.

GRAPH /HILO(SIMPLE)=VALUE( ciup cilow measure ) BY study.

 

Meta Analysis SPSS - Forest Plot

meta-analysis-spss-data

Referensi terkait:
http://www.spsstools.net/Syntax/MetaAnalysis/META-SPSS.ZIP

~ by purabuana on March 12, 2009.

Leave a Reply