                file   bytes  rows
1  inputs/DEMO_G.xpt 3753760  9756
2   inputs/PAQ_G.xpt 1533680  9107
3   inputs/DIQ_G.xpt 3978560  9364
4   inputs/GHB_G.xpt  105840  6549
5   inputs/BMX_G.xpt 1946720  9338
6   inputs/SMQ_G.xpt 1946960  6790
7  inputs/DEMO_H.xpt 3833200 10175
8   inputs/PAQ_H.xpt 7297920  9484
9   inputs/DIQ_H.xpt 4228960  9770
10  inputs/GHB_H.xpt  112720  6979
11  inputs/BMX_H.xpt 2045520  9813
12  inputs/SMQ_H.xpt 2170000  7168
13 inputs/DEMO_I.xpt 3756480  9971
14  inputs/PAQ_I.xpt 6973680  9255
15  inputs/DIQ_I.xpt 4144720  9575
16  inputs/GHB_I.xpt  108960  6744
17  inputs/BMX_I.xpt 1989600  9544
18  inputs/SMQ_I.xpt 2681040  7001
19 inputs/DEMO_J.xpt 3412720  9254
20  inputs/PAQ_J.xpt  799600  5856
21  inputs/DIQ_J.xpt 3851840  8897
22  inputs/GHB_J.xpt  103520  6401
23  inputs/BMX_J.xpt 1466000  8704
24  inputs/SMQ_J.xpt 2305600  6724
                              stage     n
1                       Interviewed 39156
2 Positive valid examination design 37399
3                   Age 20 or older 21646
4           Exclude known pregnancy 21399
5    Activity and diabetes observed 20484
6        Complete adjustment cohort 18241
           variable missing_n eligible_n
diabetes   diabetes       884      21399
activity   activity        31      21399
age             age         0      21399
sex             sex         0      21399
race           race         0      21399
cycle         cycle         0      21399
education education        24      21399
income       income      2120      21399
smoking     smoking        19      21399
bmi             bmi       306      21399
        diabetes
activity    0    1
   None  7158 2103
   1-149 2262  478
   >=150 5511  729
Implausible activity records: 0 
      cycle eligible   cc crude
1 2011-2012     5262 4515  4998
2 2013-2014     5523 4880  5351
3 2015-2016     5404 4574  5147
4 2017-2018     5210 4272  4988
  exam_n strata psus design_df cc_df replicates cc_weight_only_ess
1  37399     59  121        62    62        121           9450.347
                           sample activity     n events prevalence          se
None                Common cohort     None  9261   2103 0.18491098 0.005253157
1-149               Common cohort    1-149  2740    478 0.12393639 0.009600585
>=150               Common cohort    >=150  6240    729 0.08112836 0.004969004
None1  Available outcome/activity     None 10573   2442 0.18567412 0.005335198
1-1491 Available outcome/activity    1-149  3020    536 0.12668196 0.009497020
>=1501 Available outcome/activity    >=150  6891    817 0.08267465 0.004324526
            lower      upper
None   0.17463971 0.19564315
1-149  0.10598505 0.14443704
>=150  0.07173370 0.09163195
None1  0.17524477 0.19657622
1-1491 0.10888163 0.14691259
>=1501 0.07443111 0.09174070
      activity      age I(sex == "Female")FALSE I(sex == "Female")TRUE      bmi
None      None 50.96556               0.4658793              0.5341207 30.43182
1-149    1-149 48.42109               0.4352939              0.5647061 29.50435
>=150    >=150 44.17955               0.5289902              0.4710098 27.96876
        income   diabetes    se.age se.I(sex == "Female")FALSE
None  2.597709 0.18491098 0.3505349                0.007868225
1-149 3.205410 0.12393639 0.3672487                0.012608411
>=150 3.343143 0.08112836 0.4399833                0.006703301
      se.I(sex == "Female")TRUE    se.bmi  se.income se.diabetes
None                0.007868225 0.1446892 0.04677154 0.005253157
1-149               0.012608411 0.1654013 0.06034696 0.009600585
>=150               0.006703301 0.1355421 0.05430823 0.004969004
  model     n rank    df converged
1     U 18241    3 18238      TRUE
2     W 18241    3    60      TRUE
3     D 18241   16    47      TRUE
4     S 18241   22    41      TRUE
5     B 18241   26    37      TRUE
               model          term        OR     lower     upper     log_OR
activity1-149      U activity1-149 0.7192630 0.6443459 0.8028906 -0.3295282
activity>=150      U activity>=150 0.4502457 0.4109724 0.4932720 -0.7979619
activity1-1491     W activity1-149 0.6235992 0.5137466 0.7569413 -0.4722474
activity>=1501     W activity>=150 0.3891887 0.3366288 0.4499551 -0.9436910
activity1-1492     D activity1-149 0.7055283 0.5735811 0.8678288 -0.3488084
activity>=1502     D activity>=150 0.5236705 0.4510962 0.6079208 -0.6468926
activity1-1493     S activity1-149 0.7665917 0.6247537 0.9406313 -0.2658009
activity>=1503     S activity>=150 0.5902819 0.5079864 0.6859096 -0.5271551
activity1-1494     B activity1-149 0.8491129 0.6820457 1.0571032 -0.1635631
activity>=1504     B activity>=150 0.7505272 0.6516984 0.8643433 -0.2869793
                       SE  df
