-------------
      name:  <unnamed>
       log:  F:\FSNSP\4th paper\Submission to PLOS ONE\1st revision submission\STATA_Log.smcl
  log type:  smcl
 opened on:  24 Jan 2017, 15:02:21

. do "C:\Users\user\AppData\Local\Temp\STD00000000.tmp"

. sem (WASH -> wash1_a, ) (WASH -> wash2_a, ) (WASH -> wash3_a, ) (WASH -> wash4_a, ) (WASH -> wash5_a, ) (WASH -> wash6_a, ) ///
> (WASH -> wash7_a, ) (WASH -> wash8_a, ) (WASH -> wash9_a, ) (WASH -> wash10_a, )  (WASH -> hygienic, ) (WASH -> drinking_water, ) ///
> (SES -> ASSEL, ) (SES -> ASSRTV, ) (SES -> ASSFAN, ) (SES -> ASSAL, ) (SES -> ASSRE, ) (SES -> food_security) ///
> (SES -> ASSWC, ) (SES -> MUWALL9, ) (cage -> whz, ) (csex -> WASH, ) (csex -> whz, )(resi_type -> WASH, ) (resi_type -> SES, ) (resi_type -> whz, ) ///
> (SES -> WASH, ) (SES WASH -> whz)  , standardized latent(WASH SES )  nocapslatent
(133 observations with missing values excluded)

Endogenous variables


Observed:     whz


Measurement:  wash1_a wash2_a wash3_a wash4_a wash5_a wash6_a wash7_a wash8_a wash9_a wash10_a hygienic drinking_water ASSEL ASSRTV ASSFAN ASSAL ASSRE food_security ASSWC MUWALL9


Latent:       WASH SES


Exogenous variables


Observed:     cage csex resi_type


Fitting target model:

Iteration 0:   log likelihood = -129937.37
Iteration 1:   log likelihood =  -128685.2
Iteration 2:   log likelihood =  -128304.7
Iteration 3:   log likelihood = -128297.78
Iteration 4:   log likelihood = -128261.59
Iteration 5:   log likelihood =    -128260
Iteration 6:   log likelihood = -128257.12
Iteration 7:   log likelihood =  -128257.1
Iteration 8:   log likelihood =  -128257.1

Structural equation model                       Number of obs     =     10,345
 Estimation method = ml
 Log likelihood    =  -128257.1


 ( 1)  [wash1_a]WASH = 1


 ( 2)  [ASSEL]SES = 1


---------------------+----------------------------------------------------------------
                     |                 OIM
         Standardized |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
---------------------+----------------------------------------------------------------
 Structural           |
   whz <-             |
                WASH |     .098861    .0247624      3.99    0.000      .0503276     .1473944
                 SES |     .046889    .0206675      2.27    0.023      .0063813     .0873966
                cage |   -.1768225    .0093994    -18.81    0.000     -.1952451       -.1584
                csex |    .0059242    .0096341      0.61    0.539     -.0129583     .0248067
           resi_type |    .0039816    .0103276      0.39    0.700     -.0162601     .0242233
               _cons |   -.4834042      .02287    -21.14    0.000     -.5282287    -.4385798
  -------------------+----------------------------------------------------------------
   WASH <-            |
                 SES |     .685409    .0125145     54.77    0.000      .6608811      .709937
                csex |   -.0041811    .0121287     -0.34    0.730     -.0279529     .0195907
           resi_type |    .1016211    .0132647      7.66    0.000      .0756226     .1276195
  -------------------+----------------------------------------------------------------
   SES <-             |
           resi_type |    .2661828    .0095964     27.74    0.000      .2473742     .2849913
