* For further details see http://www.jutze.com/research/2013-schult-et-al-differential-prediction/ * Project: Genderfairness * Purpose of this syntax: data management of the 3rd data set for the "Reanalysen" publication * * written by Johannes Schult, johannes.schult@uni-konstanz.de * last updated 2011-03-02 * * Prepare data set courtesy of Benedikt Hell, Katja Päßler and Heinz Schuler for re-analysis. * * Open original data set (Evaluationsstudie_Daten_Johannes_neu 2011-06-07.sav). GET FILE='myhome\Evaluationsstudie_Daten_Johannes_neu 2011-06-07.sav'. DATASET NAME master WINDOW=FRONT. * Include only students whose native language is German. FILTER OFF. USE ALL. SELECT IF (Muttersprache = 1). EXECUTE. * Delete all cases with missing data on the variables of interest. FILTER OFF. USE ALL. SELECT IF (Geschlecht < 9999 AND fos < 9999 AND abi < 9999 AND gpa < 9999 AND v < 9999 AND n < 9999). EXECUTE. * Save standardized predictor variables. DESCRIPTIVES VARIABLES= abi n v /SAVE /STATISTICS=MEAN STDDEV MIN MAX. * Recode sex. RECODE Geschlecht (1=1) (2=0) INTO female. VARIABLE LABELS female "sex (female)". VALUE LABELS female 0 "male" 1 "female". EXECUTE. * Save standardized criterion variable. * GPAs are standardized within each field of study to control for differences in grading. SORT CASES BY fos. SPLIT FILE SEPARATE BY fos. DESCRIPTIVES VARIABLES=gpa /SAVE /STATISTICS=MEAN STDDEV MIN MAX. SPLIT FILE OFF. * Reverse GPAs (in Germany, low grades are good; after reversing, they are in line with American GPAs, where high grades are good). * Then rename variables (so that variable names are similar across samples) and label them in English. COMPUTE hsgpa = Zabi * (-1). COMPUTE fgpa = Zgpa * (-1). COMPUTE fgpaO = gpa. RENAME VARIABLES (Zv Zn = test_verbal test_numeric). COMPUTE vn = n + v. DESCRIPTIVES VARIABLES= vn /SAVE /STATISTICS=MEAN STDDEV MIN MAX. COMPUTE test_vn = Zvn. VARIABLE LABELS hsgpa "high school grade point average (Abinote, standardized and reversed)" fgpa "frechman grade point average (college grades, standardized and reversed)" fos "field of study" test_verbal "OT verbal score standardized" test_numeric "OT numeric score standardized" test_vn "OT verbal+numeric score (standardized after addition)" abi "Abinote" fgpaO "college gpa (German original scoring)". EXECUTE. * Save data set under a new name (i.e., the name of this syntax file minus cr). SAVE OUTFILE='myhome\set3V1ot.sav' /KEEP abi fgpaO female fos hsgpa fgpa test_verbal test_numeric test_vn /COMPRESSED. * Close window. DATASET CLOSE master.