activity1-149  0.05611908 Inf
activity>=150  0.04656581 Inf
activity1-1491 0.09687449  60
activity>=1501 0.07253098  60
activity1-1492 0.10291960  47
activity>=1502 0.07415564  47
activity1-1493 0.10130862  41
activity>=1503 0.07434642  41
activity1-1494 0.10813162  37
activity>=1504 0.06968444  37
            model           estimand activity estimate    lower     upper
1               U         Prevalence     None  0.22708  0.21866  0.235727
2               U         Prevalence    1-149  0.17445  0.16070  0.189121
3               U         Prevalence    >=150  0.11683  0.10909  0.125036
4               U Difference vs none    1-149 -0.05263 -0.06920 -0.036054
5               U Difference vs none    >=150 -0.11025 -0.12193 -0.098579
logit_none      W         Prevalence     None  0.18491  0.17463  0.195654
logit_low       W         Prevalence    1-149  0.12394  0.10596  0.144473
logit_high      W         Prevalence    >=150  0.08113  0.07173  0.091641
diff_low        W Difference vs none    1-149 -0.06097 -0.08340 -0.038553
diff_high       W Difference vs none    >=150 -0.10378 -0.11762 -0.089946
logit_none1     D         Prevalence     None  0.16300  0.15309  0.173425
logit_low1      D         Prevalence    1-149  0.12417  0.10645  0.144350
logit_high1     D         Prevalence    >=150  0.09707  0.08658  0.108684
diff_low1       D Difference vs none    1-149 -0.03884 -0.06045 -0.017222
diff_high1      D Difference vs none    >=150 -0.06593 -0.08006 -0.051801
logit_none2     S         Prevalence     None  0.15633  0.14631  0.166910
logit_low2      S         Prevalence    1-149  0.12731  0.10934  0.147732
logit_high2     S         Prevalence    >=150  0.10301  0.09217  0.114963
diff_low2       S Difference vs none    1-149 -0.02903 -0.05031 -0.007744
diff_high2      S Difference vs none    >=150 -0.05332 -0.06782 -0.038827
logit_none3     B         Prevalence     None  0.14516  0.13574  0.155130
logit_low3      B         Prevalence    1-149  0.12912  0.11118  0.149466
logit_high3     B         Prevalence    >=150  0.11789  0.10708  0.129645
diff_low3       B Difference vs none    1-149 -0.01605 -0.03704  0.004947
diff_high3      B Difference vs none    >=150 -0.02727 -0.04043 -0.014116
            SE_transformed  df
1                 0.024804 Inf
2                 0.050340 Inf
3                 0.039410 Inf
4                 0.008457 Inf
5                 0.005957 Inf
logit_none        0.034865  60
logit_low         0.088509  60
logit_high        0.066665  60
diff_low          0.011209  60
diff_high         0.006917  60
logit_none1       0.037036  47
logit_low1        0.086462  47
logit_high1       0.062597  47
diff_low1         0.010744  47
diff_high1        0.007023  47
logit_none2       0.038664  41
logit_low2        0.085404  41
logit_high2       0.061012  41
diff_low2         0.010538  41
diff_high2        0.007178  41
logit_none3       0.038556  37
logit_low3        0.083900  37
logit_high3       0.053512  37
diff_low3         0.010362  37
diff_high3        0.006493  37
           activity   Taylor_SE      JKn_SE
logit_none     None 0.005253157 0.005254834
logit_low     1-149 0.009600585 0.009610000
logit_high    >=150 0.004969004 0.004969609
     group     n weighted_fraction      age    female diabetes_observed
1 Retained 18241         0.8797597 47.91830 0.5146288         0.1347092
2 Excluded  3158         0.1202403 48.62678 0.5076331         0.1588044
  active150_observed
1          0.3878947
2          0.3440580
        scenario     n
1 Diagnosis-only 18240
2 Total activity 18179
                 scenario      definition     n    estimate       lower
diff_high  Diagnosis-only Primary matched 18240 -0.05337523 -0.06788404
diff_high1 Diagnosis-only     Alternative 18240 -0.04241763 -0.05470104
diff_high2 Total activity Primary matched 18179 -0.05301584 -0.06750199
diff_high3 Total activity     Alternative 18179 -0.06352199 -0.07771234
                 upper
diff_high  -0.03886642
diff_high1 -0.03013422
diff_high2 -0.03852969
diff_high3 -0.04933164
   variable minimum_crossed_cell cells_below_10
1       sex                  213              0
2      race                   18              0
3 education                   96              0
4   smoking                   55              0
5     cycle                  114              0
Plot exported at 13 by 6 inches; 3900 by 1800 pixels; 300 dpi.