---------------------+----------------------------------------------------------------
 Measurement          |
   wash1_a <-         |
                WASH |    .2838809    .0121586     23.35    0.000      .2600504     .3077115
               _cons |    2.091036    .0182025    114.88    0.000       2.05536     2.126712
  -------------------+----------------------------------------------------------------
   wash2_a <-         |
                WASH |    .2609977    .0121926     21.41    0.000      .2371008     .2848947
               _cons |    2.640923    .0213723    123.57    0.000      2.599034     2.682812
  -------------------+----------------------------------------------------------------
   wash3_a <-         |
                WASH |    .1113218     .012211      9.12    0.000      .0873887     .1352548
               _cons |    .5047002    .0106246     47.50    0.000      .4838764     .5255239
  -------------------+----------------------------------------------------------------
   wash4_a <-         |
                WASH |    .1692103    .0120683     14.02    0.000      .1455569     .1928637
               _cons |    .3525745    .0104518     33.73    0.000      .3320895     .3730596
  -------------------+----------------------------------------------------------------
   wash5_a <-         |
                WASH |    .0964875    .0121276      7.96    0.000      .0727179     .1202571
               _cons |    .1802945    .0100521     17.94    0.000      .1605929     .1999962
  -------------------+----------------------------------------------------------------
   wash6_a <-         |
                WASH |    .4072153    .0116825     34.86    0.000      .3843179     .4301126
               _cons |     1.09041    .0137378     79.37    0.000      1.063485     1.117336
  -------------------+----------------------------------------------------------------
   wash7_a <-         |
                WASH |    .1913929    .0121586     15.74    0.000      .1675625     .2152233
               _cons |    .4512233    .0107127     42.12    0.000      .4302267     .4722199
  -------------------+----------------------------------------------------------------
   wash8_a <-         |
                WASH |    .1320411    .0120862     10.92    0.000      .1083525     .1557296
               _cons |    .1164472    .0100703     11.56    0.000      .0967098     .1361846
  -------------------+----------------------------------------------------------------
   wash9_a <-         |
                WASH |    .1401214    .0121106     11.57    0.000      .1163852     .1638577
               _cons |     .202961    .0101617     19.97    0.000      .1830444     .2228775
  -------------------+----------------------------------------------------------------
   wash10_a <-        |
                WASH |      .16724    .0119919     13.95    0.000      .1437363     .1907438
               _cons |    .2127811    .0102444     20.77    0.000      .1927025     .2328597
  -------------------+----------------------------------------------------------------
   hygienic <-        |
                WASH |    .5725018    .0105127     54.46    0.000      .5518973     .5931063
               _cons |    .3822166     .012761     29.95    0.000      .3572054     .4072277
  -------------------+----------------------------------------------------------------
   drinking_water <-  |
                WASH |    .0980249    .0122651      7.99    0.000      .0739857      .122064
               _cons |    2.258974    .0186896    120.87    0.000      2.222343     2.295605
  -------------------+----------------------------------------------------------------
   ASSEL <-           |
                 SES |    .8319714     .004248    195.85    0.000      .8236454     .8402973
               _cons |    .9316466    .0123302     75.56    0.000      .9074798     .9558134
  -------------------+----------------------------------------------------------------
   ASSRTV <-          |
                 SES |    .6904976    .0060472    114.19    0.000      .6786454     .7023498
               _cons |    .6473593    .0111959     57.82    0.000      .6254158     .6693029
  -------------------+----------------------------------------------------------------
   ASSFAN <-          |
                 SES |    .8910305     .003691    241.40    0.000      .8837962     .8982649
               _cons |    .8911771     .012198     73.06    0.000      .8672696     .9150847
  -------------------+----------------------------------------------------------------
   ASSAL <-           |
                 SES |    .5067489    .0080395     63.03    0.000      .4909917     .5225061
               _cons |    1.193064    .0132653     89.94    0.000      1.167065     1.219064
  -------------------+----------------------------------------------------------------
   ASSRE <-           |
                 SES |    .4732838    .0085691     55.23    0.000      .4564886     .4900789
               _cons |    .3051447     .010229     29.83    0.000      .2850963     .3251931
  -------------------+----------------------------------------------------------------
   food_security <-   |
                 SES |    .4106396    .0089007     46.14    0.000      .3931945     .4280847
               _cons |    1.248781    .0134546     92.81    0.000       1.22241     1.275151
  -------------------+----------------------------------------------------------------
   ASSWC <-           |
                 SES |    .4349794    .0087855     49.51    0.000      .4177601     .4521987
               _cons |    .7469405    .0113921     65.57    0.000      .7246123     .7692687
  -------------------+----------------------------------------------------------------
   MUWALL9 <-         |
                 SES |    .4436367    .0087747     50.56    0.000      .4264387     .4608347
               _cons |    .4588745    .0105443     43.52    0.000      .4382081     .4795409
