I'm replicating an exercise from MacInnes, Secondary Data Anlysis (Sage 2017) using an 8-item depression inventory from the 2012 European Social Survey. A software error in CAPI meant that the 8th item was not asked in Albania. He does imputes a score for Albanians by multiplying their score across 7 items by a factor of 8/7. I'm running checks to see if this is legitmate. I've a feeling that this is not comparing like with like. Exercise 1 is to count the number of missing values across the 8 items. COUNT depmiss2=fltdpr flteeff slprl wrhpp fltlnl enjlf fltsd cldgng (7 8 9). FREQ depmiss2 . depmiss2 Frequency Percent Valid Percent Cumulative Percent Valid .00 53542 94.2 94.2 94.2
Exercise 2 is to use SUM.7 to take account of the missing item in Alabania.. COMPUTE depress7from8 = sum.7 (fltdpr, flteeff, slprl, wrhpp2, fltlnl, enjlf2, fltsd, cldgng) . FREQ depress7from8 . depress7from8 Frequency Percent Valid Percent Cumulative Percent
Missing System 1164 2.0 When I ask for a contingency table values 2 thru 8 for depmiss2 disappear CRO depress7from8 by depmiss2 . depress7from8 * depmiss2 Crosstabulation Count
depress7from8 7.00 2 22 24
Any idea why? Sorry about the table formats: they won't copy to gmail.. Hope to get Outlook back soon. If anyone wants to check for themselves, the video and syntax for Chapter 5 video 6 are on the companion website: John F Hall [Retired academic survey researcher] IBM-SPSS Academic author 9900074
Email: johnfhall@... Website: http://surveyresearch.weebly.com/ Course: http://surveyresearch.weebly.com/1-survey-analysis-workshop-spss.html Research: http://surveyresearch.weebly.com/3-subjective-social-indicators-quality-of-life.html |
I've managed to get the desired output by creating a new data set with only the variables of interest. cntry "Country of survey" is a string: country is produced with AUTORECODE
Almost by instinct I went back to the source data set and tried:
Bingo! Both tables specified with:
now display all values of depmiss2. John F Hall [Retired academic survey researcher] IBM-SPSS Academic author 9900074
Email: johnfhall@... Website: http://surveyresearch. Course: http://surveyresearch.weebly. Research: http:// |
Free forum by Nabble | Edit this page |