- Page 1 and 2:
A Stata Press PublicationStataCorp
- Page 3 and 4:
iTable of contentsStata basics1 Rea
- Page 5 and 6:
iii8.2 The return message for obtai
- Page 7 and 8:
v14 Matrix expressions . . . . . .
- Page 9 and 10:
vii18.11.6 Writing online help . .
- Page 11 and 12:
ix25.2.15 Treatment of empty cells
- Page 13:
Stata basics1 Read this—it will h
- Page 16 and 17:
4 [ U ] 1 Read this—it will helpA
- Page 18 and 19:
6 [ U ] 1 Read this—it will helpW
- Page 20 and 21:
8 [ U ] 1 Read this—it will helpW
- Page 22 and 23:
10 [ U ] 1 Read this—it will help
- Page 24 and 25:
12 [ U ] 1 Read this—it will help
- Page 26 and 27:
14 [ U ] 1 Read this—it will help
- Page 28 and 29:
16 [ U ] 1 Read this—it will help
- Page 30 and 31:
18 [ U ] 1 Read this—it will help
- Page 32 and 33: 20 [ U ] 1 Read this—it will help
- Page 34 and 35: 22 [ U ] 1 Read this—it will help
- Page 36 and 37: 24 [ U ] 1 Read this—it will help
- Page 38 and 39: 26 [ U ] 1 Read this—it will help
- Page 40 and 41: 28 [ U ] 1 Read this—it will help
- Page 42 and 43: 30 [ U ] 1 Read this—it will help
- Page 44 and 45: 32 [ U ] 1 Read this—it will help
- Page 46 and 47: 34 [ U ] 1 Read this—it will help
- Page 48 and 49: 36 [ U ] 2 A brief description of S
- Page 50 and 51: 38 [ U ] 2 A brief description of S
- Page 52 and 53: 40 [ U ] 3 Resources for learning a
- Page 54 and 55: 42 [ U ] 3 Resources for learning a
- Page 56 and 57: 44 [ U ] 3 Resources for learning a
- Page 58: 46 [ U ] 3 Resources for learning a
- Page 61: [ U ] 4.3 help: Stata’s help syst
- Page 64 and 65: 52 [ U ] 4 Stata’s help and searc
- Page 66 and 67: 54 [ U ] 4 Stata’s help and searc
- Page 68 and 69: 56 [ U ] 4 Stata’s help and searc
- Page 70 and 71: 58 [ U ] 5 Flavors of Stata5.2 Stat
- Page 72 and 73: 60 [ U ] 5 Flavors of StataThe diff
- Page 74 and 75: 62 [ U ] 6 Setting the size of memo
- Page 76 and 77: 64 [ U ] 6 Setting the size of memo
- Page 78 and 79: 66 [ U ] 6 Setting the size of memo
- Page 80 and 81: 68 [ U ] 6 Setting the size of memo
- Page 84 and 85: 72 [ U ] 8 Error messages and retur
- Page 87 and 88: 9 The Break keyContents9.1 Making S
- Page 89 and 90: 10 Keyboard useContents10.1 Descrip
- Page 91 and 92: [ U ] 10.3 Editing keys in Stata 79
- Page 93 and 94: [ U ] 10.5 Editing previous lines i
- Page 95: Elements of Stata11 Language syntax
- Page 98 and 99: 86 [ U ] 11 Language syntax11.1.1 v
- Page 100 and 101: 88 [ U ] 11 Language syntaxThe data
- Page 102 and 103: 90 [ U ] 11 Language syntaxThe resu
- Page 104 and 105: 92 [ U ] 11 Language syntaxExample
- Page 106 and 107: 94 [ U ] 11 Language syntaxTechnica
- Page 108 and 109: 96 [ U ] 11 Language syntaxDates sp
- Page 110 and 111: 98 [ U ] 11 Language syntaxThis rul
- Page 112 and 113: 100 [ U ] 11 Language syntax11.4 va
- Page 114 and 115: 102 [ U ] 11 Language syntaxTyping
- Page 116 and 117: 104 [ U ] 11 Language syntax11.4.3.
- Page 118 and 119: 106 [ U ] 11 Language syntaxor you
- Page 120 and 121: 108 [ U ] 11 Language syntax11.4.3.
- Page 122 and 123: 110 [ U ] 11 Language syntaxSee [TS
- Page 124 and 125: 112 [ U ] 11 Language syntax. by re
- Page 126 and 127: 114 [ U ] 11 Language syntaxBy typi
- Page 128 and 129: 116 [ U ] 11 Language syntax11.6.1
- Page 130 and 131: 118 [ U ] 12 Data12.2 NumbersA numb
- Page 132 and 133:
120 [ U ] 12 DataTechnical noteBefo
- Page 134 and 135:
122 [ U ] 12 DataThe correlation co
- Page 136 and 137:
124 [ U ] 12 Data12.4.3 Strings con
- Page 138 and 139:
126 [ U ] 12 DataThe e format is si
- Page 140 and 141:
128 [ U ] 12 Data. use http://www.s
- Page 142 and 143:
130 [ U ] 12 Data. format %18s make
- Page 144 and 145:
132 [ U ] 12 DataFrom then on, the
- Page 146 and 147:
134 [ U ] 12 DataTechnical noteValu
- Page 148 and 149:
136 [ U ] 12 DataThe label define c
- Page 150 and 151:
138 [ U ] 12 Dataor something like
- Page 152 and 153:
140 [ U ] 12 Datacharacteristics: d
- Page 155 and 156:
13 Functions and expressionsContent
- Page 157 and 158:
[ U ] 13.2 Operators 145Example 3Th
- Page 159 and 160:
13.2.5 Order of evaluation, all ope
- Page 161 and 162:
13.5.1 Single-equation models[ U ]
- Page 163 and 164:
[ U ] 13.6 Accessing results from S
- Page 165 and 166:
[ U ] 13.7 Explicit subscripting 15
- Page 167 and 168:
[ U ] 13.7 Explicit subscripting 15
- Page 169 and 170:
[ U ] 13.9 Time-series operators 15
- Page 171 and 172:
13.11 Precision and problems therei
- Page 173 and 174:
14 Matrix expressionsContents14.1 O
- Page 175 and 176:
[ U ] 14.2 Row and column names 163
- Page 177 and 178:
[ U ] 14.2 Row and column names 165
- Page 179 and 180:
[ U ] 14.2 Row and column names 167
- Page 181 and 182:
[ U ] 14.4 Inputting matrices by ha
- Page 183 and 184:
[ U ] 14.7 Matrix operators 171matr
- Page 185 and 186:
[ U ] 14.9 Subscripting 17314.9 Sub
- Page 187 and 188:
15 Saving and printing output—log
- Page 189 and 190:
[ U ] 15.1 Overview 177. type sessi
- Page 191 and 192:
15.2 Placing comments in logs[ U ]
- Page 193 and 194:
16 Do-filesContents16.1 Description
- Page 195 and 196:
[ U ] 16.1 Description 183When runn
- Page 197 and 198:
[ U ] 16.1 Description 185Example 2
- Page 199 and 200:
[ U ] 16.1 Description 187. do myjo
- Page 201 and 202:
16.3 Creating and running do-files[
- Page 203 and 204:
[ U ] 16.4 Programming with do-file
- Page 205:
16.5 ReferencesBaum, C. F. 2009. An
- Page 208 and 209:
196 [ U ] 17 Ado-files17.2 What is
- Page 210 and 211:
198 [ U ] 17 Ado-files17.5.1 Where
- Page 212 and 213:
200 [ U ] 17 Ado-filesWhat to do ne
- Page 214 and 215:
202 [ U ] 18 Programming StataStata
- Page 216 and 217:
204 [ U ] 18 Programming Stata1. Wr
- Page 218 and 219:
206 [ U ] 18 Programming Stata18.3.
- Page 220 and 221:
208 [ U ] 18 Programming StataGloba
- Page 222 and 223:
210 [ U ] 18 Programming Stata(assu
- Page 224 and 225:
212 [ U ] 18 Programming StataAnoth
- Page 226 and 227:
214 [ U ] 18 Programming StataThus
- Page 228 and 229:
216 [ U ] 18 Programming Stataat th
- Page 230 and 231:
218 [ U ] 18 Programming StataOpera
- Page 232 and 233:
220 [ U ] 18 Programming Statavarna
- Page 234 and 235:
222 [ U ] 18 Programming StataEquiv
- Page 236 and 237:
224 [ U ] 18 Programming Stata‘va
- Page 238 and 239:
226 [ U ] 18 Programming Statagetto
- Page 240 and 241:
228 [ U ] 18 Programming Stata18.7.
- Page 242 and 243:
230 [ U ] 18 Programming StataAltho
- Page 244 and 245:
232 [ U ] 18 Programming Stata3. Es
- Page 246 and 247:
234 [ U ] 18 Programming StataThe r
- Page 248 and 249:
236 [ U ] 18 Programming Statae(F)
- Page 250 and 251:
238 [ U ] 18 Programming Stataand s
- Page 252 and 253:
240 [ U ] 18 Programming Stata18.11
- Page 254 and 255:
242 [ U ] 18 Programming Stata18.11
- Page 256 and 257:
244 [ U ] 18 Programming Statabegin
- Page 258 and 259:
246 [ U ] 18 Programming Statabroke
- Page 260 and 261:
248 [ U ] 18 Programming StataYou c
- Page 262 and 263:
250 [ U ] 18 Programming StataOptio
- Page 264 and 265:
252 [ U ] 18 Programming Stata9. Op
- Page 267 and 268:
19 Immediate commandsContents19.1 O
- Page 269 and 270:
[ U ] 19.1 Overview 257The immediat
- Page 271 and 272:
20 Estimation and postestimation co
- Page 273 and 274:
[ U ] 20.1 All estimation commands
- Page 275 and 276:
[ U ] 20.2 Standard syntax 263. use
- Page 277 and 278:
[ U ] 20.4 Cataloging estimation re
- Page 279 and 280:
[ U ] 20.6 Specifying the estimatio
- Page 281 and 282:
[ U ] 20.8 Obtaining the variance-c
- Page 283 and 284:
[ U ] 20.9 Obtaining predicted valu
- Page 285 and 286:
[ U ] 20.9 Obtaining predicted valu
- Page 287 and 288:
[ U ] 20.10 Accessing estimated coe
- Page 289 and 290:
[ U ] 20.10 Accessing estimated coe
- Page 291 and 292:
[ U ] 20.11 Performing hypothesis t
- Page 293 and 294:
[ U ] 20.11 Performing hypothesis t
- Page 295 and 296:
[ U ] 20.13 Obtaining nonlinear com
- Page 297 and 298:
[ U ] 20.14 Obtaining marginal mean
- Page 299 and 300:
[ U ] 20.14 Obtaining marginal mean
- Page 301 and 302:
[ U ] 20.14 Obtaining marginal mean
- Page 303 and 304:
[ U ] 20.14 Obtaining marginal mean
- Page 305 and 306:
[ U ] 20.14 Obtaining marginal mean
- Page 307 and 308:
[ U ] 20.15 Obtaining conditional a
- Page 309 and 310:
[ U ] 20.16 Obtaining robust varian
- Page 311 and 312:
[ U ] 20.16 Obtaining robust varian
- Page 313 and 314:
[ U ] 20.16 Obtaining robust varian
- Page 315 and 316:
[ U ] 20.17 Obtaining scores 303We
- Page 317 and 318:
[ U ] 20.18 Weighted estimation 305
- Page 319 and 320:
20.18.2 Analytic weights[ U ] 20.18
- Page 321 and 322:
[ U ] 20.18 Weighted estimation 309
- Page 323 and 324:
✄✂[ U ] 20.20 References 311Hal
- Page 325 and 326:
Advice21 Inputting data . . . . . .
- Page 327 and 328:
21 Inputting dataContents21.1 Overv
- Page 329 and 330:
[ U ] 21.2 Determining which input
- Page 331 and 332:
[ U ] 21.2 Determining which input
- Page 333 and 334:
[ U ] 21.3 If you run out of memory
- Page 335:
[ U ] 21.6 Reference 323If the data
- Page 338 and 339:
326 [ U ] 22 Combining datasetsAlso
- Page 340 and 341:
328 [ U ] 23 Working with strings.
- Page 342 and 343:
330 [ U ] 23 Working with strings23
- Page 344 and 345:
332 [ U ] 24 Working with dates and
- Page 346 and 347:
334 [ U ] 24 Working with dates and
- Page 348 and 349:
336 [ U ] 24 Working with dates and
- Page 350 and 351:
338 [ U ] 24 Working with dates and
- Page 352 and 353:
340 [ U ] 25 Working with categoric
- Page 354 and 355:
342 [ U ] 25 Working with categoric
- Page 356 and 357:
344 [ U ] 25 Working with categoric
- Page 358 and 359:
346 [ U ] 25 Working with categoric
- Page 360 and 361:
348 [ U ] 25 Working with categoric
- Page 362 and 363:
350 [ U ] 25 Working with categoric
- Page 364 and 365:
352 [ U ] 25 Working with categoric
- Page 366 and 367:
354 [ U ] 25 Working with categoric
- Page 368 and 369:
356 [ U ] 25 Working with categoric
- Page 370 and 371:
358 [ U ] 26 Overview of Stata esti
- Page 372 and 373:
360 [ U ] 26 Overview of Stata esti
- Page 374 and 375:
362 [ U ] 26 Overview of Stata esti
- Page 376 and 377:
364 [ U ] 26 Overview of Stata esti
- Page 378 and 379:
366 [ U ] 26 Overview of Stata esti
- Page 380 and 381:
368 [ U ] 26 Overview of Stata esti
- Page 382 and 383:
370 [ U ] 26 Overview of Stata esti
- Page 384 and 385:
372 [ U ] 26 Overview of Stata esti
- Page 387 and 388:
27 Commands everyone should knowCon
- Page 389 and 390:
28 Using the Internet to keep up to
- Page 391 and 392:
[ U ] 28.3 Official updates 379Afte
- Page 393 and 394:
[ U ] 28.3 Official updates 3812. I
- Page 395 and 396:
28.3.6 Updating both ado-files and
- Page 397 and 398:
[ U ] 28.4 Downloading and managing
- Page 399 and 400:
[ U ] 28.5 Making your own download
- Page 401 and 402:
Subject and author index 389Subject
- Page 403 and 404:
Subject and author index 391encode
- Page 405 and 406:
Subject and author index 393margins
- Page 407 and 408:
Subject and author index 395standar