- 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.
推薦閱讀
- Vue 3移動(dòng)Web開(kāi)發(fā)與性能調(diào)優(yōu)實(shí)戰(zhàn)
- 編程卓越之道(卷3):軟件工程化
- SQL基礎(chǔ)教程(視頻教學(xué)版)
- Mastering ServiceNow(Second Edition)
- 自制編程語(yǔ)言
- 硅谷Python工程師面試指南:數(shù)據(jù)結(jié)構(gòu)、算法與系統(tǒng)設(shè)計(jì)
- Rust游戲開(kāi)發(fā)實(shí)戰(zhàn)
- Java程序設(shè)計(jì)與項(xiàng)目案例教程
- 零基礎(chǔ)C#學(xué)習(xí)筆記
- Node.js 6.x Blueprints
- LabVIEW入門(mén)與實(shí)戰(zhàn)開(kāi)發(fā)100例(第4版)
- MySQL核心技術(shù)與最佳實(shí)踐
- Microsoft XNA 4.0 Game Development Cookbook
- Apache Kafka 1.0 Cookbook
- MonoTouch應(yīng)用開(kāi)發(fā)實(shí)踐指南:使用C#和.NET開(kāi)發(fā)iOS應(yīng)用