- Data Analysis with IBM SPSS Statistics
- Kenneth Stehlik Barry Anthony J. Babinec
- 143字
- 2021-07-02 18:13:49
Getting the sample data
The examples in this section will use a subset of the General Social Survey from 2016 with only 28 fields out of the original 896. After downloading and opening the General Social Survey file for 2016 in the SPSS Statistics format, you can run the following code to create a file that will produce the same results shown in this chapter. Remember to change the directory reference on the second line of the SPSS code to reflect the directory on your machine where you want to have this new file saved:
* create GSS2014small with 28 fields.
* change the directory reference below as needed.
SAVE OUTFILE='C:GSS DataGSS2014sm28.sav'
/keep = happy marital hapmar age
VOTE12 PRES12 educ speduc natpark natroad NATENRGY cappun natmass natchld natsci
partyid degree incom16 satfin size spdeg polviews
rincom16 res16 childs wrkstat sex region /COMPRESSED.
推薦閱讀
- 自然語言處理實戰:預訓練模型應用及其產品化
- 零基礎學C++程序設計
- Mastering Objectoriented Python
- 零基礎學Scratch少兒編程:小學課本中的Scratch創意編程
- JavaScript Unlocked
- 微服務設計原理與架構
- FFmpeg入門詳解:音視頻流媒體播放器原理及應用
- 神經網絡編程實戰:Java語言實現(原書第2版)
- 面向STEM的Scratch創新課程
- Spring實戰(第5版)
- Monitoring Elasticsearch
- Mastering Apache Spark 2.x(Second Edition)
- BIM概論及Revit精講
- RabbitMQ Cookbook
- Mastering Unity 2D Game Development(Second Edition)