Language: English
Pages: 74
Contents......Page 2
Preface......Page 3
Notation in this booklet......Page 4
Create desktop shortcut icon......Page 5
Windows 98 and ME users only:......Page 6
Do-file editor:[GSW] 15......Page 8
Do-files[U] 19......Page 9
The log files and NoteTab......Page 10
Error messages......Page 11
.dct files: dictionary files[U] 24; [R] infile......Page 12
6.2. Numeric variables[U] 15.2......Page 13
6.3. Missing values[U] 15.2.1......Page 14
Variable lists[U] 14.1.1......Page 15
Weighting observations[U] 14.1.6, [U] 23.13......Page 16
Long command lines[U] 19.1.3......Page 17
Enter data as commands or in a do-file[R] input......Page 18
Reading fixed format data[R] infix; [R] infile (fixed format)......Page 19
Value labels [U] 15.6.3; [R] label......Page 20
Notes[R] notes......Page 21
Arithmetic operators......Page 22
Generating the same value for all observations......Page 23
Reordering variables[R] order......Page 25
10.5. Numbering observations [U] 16.7......Page 26
Merging files[R] merge......Page 27
10.7. Reshaping data......Page 28
11.1. Categorical data......Page 29
Pearson chi2(1) = 5.7308 Pr = 0.017......Page 31
11.2. Continuous variables......Page 32
Non-parametric tests......Page 33
Regression diagnostics [R] Regression diagnostics......Page 34
12.2. Logistic regression......Page 35
Simple analysis – age not included......Page 36
Variable | Obs Mean Std. Dev. Min Max......Page 37
Including age in the analysis......Page 38
14.1. Introduction......Page 40
14.3. The anatomy of graph commands......Page 41
Ticks, labels and gridlines......Page 42
14.5. Placing graph elements......Page 43
X cross......Page 44
14.7. Examples......Page 45
Copy a graph to a document......Page 54
14.9. Schemes: Default appearance......Page 55
Handling huge data sets......Page 56
Non-number strings to numbers......Page 57
Handling complex strings, eg. ICD-10 codes [U] 26.4......Page 58
On Danish CPR numbers: extracting key information......Page 59
Validation of Danish CPR numbers......Page 60
Advanced simulations [R] simulate......Page 61
Stata as a pocket calculator[R] display......Page 62
15.6. Sample size and study power......Page 63
time displays date and time......Page 64
15.9. For old SPSS users......Page 65
Advanced......Page 66
Example 2. gen.visit12a.do generates visit12a.dta from visit12.dta......Page 67
Purchasing Stata and manuals......Page 69
Working with EpiData......Page 70
newlog discards old log and opens new log......Page 72
Index......Page 73