---------------------+----------------------------------------------------------------
       var(e.wash1_a)|    .9194116    .0069032                    .9059806     .9330417
       var(e.wash2_a)|    .9318802    .0063645                    .9194892     .9444382
       var(e.wash3_a)|    .9876075    .0027187                    .9822933     .9929504
       var(e.wash4_a)|    .9713679    .0040842                     .963396     .9794058
       var(e.wash5_a)|    .9906902    .0023403                    .9861138     .9952877
       var(e.wash6_a)|    .8341757    .0095146                    .8157343      .853034
       var(e.wash7_a)|    .9633687    .0046541                    .9542899      .972534
       var(e.wash8_a)|    .9825652    .0031917                    .9763293     .9888408
       var(e.wash9_a)|     .980366    .0033939                    .9737366     .9870405
      var(e.wash10_a)|    .9720308    .0040111                    .9642009     .9799242
      var(e.hygienic)|    .6722417    .0120371                    .6490586     .6962528
var(e.drinking_water)|    .9903911    .0024046                    .9856895     .9951152
         var(e.ASSEL)|    .3078236    .0070684                    .2942769      .321994
        var(e.ASSRTV)|    .5232131    .0083511                    .5070986     .5398396
        var(e.ASSFAN)|    .2060646    .0065777                    .1935676     .2193684
         var(e.ASSAL)|    .7432055    .0081481                     .727406     .7593483
         var(e.ASSRE)|    .7760025    .0081112                    .7602665     .7920642
 var(e.food_security)|    .8313751      .00731                    .8171705     .8458266
         var(e.ASSWC)|    .8107929     .007643                    .7959504     .8259123
       var(e.MUWALL9)|    .8031865    .0077855                    .7880712     .8185917
           var(e.whz)|    .9501411     .004474                    .9414125     .9589505
          var(e.WASH)|    .4828064    .0169167                    .4507631     .5171276
           var(e.SES)|    .9291467    .0051088                    .9191875     .9392139
---------------------+----------------------------------------------------------------
LR test of model vs. saturated: chi2(244) =   9557.90, Prob > chi2 = 0.0000

. estat gof, stats(all)

---------------------+------------------------------------------------------
Fit statistic  |      Value   Description
---------------------+------------------------------------------------------
Likelihood ratio  |
chi2_ms(244)   |   9557.900     model vs. saturated
p > chi2   |      0.000
chi2_bs(273)   |  39711.222     baseline vs. saturated
p > chi2   |      0.000
---------------------+------------------------------------------------------
Population error  |
RMSEA   |      0.061     Root mean squared error of approximation
90% CI, lower bound   |      0.060
upper bound   |      0.062
pclose   |      0.000     Probability RMSEA <= 0.05
---------------------+------------------------------------------------------
Information criteria  |
AIC   | 256656.196     Akaike's information criterion
BIC   | 257170.538     Bayesian information criterion
---------------------+------------------------------------------------------
Baseline comparison  |
CFI   |      0.764     Comparative fit index
TLI   |      0.736     Tucker-Lewis index
---------------------+------------------------------------------------------
Size of residuals  |
SRMR   |      0.048     Standardized root mean squared residual
CD   |      0.118     Coefficient of determination
---------------------+------------------------------------------------------

