Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

USING STATA FOR QUANTITATIVE ANALYSIS

(ISBN: 9781412997119)
(File ly t: www.sagepub.com/longest)
Chapter 1. Getting started with Data files
- Lun to 1 ci copy ca data file trc khi lm bo v
- Cc cch nhp d liu: +Copy/paste th cng, +Chn FileImport nhp t Excel
- Cc loi variables in data files: Mi row l infor cho mi case, mi column l mt variable
VD:
ids gender agecats employst religoth
4184 Male 23 Employed Baptist
4331 Female 18 In school Mormon
- C 2 cch ghi li cu tr li cho nhng cu hi kiu nh Are you: a.male? b.female?:
+ Cch 1: Dng string variable (u: c th enter verbatim answers to questions directly into
Stata (ging nh gender hay religoth trn; nhc: i khi some statistical operations cn
numbers, v d mun tnh the mean of a variable each category must be assigned a numeric
value.)
NOTE: String variable c mu strong Data Browser window! Variable types c th c xem
trong Properties windows. Thm 1 ci na l VD: religoth c hiu str31 s k t c dng l 31
+ Cch 2: Dng numerical variable: Actual numbers attached to each response!
Solutions to chapter exercises:
Cu 4: Ch c cendiv l string variable, cc ci khc l numeric variables, mjc d c value labels.
Mun xem chut phi hide all value labels!
Chapter 2. The Essentials
(Chapter goals: 1. Conceptual approach to learning Stata commands ko fi memorize, 2. Present 5
fundamental STATA commands for the vast majority of research projects khi hon thnh s master a
significant portion of using STATA to accomplish your research.)
1. Structure of Stata commands:

You might also like