CHAPTER 7: ANALYSES WITH PLAUSIBLE VALUES
Chapter 7: Analyses with Plausible Values
Box 7.1: SPSS syntax for computing the mean on the mathematics literacy scale
Box 7.2: SPSS syntax for computing the mean and its standard error on plausible values
Box 7.3: SPSS syntax for computing the STD and its standard error on plausible values per gender
Box 7.4: SPSS syntax for computing regression coefficients and their standard errors on plausible values
Box 7.5: SPSS syntax for running the simple linear regression macro with PVs
Box 7.6: SPSS syntax for running the correlation macro with PVs
Box 7.7: SPSS syntax for the computation of the correlation between mathematics /quantity and shape and mathematics /space and shape
Box 7.1: SPSS syntax for computing the mean on the mathematics literacy scale
[pic]
Box 7.2: SPSS syntax for computing the mean and its standard error on plausible values
[pic]
Box 7.3: SPSS syntax for computing the STD and its standard error on plausible values per gender
[pic]
Box 7.4: SPSS syntax for computing regression coefficients and their standard errors on plausible values
[pic]
Box 7.5: SPSS syntax for running the simple linear regression macro with PVs
[pic]
Box 7.6: SPSS syntax for running the correlation macro with PVs
[pic]
Box 7.7: SPSS syntax for the computation of the correlation between mathematics /quantity and shape and mathematics /space and shape
[pic]
-----------------------
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
Select if (cnt='DEU').
save outfile='c:\PISA\Data2003\DEU.sav'.
* DEFINE MACRO.
include file "c:\pisa\macros\mcr_SE_univ.sps".
* CALL MACRO 5 TIMES.
univar nrep = 80/ stat = mean/ dep = pv1math/ grp = cnt/
wgt = w_fstuwt/ rwgt = w_fstr/ cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'.
rename vars (stat se=stat1 se1).
save outfile='c:\temp\ex1.sav' /drop=var.
univar nrep = 80/ stat = mean/ dep = pv2math/ grp = cnt/
wgt = w_fstuwt/ rwgt = w_fstr/ cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'.
rename vars (stat se=stat2 se2).
save outfile='c:\temp\ex2.sav' /drop=var.
univar nrep = 80/ stat = mean/ dep = pv3math/ grp = cnt/
wgt = w_fstuwt/ rwgt = w_fstr/ cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'.
rename vars (stat se=stat3 se3).
save outfile='c:\temp\ex3.sav' /drop=var.
univar nrep = 80/ stat = mean/ dep = pv4math/ grp = cnt/
wgt = w_fstuwt/ rwgt = w_fstr/ cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'.
rename vars (stat se=stat4 se4).
save outfile='c:\temp\ex4.sav' /drop=var.
univar nrep = 80/ stat = mean/ dep = pv5math/ grp = cnt/
wgt = w_fstuwt/ rwgt = w_fstr/ cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'.
rename vars (stat se=stat5 se5).
save outfile='c:\temp\ex5.sav' /drop=var.
match files file='c:\temp\ex1.sav' /file='c:\temp\ex2.sav'
/file='c:\temp\ex3.sav' /file='c:\temp\ex4.sav'
/file='c:\temp\ex5.sav' /by cnt.
exe.
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
Select if (cnt='DEU').
save outfile='c:\PISA\Data2003\DEU.sav'.
* DEFINE MACRO.
include file ‘c:\pisa\macros\mcr_SE_pv.sps’.
* CALL MACRO.
PV nrep = 80/
stat = mean/
dep = math/
grp = cnt/
wgt = w_fstuwt/
rwgt = w_fstr/
cons = 0.05/
infile = ‘c:\PISA\Data2003\DEU.sav’/.
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
Select if (cnt='DEU' & not missing(st03q01)).
save outfile='c:\PISA\DAta2003\DEU.sav'.
* DEFINE MACRO.
include file 'c:\pisa\macros\mcr_SE_pv.sps'.
* CALL MACRO.
PV nrep = 80/
stat = sd/
dep = math /
grp = cnt st03q01/
wgt = w_fstuwt/
rwgt = w_fstr/
cons = 0.05/
infile = 'c:\PISA\DAta2003\DEU.sav'/.
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
select if (cnt='DEU' & not missing(st03q01) & not missing (HISEI)).
compute gender=0.
if (st03q01=1) gender=1.
save outfile='c:\PISA\Data2003\DEU.sav'.
* DEFINE MACRO.
include file='C:\PISA\macros\mcr_SE_reg.sps'.
* CALL MACRO.
REGnoPV nrep = 80/ ind = hisei gender/ dep = pv1math/
grp = cnt/ wgt = w_fstuwt/ rwgt = w_fstr/
cons = 0.05/ infile = 'c:\PISA\Data2003\DEU.sav'/.
RENAME VARS (STAT SE=STAT1 SE1).
save outfile='c:\temp\temp1.sav' /drop=var.
REGnoPV nrep = 80/ ind = hisei gender/ dep = pv2math/
grp = cnt/ wgt = w_fstuwt/ rwgt = w_fstr/
cons = 0.05/ infile = 'c:\PISA\Data2003\DEU.sav'/.
RENAME VARS (STAT SE=STAT2 SE2).
save outfile='c:\temp\temp2.sav' /drop=var.
REGnoPV nrep = 80/ ind = hisei gender/ dep = pv3math/
grp = cnt/ wgt = w_fstuwt/ rwgt = w_fstr/
cons = 0.05/ infile = 'c:\PISA\Data2003\DEU.sav'/.
RENAME VARS (STAT SE=STAT3 SE3).
save outfile='c:\temp\temp3.sav' /drop=var.
REGnoPV nrep = 80/ ind = hisei gender/ dep = pv4math/
grp = cnt/ wgt = w_fstuwt/ rwgt = w_fstr/
cons = 0.05/ infile = 'c:\PISA\Data2003\DEU.sav'/.
RENAME VARS (STAT SE=STAT4 SE4).
save outfile='c:\temp\temp4.sav' /drop=var.
REGnoPV nrep = 80/ ind = hisei gender/ dep = pv5math/
grp = cnt/ wgt = w_fstuwt/ rwgt = w_fstr/
cons = 0.05/ infile = 'c:\PISA\Data2003\DEU.sav'/.
RENAME VARS (STAT SE=STAT5 SE5).
save outfile='c:\temp\temp5.sav' /drop=var.
MATCH FILES file='c:\temp\temp1.sav' /file='c:\temp\temp2.sav'
file='c:\temp\temp3.sav' file='c:\temp\temp4.sav' file='c:\temp\temp5.sav'
by CNT ind.
exe.
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
select if (cnt='DEU' & not missing(st03q01) & not missing (HISEI)).
compute gender=0.
if (st03q01=1) gender=1.
save outfile='c:\PISA\Data2003\DEU.sav'.
* DEFINE MACRO.
include file ‘c:\pisa\macros\mcr_SE_reg_PV.sps’.
* CALL MACRO.
REG_PV nrep = 80/
ind = hisei gender/
dep = math/
grp = cnt/
wgt = w_fstuwt/
rwgt = w_fstr/
cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'/.
* RESTRUCTURE DATA (OPTIONAL).
Recode IND ('HISEI'='b1')('gender'='b2').
sort cases by cnt ind.
CASESTOVARS /ID = cnt /INDEX = ind /GROUPBY = index
/drop= stat1 stat2 stat3 stat4 stat5 var1 var2 var3 var4 var5 pv_var pvar1 pvar2 pvar3 pvar4 pvar5 pvmerr.
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
select if (cnt='DEU').
save outfile='c:\PISA\Data2003\DEU.sav'.
* DEFINE MACRO.
include file "C:\PISA\macros\mcr_SE_cor_1PV.sps".
* CALL MACRO.
COR_1PV nrep = 80/
nopv = hisei/
pv = math/
grp = cnt/
wgt = w_fstuwt/
rwgt = w_fstr/
cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'/.
get file 'C:\PISA\Data2003\INT_stui_2003.sav'.
select if (cnt='DEU').
save outfile='c:\PISA\Data2003\DEU.sav'.
* DEFINE MACRO.
include file "c:\pisa\macros\mcr_SE_cor_2PV.sps".
* CALL MACRO.
COR_2PV nrep = 80/
pv1 = math1/
pv2 = math4/
grp = cnt/
wgt = w_fstuwt/
rwgt = w_fstr/
cons = 0.05/
infile = 'c:\PISA\Data2003\DEU.sav'/.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- chapter 7 learning psychology quizlet
- chapter 7 financial management course
- chapter 7 connect
- chapter 7 connect finance
- chapter 7 photosynthesis quizlet
- chapter 7 psychology quizlet
- psychology chapter 7 quiz quizlet
- chapter 7 psychology quizlet test
- chapter 7 learning quizlet
- psychology chapter 7 quizlet exam
- psychology chapter 7 learning
- psychology chapter 7 test questions