. estat teffects, standardized


Direct effects
--------------------+----------------------------------------------------------------
                    |                 OIM
                    |      Coef.    Std. Err.       z    P>|z|             Std. Coef.
--------------------+----------------------------------------------------------------
 Structural          |
   SES <-            |
          resi_type |    .3971101    .0152332     26.07    0.000             .2661828
--------------------+----------------------------------------------------------------
 Measurement         |
   wash1_a <-        |
               WASH |           1   (constrained)                            .2838809
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash2_a <-        |
               WASH |    .7830092    .0452875     17.29    0.000             .2609977
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash3_a <-        |
               WASH |     .412456    .0472549      8.73    0.000             .1113218
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash4_a <-        |
               WASH |    .4982869    .0413283     12.06    0.000             .1692103
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash5_a <-        |
               WASH |    .1598692    .0211108      7.57    0.000             .0964875
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash6_a <-        |
               WASH |    1.843123     .092515     19.92    0.000             .4072153
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash7_a <-        |
               WASH |    .6687505    .0507255     13.18    0.000             .1913929
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash8_a <-        |
               WASH |     .150769    .0153273      9.84    0.000             .1320411
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash9_a <-        |
               WASH |     .261876    .0253904     10.31    0.000             .1401214
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   wash10_a <-       |
               WASH |    .3284511    .0278022     11.81    0.000               .16724
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   hygienic <-       |
               WASH |      1.8915     .096221     19.66    0.000             .5725018
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   drinking_water <- |
               WASH |    .3299001    .0433588      7.61    0.000             .0980249
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   ASSEL <-          |
                SES |           1   (constrained)                            .8319714
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   ASSRTV <-         |
                SES |    .7810966    .0110903     70.43    0.000             .6904976
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   ASSFAN <-         |
                SES |    1.070245    .0094418    113.35    0.000             .8910305
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   ASSAL <-          |
                SES |    .5958573    .0119494     49.86    0.000             .5067489
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   ASSRE <-          |
                SES |    .3495952    .0077409     45.16    0.000             .4732838
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   food_security <-  |
                SES |    .4787183    .0120846     39.61    0.000             .4106396
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   ASSWC <-          |
                SES |    .5074465    .0121836     41.65    0.000             .4349794
          resi_type |           0   (no path)                                       0
  ------------------+----------------------------------------------------------------
   MUWALL9 <-        |
                SES |    .4239372    .0100045     42.37    0.000             .4436367
          resi_type |           0   (no path)                                       0
--------------------+----------------------------------------------------------------
 Structural          |
   whz <-            |
               WASH |    .9169003    .2348872      3.90    0.000              .098861
                SES |    .1147022    .0505837      2.27    0.023              .046889
               cage |   -.0107051    .0005824    -18.38    0.000            -.1768225
               csex |    .0120604    .0196135      0.61    0.539             .0059242
          resi_type |     .014531    .0376911      0.39    0.700             .0039816
  ------------------+----------------------------------------------------------------
   WASH <-           |
                SES |    .1807814    .0082956     21.79    0.000              .685409
               csex |   -.0009178    .0026629     -0.34    0.730            -.0041811
          resi_type |     .039987    .0053443      7.48    0.000             .1016211
--------------------+----------------------------------------------------------------


Indirect effects
--------------------+----------------------------------------------------------------
                    |                 OIM
                    |      Coef.    Std. Err.       z    P>|z|             Std. Coef.
--------------------+----------------------------------------------------------------
 Structural          |
   SES <-            |
          resi_type |           0   (no path)                                       0
