forked from HHS-AHRQ/MEPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExercise7.LST
617 lines (545 loc) · 63.6 KB
/
Exercise7.LST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
2017 AHRQ MEPS DATA USERS WORKSHOP 1
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
CREATE COUNT VARIABLES FOR # OF MONTHS WITH INSURANCE
The FREQ Procedure
# OF MONTHS COV BY PRIVATE INSU
Cumulative Cumulative
PRI_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 17530 50.27 17530 50.27
1 163 0.47 17693 50.73
2 173 0.50 17866 51.23
3 253 0.73 18119 51.95
4 289 0.83 18408 52.78
5 319 0.91 18727 53.70
6 311 0.89 19038 54.59
7 301 0.86 19339 55.45
8 354 1.02 19693 56.47
9 436 1.25 20129 57.72
10 416 1.19 20545 58.91
11 386 1.11 20931 60.02
12 13944 39.98 34875 100.00
# OF MONTHS COV BY ANY INSU
Cumulative Cumulative
INS_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 4968 14.25 4968 14.25
1 194 0.56 5162 14.80
2 274 0.79 5436 15.59
3 316 0.91 5752 16.49
4 407 1.17 6159 17.66
5 503 1.44 6662 19.10
6 504 1.45 7166 20.55
7 456 1.31 7622 21.86
8 634 1.82 8256 23.67
9 703 2.02 8959 25.69
10 692 1.98 9651 27.67
11 687 1.97 10338 29.64
12 24537 70.36 34875 100.00
# OF MONTHS WITHOUT INSU
Cumulative Cumulative
UNINS_N Frequency Percent Frequency Percent
------------------------------------------------------------
0 25534 73.22 25534 73.22
1 682 1.96 26216 75.17
2 656 1.88 26872 77.05
3 679 1.95 27551 79.00
4 578 1.66 28129 80.66
5 403 1.16 28532 81.81
6 415 1.19 28947 83.00
7 437 1.25 29384 84.26
8 306 0.88 29690 85.13
9 251 0.72 29941 85.85
10 206 0.59 30147 86.44
11 170 0.49 30317 86.93
12 4558 13.07 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 2
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
CREATE COUNT VARIABLES FOR # OF MONTHS WITH INSURANCE
The FREQ Procedure
# OF MONTHS COV BY MEDICAID
Cumulative Cumulative
MCD_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 23593 67.65 23593 67.65
1 148 0.42 23741 68.07
2 212 0.61 23953 68.68
3 266 0.76 24219 69.45
4 333 0.95 24552 70.40
5 332 0.95 24884 71.35
6 366 1.05 25250 72.40
7 317 0.91 25567 73.31
8 393 1.13 25960 74.44
9 413 1.18 26373 75.62
10 405 1.16 26778 76.78
11 337 0.97 27115 77.75
12 7760 22.25 34875 100.00
# OF MONTHS COV BY MEDICARE
Cumulative Cumulative
MCR_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 29963 85.92 29963 85.92
1 27 0.08 29990 85.99
2 39 0.11 30029 86.10
3 38 0.11 30067 86.21
4 50 0.14 30117 86.36
5 59 0.17 30176 86.53
6 44 0.13 30220 86.65
7 34 0.10 30254 86.75
8 42 0.12 30296 86.87
9 36 0.10 30332 86.97
10 60 0.17 30392 87.15
11 61 0.17 30453 87.32
12 4422 12.68 34875 100.00
# OF MONTHS COV BY TRICARE
Cumulative Cumulative
TRI_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 34074 97.70 34074 97.70
1 12 0.03 34086 97.74
2 14 0.04 34100 97.78
3 19 0.05 34119 97.83
4 24 0.07 34143 97.90
5 21 0.06 34164 97.96
6 32 0.09 34196 98.05
7 15 0.04 34211 98.10
8 17 0.05 34228 98.14
9 15 0.04 34243 98.19
10 28 0.08 34271 98.27
11 19 0.05 34290 98.32
12 585 1.68 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 3
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
CREATE COUNT VARIABLES FOR # OF MONTHS WITH INSURANCE
The FREQ Procedure
# OF MONTHS COV BY OTHER PUBLIC A OR B INSU
Cumulative Cumulative
OPAB_N Frequency Percent Frequency Percent
-----------------------------------------------------------
0 34456 98.80 34456 98.80
1 18 0.05 34474 98.85
2 30 0.09 34504 98.94
3 23 0.07 34527 99.00
4 27 0.08 34554 99.08
5 54 0.15 34608 99.23
6 40 0.11 34648 99.35
7 22 0.06 34670 99.41
8 38 0.11 34708 99.52
9 20 0.06 34728 99.58
10 19 0.05 34747 99.63
11 14 0.04 34761 99.67
12 114 0.33 34875 100.00
# OF MONTHS COV BY PRIVATE GROUP INSU
Cumulative Cumulative
GRP_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 18558 53.21 18558 53.21
1 178 0.51 18736 53.72
2 198 0.57 18934 54.29
3 272 0.78 19206 55.07
4 300 0.86 19506 55.93
5 296 0.85 19802 56.78
6 287 0.82 20089 57.60
7 268 0.77 20357 58.37
8 288 0.83 20645 59.20
9 320 0.92 20965 60.11
10 330 0.95 21295 61.06
11 302 0.87 21597 61.93
12 13278 38.07 34875 100.00
# OF MONTHS COV BY PRIVATE NON-GROUP INSU
Cumulative Cumulative
NG_N Frequency Percent Frequency Percent
---------------------------------------------------------
0 33556 96.22 33556 96.22
1 31 0.09 33587 96.31
2 26 0.07 33613 96.38
3 39 0.11 33652 96.49
4 32 0.09 33684 96.58
5 78 0.22 33762 96.81
6 64 0.18 33826 96.99
7 54 0.15 33880 97.15
8 45 0.13 33925 97.28
9 40 0.11 33965 97.39
10 54 0.15 34019 97.55
11 50 0.14 34069 97.69
12 806 2.31 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 4
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
CREATE COUNT VARIABLES FOR # OF MONTHS WITH INSURANCE
The FREQ Procedure
# OF MONTHS COV BY PUBLIC INSU
Cumulative Cumulative
PUB_N Frequency Percent Frequency Percent
----------------------------------------------------------
0 19689 56.46 19689 56.46
1 166 0.48 19855 56.93
2 233 0.67 20088 57.60
3 268 0.77 20356 58.37
4 346 0.99 20702 59.36
5 356 1.02 21058 60.38
6 357 1.02 21415 61.41
7 317 0.91 21732 62.31
8 423 1.21 22155 63.53
9 432 1.24 22587 64.77
10 421 1.21 23008 65.97
11 368 1.06 23376 67.03
12 11499 32.97 34875 100.00
# OF MONTHS IN MEPS SURVEY
Cumulative Cumulative
REF_N Frequency Percent Frequency Percent
----------------------------------------------------------
1 87 0.25 87 0.25
2 125 0.36 212 0.61
3 135 0.39 347 0.99
4 154 0.44 501 1.44
5 134 0.38 635 1.82
6 170 0.49 805 2.31
7 168 0.48 973 2.79
8 149 0.43 1122 3.22
9 137 0.39 1259 3.61
10 145 0.42 1404 4.03
11 142 0.41 1546 4.43
12 33329 95.57 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 5
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
SAMPLE DUMP TO CHECK THE COUNT VARIABLES (USING PRI_N AS EXMAPLE)
DUPERSID PRIJA14 PRIFE14 PRIMA14 PRIAP14 PRIMY14 PRIJU14 PRIJL14 PRIAU14 PRISE14 PRIOC14 PRINO14 PRIDE14 PRI_N
40001101 1 1 1 1 1 1 1 1 1 1 1 1 12
40001102 1 1 1 1 1 1 1 1 1 1 1 1 12
40001103 1 1 1 1 1 1 1 1 1 1 1 1 12
40001104 1 1 1 1 1 1 1 1 1 1 1 1 12
40002101 1 1 1 1 1 1 1 1 1 1 1 1 12
40004101 2 2 2 2 2 2 2 2 2 2 2 2 0
40004102 2 2 2 2 2 2 2 2 2 2 2 2 0
40004103 2 2 2 2 2 2 2 2 2 2 2 2 0
40004104 2 2 2 2 2 2 2 2 2 2 2 2 0
40004105 2 2 2 2 2 2 2 2 2 2 2 2 0
40004106 2 2 2 2 2 2 2 2 2 2 2 2 0
40004107 2 2 2 2 2 2 2 2 2 2 2 2 0
40004108 2 2 2 -1 -1 -1 -1 -1 -1 -1 -1 -1 0
40005101 1 1 1 1 1 1 1 1 1 1 1 1 12
40009101 1 1 1 1 1 1 1 1 1 1 1 1 12
40010101 1 1 1 1 1 1 1 1 1 1 1 1 12
40010102 1 1 1 1 1 1 1 1 1 1 1 1 12
40010103 1 1 1 1 1 1 1 1 1 1 1 1 12
40010104 1 1 1 1 1 1 1 1 1 1 1 1 12
40011101 2 2 2 2 2 2 2 2 2 2 2 2 0
40011102 1 1 1 1 1 1 1 1 1 1 1 1 12
40011104 1 1 1 1 1 1 1 1 1 1 1 1 12
40011105 1 1 1 1 1 1 1 1 1 1 1 1 12
40012101 1 1 1 1 1 1 1 1 1 1 1 1 12
40012102 1 1 1 1 1 1 1 1 1 1 1 1 12
40012103 1 1 1 1 1 1 1 1 1 1 1 1 12
40012104 1 1 1 1 1 1 1 1 1 1 1 1 12
40014101 2 2 2 2 2 2 2 2 2 2 2 2 0
40014102 2 2 2 2 2 2 2 2 2 2 2 2 0
40014103 2 2 2 2 2 2 2 2 2 2 2 2 0
2017 AHRQ MEPS DATA USERS WORKSHOP 6
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
SUPPORTING CROSSTABS TO VERIFY THE CREATION OF THE FLAGS
The FREQ Procedure
INSURED FOR FULL YEAR
Cumulative Cumulative
FULL_INSU Frequency Percent Frequency Percent
--------------------------------------------------------------
0 9341 26.78 9341 26.78
1 25534 73.22 34875 100.00
Cumulative Cumulative
FULL_INSU UNINS_N Frequency Percent Frequency Percent
-------------------------------------------------------------------------
0 1 682 1.96 682 1.96
0 2 656 1.88 1338 3.84
0 3 679 1.95 2017 5.78
0 4 578 1.66 2595 7.44
0 5 403 1.16 2998 8.60
0 6 415 1.19 3413 9.79
0 7 437 1.25 3850 11.04
0 8 306 0.88 4156 11.92
0 9 251 0.72 4407 12.64
0 10 206 0.59 4613 13.23
0 11 170 0.49 4783 13.71
0 12 4558 13.07 9341 26.78
1 0 25534 73.22 34875 100.00
Cumulative Cumulative
FULL_INSU INS_N REF_N Frequency Percent Frequency Percent
--------------------------------------------------------------------------------
0 0 1 46 0.13 46 0.13
0 0 2 38 0.11 84 0.24
0 0 3 51 0.15 135 0.39
0 0 4 39 0.11 174 0.50
0 0 5 39 0.11 213 0.61
0 0 6 38 0.11 251 0.72
0 0 7 48 0.14 299 0.86
0 0 8 22 0.06 321 0.92
0 0 9 33 0.09 354 1.02
0 0 10 31 0.09 385 1.10
0 0 11 25 0.07 410 1.18
0 0 12 4558 13.07 4968 14.25
0 1 2 1 0.00 4969 14.25
0 1 4 2 0.01 4971 14.25
0 1 6 1 0.00 4972 14.26
0 1 7 3 0.01 4975 14.27
0 1 9 1 0.00 4976 14.27
0 1 12 145 0.42 5121 14.68
0 2 3 1 0.00 5122 14.69
0 2 4 2 0.01 5124 14.69
0 2 5 3 0.01 5127 14.70
0 2 6 1 0.00 5128 14.70
0 2 7 1 0.00 5129 14.71
0 2 9 3 0.01 5132 14.72
0 2 10 1 0.00 5133 14.72
0 2 11 1 0.00 5134 14.72
0 2 12 175 0.50 5309 15.22
0 3 4 6 0.02 5315 15.24
0 3 5 1 0.00 5316 15.24
2017 AHRQ MEPS DATA USERS WORKSHOP 7
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
SUPPORTING CROSSTABS TO VERIFY THE CREATION OF THE FLAGS
The FREQ Procedure
Cumulative Cumulative
FULL_INSU INS_N REF_N Frequency Percent Frequency Percent
--------------------------------------------------------------------------------
0 3 6 2 0.01 5318 15.25
0 3 7 3 0.01 5321 15.26
0 3 8 1 0.00 5322 15.26
0 3 9 2 0.01 5324 15.27
0 3 10 1 0.00 5325 15.27
0 3 12 217 0.62 5542 15.89
0 4 5 3 0.01 5545 15.90
0 4 6 6 0.02 5551 15.92
0 4 7 4 0.01 5555 15.93
0 4 8 4 0.01 5559 15.94
0 4 10 3 0.01 5562 15.95
0 4 12 282 0.81 5844 16.76
0 5 6 6 0.02 5850 16.77
0 5 7 3 0.01 5853 16.78
0 5 8 7 0.02 5860 16.80
0 5 9 3 0.01 5863 16.81
0 5 10 7 0.02 5870 16.83
0 5 11 4 0.01 5874 16.84
0 5 12 385 1.10 6259 17.95
0 6 7 9 0.03 6268 17.97
0 6 8 2 0.01 6270 17.98
0 6 9 3 0.01 6273 17.99
0 6 10 3 0.01 6276 18.00
0 6 11 6 0.02 6282 18.01
0 6 12 365 1.05 6647 19.06
0 7 8 7 0.02 6654 19.08
0 7 9 2 0.01 6656 19.09
0 7 11 2 0.01 6658 19.09
0 7 12 348 1.00 7006 20.09
0 8 9 1 0.00 7007 20.09
0 8 10 4 0.01 7011 20.10
0 8 12 523 1.50 7534 21.60
0 9 10 2 0.01 7536 21.61
0 9 11 5 0.01 7541 21.62
0 9 12 607 1.74 8148 23.36
0 10 11 6 0.02 8154 23.38
0 10 12 593 1.70 8747 25.08
0 11 12 594 1.70 9341 26.78
1 1 1 41 0.12 9382 26.90
1 2 2 86 0.25 9468 27.15
1 3 3 83 0.24 9551 27.39
1 4 4 105 0.30 9656 27.69
1 5 5 88 0.25 9744 27.94
1 6 6 116 0.33 9860 28.27
1 7 7 97 0.28 9957 28.55
1 8 8 106 0.30 10063 28.85
1 9 9 89 0.26 10152 29.11
1 10 10 93 0.27 10245 29.38
1 11 11 93 0.27 10338 29.64
1 12 12 24537 70.36 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 8
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
SUPPORTING CROSSTABS TO VERIFY THE CREATION OF THE FLAGS
The FREQ Procedure
EVER INSURED BY PRIVATE GROUP
Cumulative Cumulative
GROUP_INS1 Frequency Percent Frequency Percent
---------------------------------------------------------------
0 18558 53.21 18558 53.21
1 16317 46.79 34875 100.00
Cumulative Cumulative
GROUP_INS1 GRP_N Frequency Percent Frequency Percent
------------------------------------------------------------------------
0 0 18558 53.21 18558 53.21
1 1 178 0.51 18736 53.72
1 2 198 0.57 18934 54.29
1 3 272 0.78 19206 55.07
1 4 300 0.86 19506 55.93
1 5 296 0.85 19802 56.78
1 6 287 0.82 20089 57.60
1 7 268 0.77 20357 58.37
1 8 288 0.83 20645 59.20
1 9 320 0.92 20965 60.11
1 10 330 0.95 21295 61.06
1 11 302 0.87 21597 61.93
1 12 13278 38.07 34875 100.00
INSURED BY PRIVATE GROUP FOR FULL YEAR
Cumulative Cumulative
GROUP_INS2 Frequency Percent Frequency Percent
---------------------------------------------------------------
0 21214 60.83 21214 60.83
1 13661 39.17 34875 100.00
Cumulative Cumulative
GROUP_INS2 GRP_N REF_N Frequency Percent Frequency Percent
---------------------------------------------------------------------------------
0 0 1 75 0.22 75 0.22
0 0 2 94 0.27 169 0.48
0 0 3 99 0.28 268 0.77
0 0 4 112 0.32 380 1.09
0 0 5 95 0.27 475 1.36
0 0 6 116 0.33 591 1.69
0 0 7 119 0.34 710 2.04
0 0 8 93 0.27 803 2.30
0 0 9 91 0.26 894 2.56
0 0 10 94 0.27 988 2.83
0 0 11 89 0.26 1077 3.09
0 0 12 17481 50.12 18558 53.21
0 1 4 2 0.01 18560 53.22
0 1 6 1 0.00 18561 53.22
0 1 7 2 0.01 18563 53.23
0 1 9 1 0.00 18564 53.23
0 1 11 1 0.00 18565 53.23
0 1 12 159 0.46 18724 53.69
0 2 3 3 0.01 18727 53.70
0 2 4 1 0.00 18728 53.70
2017 AHRQ MEPS DATA USERS WORKSHOP 9
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
SUPPORTING CROSSTABS TO VERIFY THE CREATION OF THE FLAGS
The FREQ Procedure
Cumulative Cumulative
GROUP_INS2 GRP_N REF_N Frequency Percent Frequency Percent
---------------------------------------------------------------------------------
0 2 5 2 0.01 18730 53.71
0 2 6 2 0.01 18732 53.71
0 2 7 1 0.00 18733 53.71
0 2 9 2 0.01 18735 53.72
0 2 10 1 0.00 18736 53.72
0 2 12 155 0.44 18891 54.17
0 3 4 2 0.01 18893 54.17
0 3 6 2 0.01 18895 54.18
0 3 9 3 0.01 18898 54.19
0 3 10 3 0.01 18901 54.20
0 3 11 1 0.00 18902 54.20
0 3 12 228 0.65 19130 54.85
0 4 5 3 0.01 19133 54.86
0 4 6 3 0.01 19136 54.87
0 4 7 1 0.00 19137 54.87
0 4 8 3 0.01 19140 54.88
0 4 10 2 0.01 19142 54.89
0 4 12 251 0.72 19393 55.61
0 5 6 3 0.01 19396 55.62
0 5 7 1 0.00 19397 55.62
0 5 8 3 0.01 19400 55.63
0 5 9 2 0.01 19402 55.63
0 5 10 1 0.00 19403 55.64
0 5 11 4 0.01 19407 55.65
0 5 12 248 0.71 19655 56.36
0 6 7 6 0.02 19661 56.38
0 6 8 1 0.00 19662 56.38
0 6 9 1 0.00 19663 56.38
0 6 10 2 0.01 19665 56.39
0 6 11 1 0.00 19666 56.39
0 6 12 233 0.67 19899 57.06
0 7 8 4 0.01 19903 57.07
0 7 9 1 0.00 19904 57.07
0 7 10 1 0.00 19905 57.08
0 7 12 224 0.64 20129 57.72
0 8 9 1 0.00 20130 57.72
0 8 10 2 0.01 20132 57.73
0 8 12 240 0.69 20372 58.41
0 9 10 3 0.01 20375 58.42
0 9 11 3 0.01 20378 58.43
0 9 12 279 0.80 20657 59.23
0 10 11 4 0.01 20661 59.24
0 10 12 290 0.83 20951 60.07
0 11 12 263 0.75 21214 60.83
1 1 1 12 0.03 21226 60.86
1 2 2 31 0.09 21257 60.95
1 3 3 33 0.09 21290 61.05
1 4 4 37 0.11 21327 61.15
1 5 5 34 0.10 21361 61.25
1 6 6 43 0.12 21404 61.37
1 7 7 38 0.11 21442 61.48
1 8 8 45 0.13 21487 61.61
1 9 9 35 0.10 21522 61.71
1 10 10 36 0.10 21558 61.82
1 11 11 39 0.11 21597 61.93
1 12 12 13278 38.07 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 10
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
SUPPORTING CROSSTABS TO VERIFY THE CREATION OF THE FLAGS
The FREQ Procedure
EVER INSURED BY PRIVATE NON-GROUP
Cumulative Cumulative
NG_INS Frequency Percent Frequency Percent
-----------------------------------------------------------
0 33556 96.22 33556 96.22
1 1319 3.78 34875 100.00
Cumulative Cumulative
NG_INS NG_N Frequency Percent Frequency Percent
-------------------------------------------------------------------
0 0 33556 96.22 33556 96.22
1 1 31 0.09 33587 96.31
1 2 26 0.07 33613 96.38
1 3 39 0.11 33652 96.49
1 4 32 0.09 33684 96.58
1 5 78 0.22 33762 96.81
1 6 64 0.18 33826 96.99
1 7 54 0.15 33880 97.15
1 8 45 0.13 33925 97.28
1 9 40 0.11 33965 97.39
1 10 54 0.15 34019 97.55
1 11 50 0.14 34069 97.69
1 12 806 2.31 34875 100.00
2017 AHRQ MEPS DATA USERS WORKSHOP 11
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
% AND POPULATION WITH INSU
The SURVEYMEANS Procedure
Data Summary
Number of Strata 165
Number of Clusters 366
Number of Observations 34875
Number of Observations Used 33162
Number of Obs with Nonpositive Weights 1713
Sum of Weights 318440423
Statistics
Sum of Std Error
Variable Label N Weights Mean of Mean Sum Std Dev
----------------------------------------------------------------------------------------------------------------------------------------------------
FULL_INSU INSURED FOR FULL YEAR 33162 318440423 0.794424 0.004960 252976802 6251088
GROUP_INS1 EVER INSURED BY PRIVATE GROUP 33162 318440423 0.592897 0.008143 188802393 5516318
GROUP_INS2 INSURED BY PRIVATE GROUP FOR FULL YEAR 33162 318440423 0.514473 0.007990 163829043 5012086
NG_INS EVER INSURED BY PRIVATE NON-GROUP 33162 318440423 0.058948 0.002998 18771302 1075317
----------------------------------------------------------------------------------------------------------------------------------------------------
2017 AHRQ MEPS DATA USERS WORKSHOP 12
EXERCISE7.SAS: HOW TO CONSTRUCT INSURANCE STATUS VARIABLES, USING FY 14 DATA
% AND POPULATION WITH INSU
The SURVEYMEANS Procedure
Domain Statistics in RACETHX
RACE/ETHNICITY
(EDITED/ Sum of Std Error
IMPUTED) Variable Label N Weights Mean of Mean Sum Std Dev
--------------------------------------------------------------------------------------------------------------------------------------------------------------
1 HISPANIC FULL_INSU INSURED FOR FULL YEAR 10649 55840495 0.630487 0.010850 35206729 2111579
GROUP_INS1 EVER INSURED BY PRIVATE GROUP 10649 55840495 0.395494 0.012927 22084562 1306828
GROUP_INS2 INSURED BY PRIVATE GROUP FOR FULL YEAR 10649 55840495 0.321051 0.011136 17927641 1148766
NG_INS EVER INSURED BY PRIVATE NON-GROUP 10649 55840495 0.019649 0.002391 1097206 152978
2 WHITE FULL_INSU INSURED FOR FULL YEAR 11953 194570950 0.845404 0.005881 164491040 5310901
GROUP_INS1 EVER INSURED BY PRIVATE GROUP 11953 194570950 0.664113 0.009008 129217003 4780590
GROUP_INS2 INSURED BY PRIVATE GROUP FOR FULL YEAR 11953 194570950 0.584148 0.009691 113658214 4375716
NG_INS EVER INSURED BY PRIVATE NON-GROUP 11953 194570950 0.080281 0.004585 15620313 1014011
3 BLACK FULL_INSU INSURED FOR FULL YEAR 6968 38925791 0.758717 0.007674 29533677 1629738
GROUP_INS1 EVER INSURED BY PRIVATE GROUP 6968 38925791 0.483119 0.012744 18805775 1054517
GROUP_INS2 INSURED BY PRIVATE GROUP FOR FULL YEAR 6968 38925791 0.407433 0.011765 15859666 932735
NG_INS EVER INSURED BY PRIVATE NON-GROUP 6968 38925791 0.019615 0.002406 763519 95736
4 ASIAN FULL_INSU INSURED FOR FULL YEAR 2369 17380561 0.816959 0.012495 14199200 1338493
GROUP_INS1 EVER INSURED BY PRIVATE GROUP 2369 17380561 0.673066 0.019651 11698263 1168117
GROUP_INS2 INSURED BY PRIVATE GROUP FOR FULL YEAR 2369 17380561 0.589163 0.020592 10239985 1048572
NG_INS EVER INSURED BY PRIVATE NON-GROUP 2369 17380561 0.051234 0.008040 890475 148393
5 OTHER RACE FULL_INSU INSURED FOR FULL YEAR 1223 11722627 0.814336 0.018213 9546156 900645
GROUP_INS1 EVER INSURED BY PRIVATE GROUP 1223 11722627 0.596862 0.030349 6996791 737688
GROUP_INS2 INSURED BY PRIVATE GROUP FOR FULL YEAR 1223 11722627 0.524075 0.031189 6143536 686369
NG_INS EVER INSURED BY PRIVATE NON-GROUP 1223 11722627 0.034104 0.008147 399789 103814
--------------------------------------------------------------------------------------------------------------------------------------------------------------