-------------
      name:  <unnamed>
       log:  /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/wk/FullModelDiscreteTimeLogistic2.smcl
  log type:  smcl
 opened on:  15 Nov 2011, 09:28:28

. set linesize 200

. est clear

. set more off

. sort id year gender

. tab gender

   respondent's |
        gender  |      Freq.     Percent        Cum.
----------------+-----------------------------------
        1. male |     10,540       48.36       48.36
      2. female |     11,253       51.64      100.00
----------------+-----------------------------------
          Total |     21,793      100.00

. set more off

. di "{hline}"
-------------

. di "{hline 2}"  " both males and females Full model"  "{hline 2}"
-- both males and females Full model--

. xi: logit outcomec i.year ranown2-ranown25 ranown27-ranown41 ranown43-ranown48
i.year            _Iyear_1980-2010    (naturally coded; _Iyear_1980 omitted)

Iteration 0:   log likelihood = -10347.975
Iteration 1:   log likelihood = -9008.3729
Iteration 2:   log likelihood = -8826.6085
Iteration 3:   log likelihood = -8807.0243
Iteration 4:   log likelihood = -8806.9922
Iteration 5:   log likelihood = -8806.9922

Logistic regression                               Number of obs   =      21547
                                                  LR chi2(75)     =    3081.96
                                                  Prob > chi2     =     0.0000
Log likelihood = -8806.9922                       Pseudo R2       =     0.1489

-------------+----------------------------------------------------------------
     outcomec |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
 _Iyear_1981 |   -.3051684    .2616321     -1.17    0.243     -.8179579     .2076211
 _Iyear_1982 |   -.0942715    .2508036     -0.38    0.707     -.5858376     .3972947
 _Iyear_1983 |   -.3835993    .2660642     -1.44    0.149     -.9050755     .1378769
 _Iyear_1984 |   -.2311205    .2576556     -0.90    0.370     -.7361161     .2738751
 _Iyear_1985 |   -.0307063    .2478271     -0.12    0.901     -.5164384     .4550258
 _Iyear_1986 |    1.864156    .1992882      9.35    0.000      1.473558     2.254754
 _Iyear_1987 |    1.482179    .2044224      7.25    0.000      1.081519      1.88284
 _Iyear_1988 |    1.537376    .2035711      7.55    0.000      1.138384     1.936368
 _Iyear_1989 |    1.353966    .2065542      6.56    0.000      .9491268     1.758804
 _Iyear_1990 |     1.43669    .2051536      7.00    0.000      1.034596     1.838784
 _Iyear_1991 |    1.279571    .2078943      6.15    0.000      .8721056     1.687036
 _Iyear_1992 |    1.470922    .2046008      7.19    0.000      1.069912     1.871932
 _Iyear_1993 |    1.448178    .2049663      7.07    0.000      1.046452     1.849905
 _Iyear_1994 |    1.558967    .2032487      7.67    0.000      1.160607     1.957327
 _Iyear_1995 |    1.504473    .2040738      7.37    0.000      1.104496      1.90445
 _Iyear_1996 |     1.72279    .2009881      8.57    0.000      1.328861      2.11672
 _Iyear_1997 |    1.548206    .2034086      7.61    0.000      1.149532     1.946879
 _Iyear_1998 |    1.771094     .200382      8.84    0.000      1.378353     2.163836
 _Iyear_1999 |    1.808862    .1999265      9.05    0.000      1.417014     2.200711
 _Iyear_2000 |     1.92676    .1986053      9.70    0.000      1.537501     2.316019
 _Iyear_2001 |    1.836706    .1996009      9.20    0.000      1.445496     2.227917
 _Iyear_2002 |    1.799491     .200038      9.00    0.000      1.407423     2.191558
 _Iyear_2003 |    1.808862    .1999265      9.05    0.000      1.417014     2.200711
 _Iyear_2004 |    1.818189    .1998165      9.10    0.000      1.426556     2.209822
 _Iyear_2005 |    1.935547    .1985128      9.75    0.000      1.546469     2.324625
 _Iyear_2006 |    2.021418    .1976507     10.23    0.000      1.634029     2.408806
 _Iyear_2007 |    2.128165     .196682     10.82    0.000      1.742675     2.513655
 _Iyear_2008 |    2.422738    .1945591     12.45    0.000      2.041409     2.804067
 _Iyear_2009 |    2.493482    .1941616     12.84    0.000      2.112933     2.874032
 _Iyear_2010 |    2.246656    .2066846     10.87    0.000      1.841562     2.651751
     ranown2 |    3.240763     .326134      9.94    0.000      2.601552     3.879974
     ranown3 |    .7022249    .2753754      2.55    0.011      .1624991     1.241951
     ranown4 |    2.845867    .2419073     11.76    0.000      2.371738     3.319997
     ranown5 |   -.4443324    .2205762     -2.01    0.044     -.8766537     -.012011
     ranown6 |   -1.843197    .6152502     -3.00    0.003     -3.049065    -.6373288
     ranown7 |   -.3200164    .3605829     -0.89    0.375     -1.026746     .3867131
     ranown8 |   -.9768532    .2674102     -3.65    0.000     -1.500968    -.4527389
     ranown9 |   -.6868682    .2512454     -2.73    0.006       -1.1793    -.1944363
    ranown10 |    3.060231    .3681056      8.31    0.000      2.338758     3.781705
    ranown11 |    1.800705    .3252828      5.54    0.000      1.163162     2.438247
    ranown12 |    1.320521    .4307426      3.07    0.002       .476281     2.164761
    ranown13 |    2.773248    .3049953      9.09    0.000      2.175468     3.371027
    ranown14 |    1.931165    .4300247      4.49    0.000      1.088333     2.773998
    ranown15 |   -1.200362    .3592348     -3.34    0.001     -1.904449    -.4962744
    ranown16 |   -.5455567     .219529     -2.49    0.013     -.9758256    -.1152878
    ranown17 |   -.9367126    .4343645     -2.16    0.031     -1.788051    -.0853738
    ranown18 |    .4242632    .2509354      1.69    0.091     -.0675612     .9160877
    ranown19 |    2.369347    .2692446      8.80    0.000      1.841637     2.897056
    ranown20 |    .4288609    .2005881      2.14    0.033      .0357154     .8220065
    ranown21 |   -.0338498    .1768304     -0.19    0.848      -.380431     .3127315
    ranown22 |    2.859634     .357303      8.00    0.000      2.159333     3.559935
    ranown23 |    .5801233    .3481384      1.67    0.096     -.1022154     1.262462
    ranown24 |    .1106793    .3263641      0.34    0.735     -.5289825     .7503412
    ranown25 |    2.634586    .2747275      9.59    0.000       2.09613     3.173042
    ranown27 |    .5801233    .4601098      1.26    0.207     -.3216753     1.481922
    ranown28 |    .8266999    .2274776      3.63    0.000       .380852     1.272548
    ranown29 |   -2.192036    .4866887     -4.50    0.000     -3.145928    -1.238143
    ranown30 |    .9203587    .3336665      2.76    0.006      .2663845     1.574333
    ranown31 |    .5801233    .3017175      1.92    0.055     -.0112321     1.171479
    ranown32 |   -2.075009    .5379135     -3.86    0.000       -3.1293    -1.020718
    ranown33 |    .3289254    .3186359      1.03    0.302     -.2955895     .9534403
    ranown34 |    3.095259    .3189769      9.70    0.000      2.470076     3.720442
    ranown35 |    2.311613    .2917494      7.92    0.000      1.739794     2.883431
    ranown36 |   -1.105895     .550573     -2.01    0.045     -2.184998    -.0267914
    ranown37 |    3.396297    .3903018      8.70    0.000      2.631319     4.161274
    ranown38 |     2.00857    .3295086      6.10    0.000      1.362745     2.654395
    ranown39 |    -.223892     .351851     -0.64    0.525     -.9135073     .4657234
    ranown40 |   -1.105895     .550573     -2.01    0.045     -2.184998    -.0267914
    ranown41 |   -1.540949    .5434586     -2.84    0.005     -2.606108    -.4757896
    ranown43 |   -1.834478    .4240335     -4.33    0.000     -2.665569    -1.003388
    ranown44 |   -.0480448     .337547     -0.14    0.887     -.7096248     .6135353
    ranown45 |   -.6548406    .4696171     -1.39    0.163     -1.575273      .265592
    ranown46 |   -1.366149    .3576813     -3.82    0.000     -2.067192    -.6651069
    ranown47 |    .0159707    .2672161      0.06    0.952     -.5077632     .5397046
    ranown48 |    .3799542    .1896914      2.00    0.045      .0081659     .7517425
       _cons |   -3.186557    .2471585    -12.89    0.000     -3.670979    -2.702135