--------------------+----------------------------------------------------------------
 Measurement         |
   wash1_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .1807814    .0082956     21.79    0.000             .1945746
               csex |   -.0009178    .0026629     -0.34    0.730            -.0011869
          resi_type |    .1117771    .0068837     16.24    0.000             .0806407
  ------------------+----------------------------------------------------------------
   wash2_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .1415535     .007026     20.15    0.000             .1788902
               csex |   -.0007186    .0020844     -0.34    0.730            -.0010913
          resi_type |    .0875225    .0056528     15.48    0.000             .0741404
  ------------------+----------------------------------------------------------------
   wash3_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .0745644    .0082142      9.08    0.000             .0763009
               csex |   -.0003785    .0010989     -0.34    0.730            -.0004655
          resi_type |    .0461031    .0054821      8.41    0.000             .0316226
  ------------------+----------------------------------------------------------------
   wash4_a <-        |
               WASH |           0   (no path)                                       0
                SES |     .090081    .0065854     13.68    0.000             .1159783
               csex |   -.0004573     .001327     -0.34    0.730            -.0007075
          resi_type |    .0556971    .0047226     11.79    0.000             .0480667
  ------------------+----------------------------------------------------------------
   wash5_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .0289014    .0036618      7.89    0.000             .0661334
               csex |   -.0001467    .0004259     -0.34    0.730            -.0004034
          resi_type |    .0178697    .0024015      7.44    0.000             .0274087
  ------------------+----------------------------------------------------------------
   wash6_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .3332023    .0113874     29.26    0.000              .279109
               csex |   -.0016915    .0049073     -0.34    0.730            -.0017026
          resi_type |    .2060189    .0108665     18.96    0.000             .1156757
  ------------------+----------------------------------------------------------------
   wash7_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .1208976    .0079351     15.24    0.000             .1311824
               csex |   -.0006138    .0017805     -0.34    0.730            -.0008002
          resi_type |     .074751    .0056998     13.11    0.000             .0543681
  ------------------+----------------------------------------------------------------
   wash8_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .0272562    .0025491     10.69    0.000             .0905021
               csex |   -.0001384    .0004014     -0.34    0.730            -.0005521
          resi_type |    .0168525     .001714      9.83    0.000             .0375083
  ------------------+----------------------------------------------------------------
   wash9_a <-        |
               WASH |           0   (no path)                                       0
                SES |    .0473423    .0041638     11.37    0.000             .0960405
               csex |   -.0002403    .0006976     -0.34    0.730            -.0005859
          resi_type |    .0292717    .0028586     10.24    0.000             .0398036
  ------------------+----------------------------------------------------------------
   wash10_a <-       |
               WASH |           0   (no path)                                       0
                SES |    .0593778    .0044135     13.45    0.000             .1146278
               csex |   -.0003014    .0008748     -0.34    0.730            -.0006993
          resi_type |    .0367133    .0031711     11.58    0.000             .0475071
  ------------------+----------------------------------------------------------------
   hygienic <-       |
               WASH |           0   (no path)                                       0
                SES |     .341948    .0101207     33.79    0.000             .3923979
               csex |   -.0017359    .0050356     -0.34    0.730            -.0023937
          resi_type |    .2114264    .0119822     17.65    0.000             .1626278
  ------------------+----------------------------------------------------------------
   drinking_water <- |
               WASH |           0   (no path)                                       0
                SES |    .0596398    .0076299      7.82    0.000             .0671871
               csex |   -.0003028    .0008796     -0.34    0.731            -.0004099
          resi_type |    .0368753    .0047761      7.72    0.000             .0278454
  ------------------+----------------------------------------------------------------
   ASSEL <-          |
                SES |           0   (no path)                                       0
          resi_type |    .3971101    .0152332     26.07    0.000             .2214564
  ------------------+----------------------------------------------------------------
   ASSRTV <-         |
                SES |           0   (no path)                                       0
          resi_type |    .3101814    .0123136     25.19    0.000             .1837986
  ------------------+----------------------------------------------------------------
   ASSFAN <-         |
                SES |           0   (no path)                                       0
          resi_type |    .4250053    .0161548     26.31    0.000              .237177
  ------------------+----------------------------------------------------------------
   ASSAL <-          |
                SES |           0   (no path)                                       0
          resi_type |     .236621     .009937     23.81    0.000             .1348878
  ------------------+----------------------------------------------------------------
   ASSRE <-          |
                SES |           0   (no path)                                       0
          resi_type |    .1388278    .0060216     23.05    0.000               .12598
  ------------------+----------------------------------------------------------------
   food_security <-  |
                SES |           0   (no path)                                       0
          resi_type |    .1901039    .0084856     22.40    0.000             .1093052
  ------------------+----------------------------------------------------------------
   ASSWC <-          |
                SES |           0   (no path)                                       0
          resi_type |    .2015121    .0088927     22.66    0.000              .115784
  ------------------+----------------------------------------------------------------
   MUWALL9 <-        |
                SES |           0   (no path)                                       0
          resi_type |    .1683497    .0074585     22.57    0.000             .1180884
