SPSStoSample251

SPSStoSample251 - Math 251: Using SPSS to find a Simple...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
224 Math 251: Using SPSS to find a Simple Random Sample (SRS) from a sampling frame given to us as an SPSS data file. (Including a HW exercise.) Open the data file (for this example, use csdata.por , in Class Material\Math251-IPS5e \ DataSets\SPSS\Appendix ) Save the file for yourself. Make a histogram of the GPA's of the whole data set, and find the mean and standard deviation. (This is our “population” = “sampling frame” here.) The population has 224 cases here. To take a sample of size 5 : In the Data Editor, do Data> Select Cases. Select Random sample of cases . Click the Sample… button. Get this Select Cases: Random Sample box. We want 5 cases, chosen from the whole list, so we choose and fill in the second line accordingly. Continue, OK In the Data Editor, Data View, note there is a new variable, filter_$ , and all but 5 of the cases have slashes through their numbers.— and 0 in the filter_$ column. The selected sample of 5 have no slashes, and 1 in the filter variable. Any procedures done now will use only the sample of 5, with the 1's marking the chosen cases. The filter_$ variable will disappear if you undo this sampling selection, so go to the Variable View and type over filter_$ with the name Sample , to keep this filter. Save your file now. To undo the selection of the sample,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/07/2011 for the course ECON 101 taught by Professor Johnson during the Spring '11 term at Sciences Po.

Page1 / 3

SPSStoSample251 - Math 251: Using SPSS to find a Simple...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online