-------------+----------------------------------------------------------------

.      eststo bothgeo

.      estadd nagelkerke

added scalar:
         e(nagelkerke) =  .21590143

.      estadd scalar numparms=e(k)

added scalar:
           e(numparms) =  76

. xi: logit outcomec i.year age female ranown2-ranown25 ranown27-ranown41 ranown43-ranown48 ///
>     emplw11-emplw15 emplw21 emplw25 emplw31 emplw32 emplw34 ///
>     inc1w1-inc4w3 occ1w1-occ7w3 jsw1-jsw3
i.year            _Iyear_1980-2010    (naturally coded; _Iyear_1980 omitted)
variable emplw11 not found
r(111);

end of do-file

r(111);

. tab emplw1

        mode of |
  employment in |
           1986 |      Freq.     Percent        Cum.
----------------+-----------------------------------
0. not answered |        434        1.99        1.99
   1. full time |     14,911       68.42       70.41
   2. part time |      1,984        9.10       79.52
   3. voluntary |         62        0.28       79.80
     4. retired |        155        0.71       80.51
  5. unemployed |      4,247       19.49      100.00
----------------+-----------------------------------
          Total |     21,793      100.00

. do "/var/folders/pe/pe0f4YgGFgmf-hE+VLvhN++++TI/-Tmp-//SD65126.000000"

. forvalues i=1/3{
  2.   dummies emplw`i'
  3. }

.
.
end of do-file

. do "/var/folders/pe/pe0f4YgGFgmf-hE+VLvhN++++TI/-Tmp-//SD65126.000000"

. order emplw11-emplw35, after(emplw3)

.
end of do-file

. do "/var/folders/pe/pe0f4YgGFgmf-hE+VLvhN++++TI/-Tmp-//SD65126.000000"

. save /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/survbkup3, replace
(note: file /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/survbkup3.dta not found)
file /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/survbkup3.dta saved

. save /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/wk/survbkup3, replace
(note: file /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/wk/survbkup3.dta not found)
file /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/wk/survbkup3.dta saved

. save /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/masters/ch31wsurvmaster15nov2011b, replace
(note: file /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/masters/ch31wsurvmaster15nov2011b.dta not found)
file /Users/robertyaffee/Documents/data/research/chwk/phase2/data/surv/masters/ch31wsurvmaster15nov2011b.dta saved

.
.
end of do-file

. do "/var/folders/pe/pe0f4YgGFgmf-hE+VLvhN++++TI/-Tmp-//SD65126.000000"

.
. cap log close