--------------------+----------------------------------------------------------------
 Structural          |
   whz <-            |
               WASH |           0   (no path)                                       0
                SES |    .1657585    .0418702      3.96    0.000             .0677602
               cage |           0   (no path)                                       0
               csex |   -.0008415    .0024501     -0.34    0.731            -.0004134
          resi_type |    .1480379     .014752     10.04    0.000              .040564
  ------------------+----------------------------------------------------------------
   WASH <-           |
                SES |           0   (no path)                                       0
               csex |           0   (no path)                                       0
          resi_type |    .0717901    .0042485     16.90    0.000             .1824441
--------------------+----------------------------------------------------------------


Total effects
--------------------+----------------------------------------------------------------
                    |                 OIM
                    |      Coef.    Std. Err.       z    P>|z|             Std. Coef.
--------------------+----------------------------------------------------------------
 Structural          |
   SES <-            |
          resi_type |    .3971101    .0152332     26.07    0.000             .2661828
--------------------+----------------------------------------------------------------
 Measurement         |
   wash1_a <-        |
               WASH |           1   (constrained)                            .2838809
                SES |    .1807814    .0082956     21.79    0.000             .1945746
               csex |   -.0009178    .0026629     -0.34    0.730            -.0011869
          resi_type |    .1117771    .0068837     16.24    0.000             .0806407
  ------------------+----------------------------------------------------------------
   wash2_a <-        |
               WASH |    .7830092    .0452875     17.29    0.000             .2609977
                SES |    .1415535     .007026     20.15    0.000             .1788902
               csex |   -.0007186    .0020844     -0.34    0.730            -.0010913
          resi_type |    .0875225    .0056528     15.48    0.000             .0741404
  ------------------+----------------------------------------------------------------
   wash3_a <-        |
               WASH |     .412456    .0472549      8.73    0.000             .1113218
                SES |    .0745644    .0082142      9.08    0.000             .0763009
               csex |   -.0003785    .0010989     -0.34    0.730            -.0004655
          resi_type |    .0461031    .0054821      8.41    0.000             .0316226
  ------------------+----------------------------------------------------------------
   wash4_a <-        |
               WASH |    .4982869    .0413283     12.06    0.000             .1692103
                SES |     .090081    .0065854     13.68    0.000             .1159783
               csex |   -.0004573     .001327     -0.34    0.730            -.0007075
          resi_type |    .0556971    .0047226     11.79    0.000             .0480667
  ------------------+----------------------------------------------------------------
   wash5_a <-        |
               WASH |    .1598692    .0211108      7.57    0.000             .0964875
                SES |    .0289014    .0036618      7.89    0.000             .0661334
               csex |   -.0001467    .0004259     -0.34    0.730            -.0004034
          resi_type |    .0178697    .0024015      7.44    0.000             .0274087
  ------------------+----------------------------------------------------------------
   wash6_a <-        |
               WASH |    1.843123     .092515     19.92    0.000             .4072153
                SES |    .3332023    .0113874     29.26    0.000              .279109
               csex |   -.0016915    .0049073     -0.34    0.730            -.0017026
          resi_type |    .2060189    .0108665     18.96    0.000             .1156757
  ------------------+----------------------------------------------------------------
   wash7_a <-        |
               WASH |    .6687505    .0507255     13.18    0.000             .1913929
                SES |    .1208976    .0079351     15.24    0.000             .1311824
               csex |   -.0006138    .0017805     -0.34    0.730            -.0008002
          resi_type |     .074751    .0056998     13.11    0.000             .0543681
  ------------------+----------------------------------------------------------------
   wash8_a <-        |
               WASH |     .150769    .0153273      9.84    0.000             .1320411
                SES |    .0272562    .0025491     10.69    0.000             .0905021
               csex |   -.0001384    .0004014     -0.34    0.730            -.0005521
          resi_type |    .0168525     .001714      9.83    0.000             .0375083
  ------------------+----------------------------------------------------------------
   wash9_a <-        |
               WASH |     .261876    .0253904     10.31    0.000             .1401214
                SES |    .0473423    .0041638     11.37    0.000             .0960405
               csex |   -.0002403    .0006976     -0.34    0.730            -.0005859
          resi_type |    .0292717    .0028586     10.24    0.000             .0398036
  ------------------+----------------------------------------------------------------
   wash10_a <-       |
               WASH |    .3284511    .0278022     11.81    0.000               .16724
                SES |    .0593778    .0044135     13.45    0.000             .1146278
               csex |   -.0003014    .0008748     -0.34    0.730            -.0006993
          resi_type |    .0367133    .0031711     11.58    0.000             .0475071
  ------------------+----------------------------------------------------------------
   hygienic <-       |
               WASH |      1.8915     .096221     19.66    0.000             .5725018
                SES |     .341948    .0101207     33.79    0.000             .3923979
               csex |   -.0017359    .0050356     -0.34    0.730            -.0023937
          resi_type |    .2114264    .0119822     17.65    0.000             .1626278
  ------------------+----------------------------------------------------------------
   drinking_water <- |
               WASH |    .3299001    .0433588      7.61    0.000             .0980249
                SES |    .0596398    .0076299      7.82    0.000             .0671871
               csex |   -.0003028    .0008796     -0.34    0.731            -.0004099
          resi_type |    .0368753    .0047761      7.72    0.000             .0278454
  ------------------+----------------------------------------------------------------
   ASSEL <-          |
                SES |           1   (constrained)                            .8319714
          resi_type |    .3971101    .0152332     26.07    0.000             .2214564
  ------------------+----------------------------------------------------------------
   ASSRTV <-         |
                SES |    .7810966    .0110903     70.43    0.000             .6904976
          resi_type |    .3101814    .0123136     25.19    0.000             .1837986
  ------------------+----------------------------------------------------------------
   ASSFAN <-         |
                SES |    1.070245    .0094418    113.35    0.000             .8910305
          resi_type |    .4250053    .0161548     26.31    0.000              .237177
  ------------------+----------------------------------------------------------------
   ASSAL <-          |
                SES |    .5958573    .0119494     49.86    0.000             .5067489
          resi_type |     .236621     .009937     23.81    0.000             .1348878
  ------------------+----------------------------------------------------------------
   ASSRE <-          |
                SES |    .3495952    .0077409     45.16    0.000             .4732838
          resi_type |    .1388278    .0060216     23.05    0.000               .12598
  ------------------+----------------------------------------------------------------
   food_security <-  |
                SES |    .4787183    .0120846     39.61    0.000             .4106396
          resi_type |    .1901039    .0084856     22.40    0.000             .1093052
  ------------------+----------------------------------------------------------------
   ASSWC <-          |
                SES |    .5074465    .0121836     41.65    0.000             .4349794
          resi_type |    .2015121    .0088927     22.66    0.000              .115784
  ------------------+----------------------------------------------------------------
   MUWALL9 <-        |
                SES |    .4239372    .0100045     42.37    0.000             .4436367
          resi_type |    .1683497    .0074585     22.57    0.000             .1180884
