.
. foreach var in hp2work hp2hmcare hp2prbsoc HP2pbfhm HP2sxlife ///
>   HP2inthob HP2vacatn {
  2.    forvalues k=2/2 {
  3.    set more off
  4.  logit `var' avgcumdosew3 if gender==`k', nolog
  5.  eststo `var'
  6.  }
  7.  }

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =       5.91
                                                  Prob > chi2     =     0.0150
Log likelihood = -203.60666                       Pseudo R2       =     0.0143

-------------+----------------------------------------------------------------
      hp2work |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |    .1515886    .0639414      2.37    0.018      .0262658     .2769114
       _cons |   -1.258846    .1466856     -8.58    0.000     -1.546344    -.9713471
-------------+----------------------------------------------------------------

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =       0.04
                                                  Prob > chi2     =     0.8368
Log likelihood = -233.70738                       Pseudo R2       =     0.0001

-------------+----------------------------------------------------------------
    hp2hmcare |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |   -.0131553    .0643514     -0.20    0.838     -.1392816     .1129711
       _cons |   -.6282335    .1343551     -4.68    0.000     -.8915646    -.3649023
-------------+----------------------------------------------------------------

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =      25.59
                                                  Prob > chi2     =     0.0000
Log likelihood = -170.77453                       Pseudo R2       =     0.0697

-------------+----------------------------------------------------------------
    hp2prbsoc |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |    .3818633    .1004161      3.80    0.000      .1850514     .5786752
       _cons |   -1.855996    .1805781    -10.28    0.000     -2.209923     -1.50207
-------------+----------------------------------------------------------------

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =       1.39
                                                  Prob > chi2     =     0.2389
Log likelihood = -139.20329                       Pseudo R2       =     0.0050

-------------+----------------------------------------------------------------
     HP2pbfhm |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |    .0875242    .0693786      1.26    0.207     -.0484553     .2235037
       _cons |   -2.020197    .1850603    -10.92    0.000     -2.382909    -1.657486
-------------+----------------------------------------------------------------

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =      13.23
                                                  Prob > chi2     =     0.0003
Log likelihood = -201.00372                       Pseudo R2       =     0.0319

-------------+----------------------------------------------------------------
    HP2sxlife |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |    .2420078    .0764553      3.17    0.002      .0921582     .3918573
       _cons |   -1.357074    .1533357     -8.85    0.000     -1.657606    -1.056541
-------------+----------------------------------------------------------------

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =       5.02
                                                  Prob > chi2     =     0.0250
Log likelihood = -169.60139                       Pseudo R2       =     0.0146

-------------+----------------------------------------------------------------
    HP2inthob |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |    .1444902    .0628294      2.30    0.021      .0213469     .2676336
       _cons |   -1.695781    .1633385    -10.38    0.000     -2.015919    -1.375643
-------------+----------------------------------------------------------------

Logistic regression                               Number of obs   =        363
                                                  LR chi2(1)      =       4.68
                                                  Prob > chi2     =     0.0305
Log likelihood = -165.17453                       Pseudo R2       =     0.0140

-------------+----------------------------------------------------------------
    HP2vacatn |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
avgcumdosew3 |    .1408134    .0629055      2.24    0.025       .017521     .2641059
       _cons |   -1.748135    .1659602    -10.53    0.000     -2.073411    -1.422859
-------------+----------------------------------------------------------------

.
. title "Summary of zero-order tests for females in wave three"


*******************************************************************************
*******************************************************************************
*****                                                                     *****
*****                                                                     *****
*****       Summary of zero-order tests for females in wave three         *****
*****                                                                     *****
*****                                                                     *****
*****                                             1 Jul 2012    20:50:24  *****
*******************************************************************************
*******************************************************************************


.
.
. estout   hp2work hp2hmcare hp2prbsoc HP2pbfhm, cells(b(star fmt(%9.3f)) se(par) t p)  ///
>                 stats(r2_p bic N, fmt(%9.3f %9.0g) labels(Psuedo R^2))  ///
>                 legend collabels(none) varlabels(_cons Constant)  ///
>                 mlabels( work homecare socialprbs famprobs)  ///
>                 title("Zero-order regression coefficients" ///
>                  "of reconstructed dose on Nottingham Part 2")

Zero-order regression coefficients of reconstructed dose on Nottingham Part 2
----------------------------------------------------------------------------
                     work        homecare      socialprbs        famprobs
----------------------------------------------------------------------------
main
avgcumdosew3        0.152*         -0.013           0.382***        0.088
                  (0.064)         (0.064)         (0.100)         (0.069)
                    2.371          -0.204           3.803           1.262
                    0.018           0.838           0.000           0.207
Constant           -1.259***       -0.628***       -1.856***       -2.020***
                  (0.147)         (0.134)         (0.181)         (0.185)
                   -8.582          -4.676         -10.278         -10.916
                    0.000           0.000           0.000           0.000
----------------------------------------------------------------------------
Psuedo              0.014           0.000           0.070           0.005
R^2              419.0021        479.2036        353.3379        290.1954
N                     363             363             363             363
----------------------------------------------------------------------------
* p<0.05, ** p<0.01, *** p<0.001

. estout  HP2sxlife HP2inthob HP2vacatn, cells(b(star fmt(%9.3f)) se(par) t p)  ///
>                 stats(r2_p bic N, fmt(%9.3f %9.0g) labels(Pseudo R^2))  ///
>                 legend collabels(none) varlabels(_cons Constant)  ///
>                 mlabels(sexlife intshobbies vacatnPlans)  ///
>                 title("Zero-order regression coefficients" ///
>                  "of reconstructed dose on Nottingham Part 2")

Zero-order regression coefficients of reconstructed dose on Nottingham Part 2
------------------------------------------------------------
                  sexlife     intshobbies     vacatnPlans
------------------------------------------------------------
main
avgcumdosew3        0.242**         0.144*          0.141*
                  (0.076)         (0.063)         (0.063)
                    3.165           2.300           2.238
                    0.002           0.021           0.025
Constant           -1.357***       -1.696***       -1.748***
                  (0.153)         (0.163)         (0.166)
                   -8.850         -10.382         -10.533
                    0.000           0.000           0.000
------------------------------------------------------------
Pseudo              0.032           0.015           0.014
R^2              413.7963        350.9916        342.1379
N                     363             363             363
------------------------------------------------------------
* p<0.05, ** p<0.01, *** p<0.001

.