User Guide for the TIMSS International Database.pdf - TIMSS and ...
User Guide for the TIMSS International Database.pdf - TIMSS and ...
User Guide for the TIMSS International Database.pdf - TIMSS and ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
C H A P T E R 9 P E R F O R M I N G A N A L Y S E S<br />
Figure 9.10<br />
SPSS Control Statements <strong>for</strong> Per<strong>for</strong>ming Analyses with Student-Level Variables<br />
(EXAMPLE1.SPS)<br />
get file = "bsgall1.sys"<br />
/ keep=idcntry idstud idgrader jkindic jkzone totwgt<br />
bsbgday1 bimatscr .<br />
recode bsbgday1 (1,2=2) (8,9=sysmis) (else=copy).<br />
select if not(missing(bsbgday1)).<br />
value labels<br />
idgrader 1 "Seventh Grade " 2 "Eighth Grade " /<br />
bsbgday1 2 "Less than 1 Hr." 3 "1 to 2 hrs. "<br />
4 "3 to 5 hrs. " 5 "More than 5 hrs. " /<br />
idcntry<br />
036 "Australia " 040 "Austria " 056 "Belgium (Fl) "<br />
057 "Belgium (Fr) " 100 "Bulgaria " 124 "Canada "<br />
170 "Colombia " 196 "Cyprus " 200 "Czech Republic "<br />
208 "Denmark " 826 "Engl<strong>and</strong> " 250 "France "<br />
280 "Germany " 300 "Greece " 344 "Hong Kong "<br />
348 "Hungary " 352 "Icel<strong>and</strong> " 364 "Iran, Islamic Rep "<br />
372 "Irel<strong>and</strong> " 376 "Israel " 380 "Italy "<br />
392 "Japan " 410 "Korea " 414 "Kuwait "<br />
428 "Latvia (LSS) " 440 "Lithuania " 528 "Ne<strong>the</strong>rl<strong>and</strong>s "<br />
554 "New Zeal<strong>and</strong> " 578 "Norway " 608 "Philippines "<br />
620 "Portugal " 642 "Romania " 643 "Russian Federation "<br />
827 "Scotl<strong>and</strong> " 702 "Singapore " 201 "Slovak Republic "<br />
890 "Slovenia " 717 "South Africa " 724 "Spain "<br />
752 "Sweden " 756 "Switzerl<strong>and</strong> " 764 "Thail<strong>and</strong> "<br />
840 "United States " .<br />
* Now use <strong>the</strong> macro JACK to get <strong>the</strong> results.<br />
include "jack.sps".<br />
jack cvar = idcntry idgrader bsbgday1 /<br />
dvar = bimatscr /<br />
njkr = 75 /<br />
jkz = jkzone /<br />
jki = jkindic /<br />
wgt = totwgt /<br />
sort cases by idcntry idgrader.<br />
temporary.<br />
select if idgrader = 2.<br />
report <strong>for</strong>mat=list automatic<br />
/ var = bsbgday1 (label) totwgt mnx mnx_se pct pct_se<br />
/ break = idcntry idgrader.<br />
9 - 2 4 T I M S S D A T A B A S E U S E R G U I D E