--------------------+----------------------------------------------------------------
 Structural          |
   whz <-            |
               WASH |    .9169003    .2348872      3.90    0.000              .098861
                SES |    .2804607    .0261052     10.74    0.000             .1146492
               cage |   -.0107051    .0005824    -18.38    0.000            -.1768225
               csex |    .0112189    .0195738      0.57    0.567             .0055108
          resi_type |    .1625688    .0352957      4.61    0.000             .0445456
  ------------------+----------------------------------------------------------------
   WASH <-           |
                SES |    .1807814    .0082956     21.79    0.000              .685409
               csex |   -.0009178    .0026629     -0.34    0.730            -.0041811
          resi_type |    .1117771    .0068837     16.24    0.000             .2840651
--------------------+----------------------------------------------------------------

. estat eqgof

Equation-level goodness of fit

-------------+---------------------------------+------------------------------
             |             Variance            |
     depvars |    fitted  predicted   residual | R-squared        mc      mc2
-------------+---------------------------------+------------------------------
observed     |                                 |
     wash1_a |  .1493797   .0120383   .1373415 |  .0805884  .2838809  .0805884
     wash2_a |  .1083489   .0073807   .1009682 |  .0681198  .2609977  .0681198
     wash3_a |  .1652568    .002048   .1632088 |  .0123925  .1113218  .0123925
     wash4_a |  .1043926    .002989   .1014036 |  .0286321  .1692103  .0286321
     wash5_a |  .0330485   .0003077   .0327408 |  .0093098  .0964875  .0093098
     wash6_a |   .246618   .0408952   .2057227 |  .1658243  .4072153  .1658243
     wash7_a |   .146974   .0053838   .1415902 |  .0366313  .1913929  .0366313
     wash8_a |  .0156953   .0002736   .0154217 |  .0174348  .1320411  .0174348
     wash9_a |  .0420481   .0008256   .0412225 |   .019634  .1401214   .019634
    wash10_a |  .0464328   .0012987   .0451341 |  .0279692    .16724  .0279692
    hygienic |  .1314084   .0430702   .0883382 |  .3277583  .5725018  .3277583
