Good morning. I would like some help regarding how to label concatenated variables. I have almost 4000 observations and I am a little confused about how to group the observed patterns. i have put an example below.
tab vistfrfam_time if deceased==1
vistfrfam_time Freq. Percent Cum.
-1-1-1-1-1-1-1-1-1-1 7 0.19 0.19
-1-1-1-1-1-1-1-1-1. 11 0.29 0.48
-1-1-1-1-1-1-1-1.. 10 0.27 0.74
-1-1-1-1-1-1-1... 27 0.72 1.46
-1-1-1-1-1-1.... 29 0.77 2.23
-1-1-1-1-1..... 31 0.82 3.05
-1-1-1-1...... 60 1.59 4.65
-1-1-1....... 96 2.55 7.19
-1-1........ 120 3.19 10.38
-8-9-9-9-9-1.... 1 0.03 10.41
-81-1....... 1 0.03 10.43
-82-921-1.... 1 0.03 10.46
-82121-1.... 1 0.03 10.49
-9-1........ 27 0.72 11.20
-9-9-1....... 23 0.61 11.81
-9-9-9-1...... 23 0.61 12.42
-9-9-9-9-1..... 17 0.45 12.87
-9-9-9-9-9-1.... 5 0.13 13.01
-9-9-9-9-9-9-1... 8 0.21 13.22
-9-9-9-9-9-9-9-1.. 4 0.11 13.33
-9-9-9-9-9-9-9-9-1. 5 0.13 13.46
-9-9-9-9-9-9-9-9-9-1 5 0.13 13.59
....-1-1-1-1-1-1 22 0.58 14.18
....-1-1-1-1-1. 23 0.61 14.79
....-1-1-1-1.. 22 0.58 15.37
....-1-1-1... 30 0.80 16.17
....-1-1.... 44 1.17 17.33
....-8-1.... 1 0.03 17.36
....-812-81-1 1 0.03 17.39
....-9-1.... 6 0.16 17.55
....-9-9-1... 2 0.05 17.60
....-9-9-9-1.. 9 0.24 17.84
....-9-9-9-9-1. 4 0.11 17.95
....-9-9-9-9-9-1 4 0.11 18.05
....1-1.... 111 2.95 21.00
....1-82-1.. 1 0.03 21.02
....1-9-1... 3 0.08 21.10
....1-9-9-1.. 3 0.08 21.18
....1-9-9-9-1. 2 0.05 21.24
....1-9-9-9-9-1 1 0.03 21.26
....1-911-1. 1 0.03 21.29
....11-1... 94 2.50 23.79
....11-9-1.. 5 0.13 23.92
....11-9-9-1. 1 0.03 23.94
....11-9-91-1 1 0.03 23.97
....111-1.. 73 1.94 25.91
....111-81-1 1 0.03 25.94
....111-9-1. 1 0.03 25.96
....111-9-9-1 1 0.03 25.99
....1111-1. 64 1.70 27.69
....1111-9-1 3 0.08 27.77
....11111-1 41 1.09 28.86
....11112-1 8 0.21 29.07
....1112-1. 9 0.24 29.31
....11121-1 10 0.27 29.57
....11122-1 2 0.05 29.63
....112-1.. 11 0.29 29.92
....1121-1. 6 0.16 30.08
Related Posts with Labelling group patterns in concatenated variable
Using NYC shapefiles | Issue with Lat LongHi, I am trying to use NYC census shapefile from here - https://www1.nyc.gov/site/planning/d...-met…
Collapse vs dropI am trying to collapse this data of all treatment lines to include only the first treatments for th…
Aggregated data for box plotHi I am drawing a box plot. However, what I only have would be aggregated data. Mean SD Median Q1 Q3…
Dropping observationsHello Members, I have a dataset that looks like this: Code: clear input float(time v1 v2) 1 500 …
Interactions with dummiesDear all, In the following interaction, how can I specify if female==1 (for women)? I want to look …
Subscribe to:
Post Comments (Atom)
0 Response to Labelling group patterns in concatenated variable
Post a Comment