0% found this document useful (0 votes)
45 views

Centering in SPSS: Newsom USP 656 Multilevel Regression Winter 2006

This document provides instructions for centering variables in SPSS for use in multilevel modeling. It explains that grand-mean centering in SPSS is relatively simple, though a separate descriptive analysis is needed. Group-mean centering is somewhat more inconvenient in SPSS, though newer versions have added features to make computations easier. The document provides SPSS syntax examples to illustrate entering computations with the NHSUP variable from HLM.

Uploaded by

Jagadish Gowda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Centering in SPSS: Newsom USP 656 Multilevel Regression Winter 2006

This document provides instructions for centering variables in SPSS for use in multilevel modeling. It explains that grand-mean centering in SPSS is relatively simple, though a separate descriptive analysis is needed. Group-mean centering is somewhat more inconvenient in SPSS, though newer versions have added features to make computations easier. The document provides SPSS syntax examples to illustrate entering computations with the NHSUP variable from HLM.

Uploaded by

Jagadish Gowda
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Newsom USP 656 Multilevel Regression Winter 2006

Centering in SPSS The HLM pa !ages ma!es entering "either group# or gran$#mean entering% ver& onvenient' (ran$#mean entering in SPSS is relativel& simple) although a separate $es riptive anal&sis is nee$e$ "using the e*a t same samples si+e as use$ in the M,-./ mo$el0%' (roup#mean entering in SPSS is somewhat in onvenient) however "SPSS 12 an$ higher has a$$e$ a $ata wi+ar$ that ma& ma!e omputation o3 group# entere$ varia4les somewhat easier%' ,t is alwa&s a goo$ i$ea to he ! &our $ata at several steps along the wa&) as , have shown here' , provi$e some e*ample SPSS s&nta* to illustrate entering omputations with the NHSUP varia4le 3rom HW1' 5omment lines $esignate$ 4& 67 76 are ignore$ 4& SPSS'
GET FILE='c:\jason\spsswin\mlrclass\school.sav'. /* CREATE AGGREGATE %& schn'm. C!""L#LE$EL $ARIA%LE */

"RT CA E

AGGREGATE "(TFILE='a))*il+' /%REA, schn'm /m+ans'p=-EA./nhs'p0. /* -ATC! FILE s'6comman3 */ lin1s a))r+)a2+3 3a2a wi2h L+v+l#4 3a2a5no2+ 2h+ TA%LE

-ATC! FILE FILE='c:\jason\spsswin\mlrclass\school.sav' /TA%LE=a))*il+ /%& schn'm /,EE7=ALL. LI T $AR =schn'm nhs'p m+ans'p /CA E =FR"- 4 T" 89. :E CRI7TI$E $AR =nhs'p m+ans'p.

/* Gro'p m+an c+n2+rin) o* .! (7 */ C"-7(TE )ro'ps'p=nhs'p # m+ans'p. :E CRI7TI$E $AR =nhs'p )ro'ps'p.

/* Gran3 m+an c+n2+rin) o* .! (7 /2h+ val'+ 4.;<4;=;> was o62ain+3 *rom 2h+ prior anal?sis0 */ C"-7(TE )ran3s'p=nhs'p # 4.;<4;=;>. :E CRI7TI$E $AR =nhs'p )ran3s'p.

LI T $AR =schn'm nhs'p )ro'ps'p )ran3s'p.

8ou an also he ! the 9((R.(9T. results 4& in lu$ing a (.T :,L.;<agg3ile< omman$ an$ a /.S5R,PT,=.S =9RS;9LL omman$ 3ollowing the 9((R.(9T. omman$s' >e are3ul) however) 4e ause the su4se?uent M9T5H :,L.S statement will no longer wor!' So) a separate run to mat h the 3iles will 4e nee$e$ where the original 3ile is retrieve$ an$ the aggregate 3ile is not retrieve$'

You might also like