drinking_w~r |  .1363505   .0013102   .1350403 |  .0096089  .0980249  .0096089
       ASSEL |  .2499998    .173044   .0769559 |  .6921764  .8319714  .6921764
      ASSRTV |  .2214326   .1055762   .1158564 |  .4767869  .6904976  .4767869
      ASSFAN |  .2496537   .1982089   .0514448 |  .7939354  .8910305  .7939354
       ASSAL |  .2392519   .0614386   .1778133 |  .2567945  .5067489  .2567945
       ASSRE |  .0944157   .0211489   .0732668 |  .2239975  .4732838  .2239975
food_secur~y |   .235177   .0396567   .1955203 |  .1686249  .4106396  .1686249
       ASSWC |  .2355047   .0445592   .1909456 |  .1892071  .4349794  .1892071
     MUWALL9 |  .1580172   .0310999   .1269173 |  .1968135  .4436367  .1968135
         whz |   1.03552     .05163   .9838905 |  .0498589  .2232912  .0498589
latent       |                                 |
        WASH |  .0120383   .0062261   .0058122 |  .5171936  .7191617  .5171936
         SES |   .173044   .0122607   .1607832 |  .0708533  .2661828  .0708533
-------------+---------------------------------+------------------------------
     overall |                                 |  .1180272
-------------+---------------------------------+------------------------------
mc  = correlation between depvar and its prediction
mc2 = mc^2 is the Bentler-Raykov squared multiple correlation coefficient

.
end of do-file

. log close
      name:  <unnamed>
       log:  F:\FSNSP\4th paper\Submission to PLOS ONE\1st revision submission\STATA_Log.smcl
  log type:  smcl
 closed on:  24 Jan 2017, 15:02:35
-------------