. sem (crhtw1 -> crhtw2) (crhtw1 -> crhtw3) (crhtw1 -> MiPTSD) (crhtw2 -> crhtw3) (crhtw2 -> PTSDw2) (crhtw3 -> MiPTSD) (PTSDw1 -> crhtw1) (PTSDw1 -> PTSDw2) (PTSDw1 -> MiPTSD) (PTSDw2 -> MiPTSD) (injselfr -> crhtw1) (injselfr -> crhtw2) (injselfr -> crhtw3) (injselfr -> PTSDw1) (injselfr -> MiPTSD) (cumdose1 -> cumdose2) (cumdose1 -> cumdose3) (cumdose2 -> cumdose3) (fdferw1 -> crhtw1) (fdferw1 -> crhtw2) (fdferw1 -> PTSDw1) (fdferw1 -> PTSDw2) (fdferw1 -> MiPTSD) (fdferw1 -> injselfr) if gender==1, nocapslatent

Endogenous variables


Observed:  crhtw1 crhtw2 crhtw3 MiPTSD PTSDw2 PTSDw1 injselfr cumdose2 cumdose3


Exogenous variables


Observed:  cumdose1 fdferw1


Fitting target model:

Iteration 0:   log likelihood = -7940.4683
Iteration 1:   log likelihood = -7940.4683

Structural equation model                       Number of obs      =       339
 Estimation method = ml
 Log likelihood    = -7940.4683

--------------+----------------------------------------------------------------
              |                 OIM
              |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .0048578    .0014287      3.40    0.001      .0020577      .007658
     injselfr |    .5014995    .0928059      5.40    0.000      .3196033     .6833957
      fdferw1 |    .0046318    .0014264      3.25    0.001      .0018362     .0074274
        _cons |   -.6637911     .065033    -10.21    0.000     -.7912534    -.5363288
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7231965    .0347066     20.84    0.000      .6551729     .7912201
     injselfr |    .2288853    .0624287      3.67    0.000      .1065272     .3512434
      fdferw1 |    .0020516    .0008037      2.55    0.011      .0004763     .0036268
        _cons |   -.2634203    .0481185     -5.47    0.000     -.3577309    -.1691097
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |   -.1230361    .0255087     -4.82    0.000     -.1730323    -.0730399
       crhtw2 |    1.040848    .0263316     39.53    0.000      .9892394     1.092457
     injselfr |     .074456    .0306789      2.43    0.015      .0143264     .1345856
        _cons |   -.0480025     .021924     -2.19    0.029     -.0909727    -.0050323
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |   -1.907961    .7608603     -2.51    0.012      -3.39922    -.4167026
       crhtw3 |    4.544354    .7900611      5.75    0.000      2.995862     6.092845
       PTSDw2 |    .2509758    .0417516      6.01    0.000      .1691442     .3328074
       PTSDw1 |    .0550842    .0160018      3.44    0.001      .0237213     .0864471
     injselfr |    3.191296    1.055686      3.02    0.003      1.122189     5.260404
      fdferw1 |    .0525907    .0156695      3.36    0.001      .0218791     .0833024
        _cons |    41.81764    .8310319     50.32    0.000      40.18884     43.44643
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw2 |    2.825478    .7231279      3.91    0.000      1.408174     4.242783
       PTSDw1 |    .0904689     .019674      4.60    0.000      .0519085     .1290292
      fdferw1 |    .0431227    .0202467      2.13    0.033      .0034398     .0828056
        _cons |    2.032031    .8651793      2.35    0.019      .3363108     3.727751
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    11.48699    3.472512      3.31    0.001      4.680996     18.29299
      fdferw1 |    .5689734    .0445575     12.77    0.000      .4816422     .6563046
        _cons |    .1572958    2.472281      0.06    0.949     -4.688287     5.002878
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .0043575    .0006555      6.65    0.000      .0030728     .0056423
        _cons |    .3670591    .0331329     11.08    0.000      .3021198     .4319985
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    1.339597    .0366997     36.50    0.000      1.267667     1.411527
        _cons |    .3879549    .0632438      6.13    0.000      .2639992     .5119105
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.087217    .0123079     88.34    0.000      1.063094      1.11134
     cumdose1 |   -.0439337    .0184663     -2.38    0.017      -.080127    -.0077403
        _cons |    .1920846    .0151063     12.72    0.000      .1624768     .2216924
--------------+----------------------------------------------------------------
 Variance      |
     e.crhtw1 |    .6254351    .0480394                    .5380243     .7270473
     e.crhtw2 |    .2641008    .0202855                    .2271901     .3070083
     e.crhtw3 |    .0632691    .0048597                    .0544266     .0735482
     e.MiPTSD |    70.21191    5.392944                    60.39909     81.61898
     e.PTSDw2 |    119.9617    9.214201                    103.1958     139.4514
     e.PTSDw1 |    903.8907    69.42742                    777.5629     1050.743
   e.injselfr |    .2211203    .0169841                    .1902165     .2570449
   e.cumdose2 |    1.271465    .0976606                    1.093765     1.478035
   e.cumdose3 |    .0652934    .0050152                     .056168     .0759014
--------------+----------------------------------------------------------------
LR test of model vs. saturated: chi2(30)  =     32.10, Prob > chi2 = 0.3629
.
. di "Robert A. Yaffee
Robert A. Yaffee

. "
unrecognized command:  " invalid command name
r(199);

. sem, standardized

Structural equation model                       Number of obs      =       339
 Estimation method = ml
 Log likelihood    = -7940.4683

--------------+----------------------------------------------------------------
              |                 OIM
  Standardized |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .2036448    .0592268      3.44    0.001      .0875625     .3197271
     injselfr |    .2700536     .048705      5.54    0.000      .1745935     .3655137
      fdferw1 |    .1943801    .0589537      3.30    0.001       .078833     .3099272
        _cons |   -.7149705     .062602    -11.42    0.000     -.8376682    -.5922729
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7294776    .0277846     26.25    0.000      .6750209     .7839344
     injselfr |    .1243234    .0367124      3.39    0.001      .0523684     .1962785
      fdferw1 |     .086845    .0339765      2.56    0.011      .0202522     .1534377
        _cons |   -.2861947    .0529559     -5.40    0.000     -.3899864     -.182403
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |   -.1242207    .0351285     -3.54    0.000     -.1930712    -.0553701
       crhtw2 |    1.041821    .0217746     47.85    0.000      .9991437     1.084498
     injselfr |      .04048    .0239682      1.69    0.091     -.0064968     .0874568
        _cons |   -.0522014    .0239947     -2.18    0.030     -.0992301    -.0051726
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |   -.1486941     .059975     -2.48    0.013     -.2662431    -.0311452
       crhtw3 |    .3507802    .0600787      5.84    0.000      .2330281     .4685323
       PTSDw2 |    .2667816    .0438584      6.08    0.000      .1808207     .3527425
       PTSDw1 |    .1799631    .0521731      3.45    0.001      .0777056     .2822206
     injselfr |    .1339278    .0451171      2.97    0.003      .0454999     .2223558
      fdferw1 |    .1720028    .0509056      3.38    0.001      .0722296      .271776
        _cons |    3.510269     .161856     21.69    0.000      3.193037     3.827501
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw2 |    .2053697    .0517171      3.97    0.000      .1040062     .3067333
       PTSDw1 |    .2780555    .0590272      4.71    0.000      .1623643     .3937468
      fdferw1 |    .1326807    .0619226      2.14    0.032      .0113147     .2540467
        _cons |    .1604675    .0698109      2.30    0.022      .0236407     .2972944
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    .1475549    .0443561      3.33    0.001      .0606185     .2344913
      fdferw1 |    .5695893    .0354328     16.08    0.000      .5001423     .6390362
        _cons |    .0040415    .0635914      0.06    0.949     -.1205953     .1286783
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .3395974     .046643      7.28    0.000      .2481789      .431016
        _cons |    .7341981    .0790702      9.29    0.000      .5792234     .8891729
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    .8928449    .0085431    104.51    0.000      .8761007      .909589
        _cons |    .1549505    .0263369      5.88    0.000       .103331     .2065699
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.019854    .0102559     99.44    0.000      .9997531     1.039956
     cumdose1 |   -.0274676    .0115624     -2.38    0.018     -.0501295    -.0048058
        _cons |    .0719658    .0060436     11.91    0.000      .0601205     .0838111
--------------+----------------------------------------------------------------
 Variance      |
     e.crhtw1 |    .7255973    .0401861                    .6509583     .8087944
     e.crhtw2 |    .3117414    .0277427                    .2618447     .3711463
     e.crhtw3 |    .0748218    .0077574                    .0610627      .091681
     e.MiPTSD |     .494735    .0367096                    .4277727     .5721795
     e.PTSDw2 |    .7480941    .0399982                    .6736669     .8307442
     e.PTSDw1 |    .5967122    .0372096                    .5280632     .6742857
   e.injselfr |    .8846736    .0316797                    .8247114     .9489954
   e.cumdose2 |     .202828    .0152553                    .1750276     .2350441
   e.cumdose3 |    .0091651     .000825                    .0076827     .0109335
--------------+----------------------------------------------------------------
LR test of model vs. saturated: chi2(30)  =     32.10, Prob > chi2 = 0.3629

. estat ic

-------------+---------------------------------------------------------------
       Model |    Obs    ll(null)   ll(model)     df          AIC         BIC
-------------+---------------------------------------------------------------
.            |    339           .   -7940.468     42     15964.94    16125.63
-------------+---------------------------------------------------------------


Note:  N=Obs used in calculating BIC; see [R] BIC note


. estat gof

---------------------+------------------------------------------------------
Fit statistic  |      Value   Description
---------------------+------------------------------------------------------
Likelihood ratio  |
chi2_ms(30)   |     32.100     model vs. saturated
p > chi2   |      0.363
chi2_bs(54)   |   4097.693     baseline vs. saturated
p > chi2   |      0.000
---------------------+------------------------------------------------------

. estat framework
(model contains no latent variables)


Endogenous variables on endogenous variables


                 | observed
    Beta   | crhtw1    crhtw2    crhtw3    MiPTSD    PTSDw2    PTSDw1
    -------------+------------------------------------------------------------------
    observed  |
    crhtw1   |         0            0            0            0            0     .0048578
    crhtw2   |  .7231965            0            0            0            0            0
    crhtw3   | -.1230361     1.040848            0            0            0            0
    MiPTSD   | -1.907961            0     4.544354            0     .2509758     .0550842
    PTSDw2   |         0     2.825478            0            0            0     .0904689
    PTSDw1   |         0            0            0            0            0            0
    injselfr   |         0            0            0            0            0            0
    cumdose2   |         0            0            0            0            0            0
    cumdose3   |         0            0            0            0            0            0
    -------------+------------------------------------------------------------------

                 | observed
    Beta   | injselfr    cumdose2    cumdose3
    -------------+---------------------------------
    observed  |
    crhtw1   |  .5014995            0            0
    crhtw2   |  .2288853            0            0
    crhtw3   |   .074456            0            0
    MiPTSD   |  3.191296            0            0
    PTSDw2   |         0            0            0
    PTSDw1   |  11.48699            0            0
    injselfr   |         0            0            0
    cumdose2   |         0            0            0
    cumdose3   |         0     1.087217            0
    -------------+---------------------------------


Exogenous variables on endogenous variables


                 | observed
    Gamma   | cumdose1    fdferw1
    -------------+----------------------
    observed  |
    crhtw1   |         0     .0046318
    crhtw2   |         0     .0020516
    crhtw3   |         0            0
    MiPTSD   |         0     .0525907
    PTSDw2   |         0     .0431227
    PTSDw1   |         0     .5689734
    injselfr   |         0     .0043575
    cumdose2   |  1.339597            0
    cumdose3   | -.0439337            0
    -------------+----------------------


Covariances of error variables


                 | observed
    Psi   | e.crhtw1    e.crhtw2    e.crhtw3    e.MiPTSD    e.PTSDw2    e.PTSDw1
    -------------+------------------------------------------------------------------
    observed  |
    e.crhtw1   |  .6254351
    e.crhtw2   |         0     .2641008
    e.crhtw3   |         0            0     .0632691
    e.MiPTSD   |         0            0            0     70.21191
    e.PTSDw2   |         0            0            0            0     119.9617
    e.PTSDw1   |         0            0            0            0            0     903.8907
    e.injselfr   |         0            0            0            0            0            0
    e.cumdose2   |         0            0            0            0            0            0
    e.cumdose3   |         0            0            0            0            0            0
    -------------+------------------------------------------------------------------

                 | observed
    Psi   | e.injse~r    e.cumdo~2    e.cumdo~3
    -------------+---------------------------------
    observed  |
    e.injselfr   |  .2211203
    e.cumdose2   |         0     1.271465
    e.cumdose3   |         0            0     .0652934
    -------------+---------------------------------


Intercepts of endogenous variables


                 | observed
    alpha   | crhtw1    crhtw2    crhtw3    MiPTSD    PTSDw2    PTSDw1
    -------------+------------------------------------------------------------------
    _cons   | -.6637911    -.2634203    -.0480025     41.81764     2.032031     .1572958
    -------------+------------------------------------------------------------------

                 | observed
    alpha   | injselfr    cumdose2    cumdose3
    -------------+---------------------------------
    _cons   |  .3670591     .3879549     .1920846
    -------------+---------------------------------


Covariances of exogenous variables


                 | observed
    Phi   | cumdose1    fdferw1
    -------------+----------------------
    observed  |
    cumdose1   |   2.78471
    fdferw1   |   5.08249     1518.066
    -------------+----------------------


Means of exogenous variables


                 | observed
    kappa   | cumdose1    fdferw1
    -------------+----------------------
    mean   |  .4300973     32.20059
    -------------+----------------------

. estat teffects, standardized


Direct effects
--------------+----------------------------------------------------------------
              |                 OIM
              |      Coef.    Std. Err.       z    P>|z|             Std. Coef.
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .0048578    .0014287      3.40    0.001             .2036448
     injselfr |    .5014995    .0928059      5.40    0.000             .2700536
      fdferw1 |    .0046318    .0014264      3.25    0.001             .1943801
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7231965    .0347066     20.84    0.000             .7294776
       PTSDw1 |           0   (no path)                                       0
     injselfr |    .2288853    .0624287      3.67    0.000             .1243234
      fdferw1 |    .0020516    .0008037      2.55    0.011              .086845
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |   -.1230361    .0255087     -4.82    0.000            -.1242207
       crhtw2 |    1.040848    .0263316     39.53    0.000             1.041821
       PTSDw1 |           0   (no path)                                       0
     injselfr |     .074456    .0306789      2.43    0.015               .04048
      fdferw1 |           0   (no path)                                       0
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |   -1.907961    .7608603     -2.51    0.012            -.1486941
       crhtw2 |           0   (no path)                                       0
       crhtw3 |    4.544354    .7900611      5.75    0.000             .3507802
       PTSDw2 |    .2509758    .0417516      6.01    0.000             .2667816
       PTSDw1 |    .0550842    .0160018      3.44    0.001             .1799631
     injselfr |    3.191296    1.055686      3.02    0.003             .1339278
      fdferw1 |    .0525907    .0156695      3.36    0.001             .1720028
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw1 |           0   (no path)                                       0
       crhtw2 |    2.825478    .7231279      3.91    0.000             .2053697
       PTSDw1 |    .0904689     .019674      4.60    0.000             .2780555
     injselfr |           0   (no path)                                       0
      fdferw1 |    .0431227    .0202467      2.13    0.033             .1326807
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    11.48699    3.472512      3.31    0.001             .1475549
      fdferw1 |    .5689734    .0445575     12.77    0.000             .5695893
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .0043575    .0006555      6.65    0.000             .3395974
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    1.339597    .0366997     36.50    0.000             .8928449
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.087217    .0123079     88.34    0.000             1.019854
     cumdose1 |   -.0439337    .0184663     -2.38    0.017            -.0274676
--------------+----------------------------------------------------------------


Indirect effects
--------------+----------------------------------------------------------------
              |                 OIM
              |      Coef.    Std. Err.       z    P>|z|             Std. Coef.
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |           0   (no path)                                       0
     injselfr |    .0558017    .0168688      3.31    0.001             .0300488
      fdferw1 |    .0051924     .000997      5.21    0.000             .2179079
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |           0   (no path)                                       0
       PTSDw1 |    .0035132    .0010332      3.40    0.001             .1485543
     injselfr |    .4030383    .0682166      5.91    0.000              .218918
      fdferw1 |    .0081022    .0009806      8.26    0.000             .3429748
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |    .7527379    .0361243     20.84    0.000             .7599851
       crhtw2 |           0   (no path)                                       0
       PTSDw1 |     .003059    .0008996      3.40    0.001             .1294701
     injselfr |    .5891685    .0880359      6.69    0.000             .3203172
      fdferw1 |    .0096843    .0011272      8.59    0.000             .4103275
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |    3.374426    .2215238     15.23    0.000             .2629808
       crhtw2 |     5.43911    .2173851     25.02    0.000              .420239
       crhtw3 |           0   (no path)                                       0
       PTSDw2 |           0   (no path)                                       0
       PTSDw1 |    .0298293    .0053638      5.56    0.000              .097454
     injselfr |    3.294119    .4901042      6.72    0.000             .1382429
      fdferw1 |    .1053479    .0131261      8.03    0.000             .3445498
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw1 |    2.043376    .0980626     20.84    0.000             .1498126
       crhtw2 |           0   (no path)                                       0
       PTSDw1 |    .0099263    .0029193      3.40    0.001             .0305086
     injselfr |    2.824702    .4342978      6.50    0.000             .1115199
      fdferw1 |    .0846922     .014392      5.88    0.000             .2605826
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |           0   (no path)                                       0
      fdferw1 |    .0500551    .0169015      2.96    0.003             .0501093
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |           0   (no path)                                       0
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |           0   (no path)                                       0
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |           0   (no path)                                       0
     cumdose1 |    1.456433    .0431728     33.73    0.000             .9105718
--------------+----------------------------------------------------------------


Total effects
--------------+----------------------------------------------------------------
              |                 OIM
              |      Coef.    Std. Err.       z    P>|z|             Std. Coef.
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .0048578    .0014287      3.40    0.001             .2036448
     injselfr |    .5573012    .0943265      5.91    0.000             .3001024
      fdferw1 |    .0098242    .0011791      8.33    0.000              .412288
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7231965    .0347066     20.84    0.000             .7294776
       PTSDw1 |    .0035132    .0010332      3.40    0.001             .1485543
     injselfr |    .6319236    .0924708      6.83    0.000             .3432414
      fdferw1 |    .0101538    .0011585      8.76    0.000             .4298197
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |    .6297018    .0442228     14.24    0.000             .6357645
       crhtw2 |    1.040848    .0263316     39.53    0.000             1.041821
       PTSDw1 |     .003059    .0008996      3.40    0.001             .1294701
     injselfr |    .6636245    .0932283      7.12    0.000             .3607972
      fdferw1 |    .0096843    .0011272      8.59    0.000             .4103275
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |    1.466464    .7924526      1.85    0.064             .1142867
       crhtw2 |     5.43911    .2173851     25.02    0.000              .420239
       crhtw3 |    4.544354    .7900611      5.75    0.000             .3507802
       PTSDw2 |    .2509758    .0417516      6.01    0.000             .2667816
       PTSDw1 |    .0849135    .0168768      5.03    0.000             .2774171
     injselfr |    6.485415    1.163905      5.57    0.000             .2721708
      fdferw1 |    .1579386    .0141501     11.16    0.000             .5165526
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw1 |    2.043376    .0980626     20.84    0.000             .1498126
       crhtw2 |    2.825478    .7231279      3.91    0.000             .2053697
       PTSDw1 |    .1003952    .0198894      5.05    0.000             .3085641
     injselfr |    2.824702    .4342978      6.50    0.000             .1115199
      fdferw1 |    .1278148    .0162299      7.88    0.000             .3932633
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    11.48699    3.472512      3.31    0.001             .1475549
      fdferw1 |    .6190285    .0425806     14.54    0.000             .6196985
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .0043575    .0006555      6.65    0.000             .3395974
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    1.339597    .0366997     36.50    0.000             .8928449
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.087217    .0123079     88.34    0.000             1.019854
     cumdose1 |    1.412499     .040758     34.66    0.000             .8831041
--------------+----------------------------------------------------------------

. di "Cluster robust over time"
Cluster robust over time

. sem (crhtw1 -> crhtw2) (crhtw1 -> crhtw3) (crhtw1 -> MiPTSD) (crhtw2 -> crhtw3) (crhtw2 -> PTSDw2) (crhtw3 -> MiPTSD) (PTSDw1 -> crhtw1) (PTSDw1 -> PTSDw2) (PTSDw1 -> MiPTSD) (PTSDw2 -> MiPTSD) (injselfr -> crhtw1) (injselfr -> crhtw2) (injselfr -> crhtw3) (injselfr -> PTSDw1) (injselfr -> MiPTSD) (cumdose1 -> cumdose2) (cumdose1 -> cumdose3) (cumdose2 -> cumdose3) (fdferw1 -> crhtw1) (fdferw1 -> crhtw2) (fdferw1 -> PTSDw1) (fdferw1 -> PTSDw2) (fdferw1 -> MiPTSD) (fdferw1 -> injselfr) if gender==1, vce(cluster id) nocapslatent

Endogenous variables


Observed:  crhtw1 crhtw2 crhtw3 MiPTSD PTSDw2 PTSDw1 injselfr cumdose2 cumdose3


Exogenous variables


Observed:  cumdose1 fdferw1


Fitting target model:

Iteration 0:   log pseudolikelihood = -7940.4683
Iteration 1:   log pseudolikelihood = -7940.4683

Structural equation model                       Number of obs      =       339
 Estimation method = ml
 Log pseudolikelihood = -7940.4683

(Std. Err. adjusted for 339 clusters in id)
--------------+----------------------------------------------------------------
              |               Robust
              |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .0048578    .0013114      3.70    0.000      .0022875     .0074282
     injselfr |    .5014995    .0949467      5.28    0.000      .3154074     .6875917
      fdferw1 |    .0046318    .0014057      3.29    0.001      .0018766      .007387
        _cons |   -.6637911    .0644909    -10.29    0.000      -.790191    -.5373913
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7231965    .0426289     16.96    0.000      .6396453     .8067476
     injselfr |    .2288853    .0715661      3.20    0.001      .0886184     .3691522
      fdferw1 |    .0020516    .0008489      2.42    0.016      .0003878     .0037153
        _cons |   -.2634203    .0451324     -5.84    0.000     -.3518782    -.1749624
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |   -.1230361    .0383291     -3.21    0.001     -.1981598    -.0479124
       crhtw2 |    1.040848    .0316977     32.84    0.000       .978722     1.102975
     injselfr |     .074456    .0295742      2.52    0.012      .0164916     .1324204
        _cons |   -.0480025    .0165014     -2.91    0.004     -.0803447    -.0156603
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |   -1.907961    .7956899     -2.40    0.016     -3.467485    -.3484379
       crhtw3 |    4.544354    .8420389      5.40    0.000      2.893988      6.19472
       PTSDw2 |    .2509758    .0681866      3.68    0.000      .1173324     .3846191
       PTSDw1 |    .0550842    .0205745      2.68    0.007      .0147589     .0954095
     injselfr |    3.191296    .9792807      3.26    0.001      1.271942     5.110651
      fdferw1 |    .0525907    .0190261      2.76    0.006      .0153003     .0898812
        _cons |    41.81764    .8020283     52.14    0.000      40.24569     43.38958
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw2 |    2.825478    .6673048      4.23    0.000      1.517585     4.133372
       PTSDw1 |    .0904689    .0231606      3.91    0.000      .0450749     .1358629
      fdferw1 |    .0431227    .0198095      2.18    0.029      .0042968     .0819485
        _cons |    2.032031     .622992      3.26    0.001      .8109892     3.253073
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    11.48699     3.56193      3.22    0.001       4.50574     18.46825
      fdferw1 |    .5689734    .0518786     10.97    0.000      .4672933     .6706535
        _cons |    .1572958    1.724654      0.09    0.927     -3.222964     3.537555
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .0043575    .0005858      7.44    0.000      .0032093     .0055058
        _cons |    .3670591    .0340622     10.78    0.000      .3002984     .4338198
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    1.339597    .2873117      4.66    0.000      .7764767     1.902718
        _cons |    .3879549    .0833225      4.66    0.000      .2246458     .5512639
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.087217    .0775735     14.02    0.000      .9351758     1.239258
     cumdose1 |   -.0439337    .0846185     -0.52    0.604     -.2097829     .1219155
        _cons |    .1920846    .0309996      6.20    0.000      .1313266     .2528426
--------------+----------------------------------------------------------------
 Variance      |
     e.crhtw1 |    .6254351    .0405482                    .5508042     .7101781
     e.crhtw2 |    .2641008    .0352958                    .2032407     .3431854
     e.crhtw3 |    .0632691    .0183167                    .0358728     .1115881
     e.MiPTSD |    70.21191    6.635446                    58.34009     84.49955
     e.PTSDw2 |    119.9617    30.09372                    73.36842     196.1444
     e.PTSDw1 |    903.8907    83.87613                    753.5794     1084.183
   e.injselfr |    .2211203    .0080596                    .2058748     .2374947
   e.cumdose2 |    1.271465    .8062854                    .3668804     4.406405
   e.cumdose3 |    .0652934    .0299735                    .0265533     .1605537
--------------+----------------------------------------------------------------
.
. sem (crhtw1 -> crhtw2) (crhtw1 -> crhtw3) (crhtw1 -> MiPTSD) (crhtw2 -> crhtw3) (crhtw2 -> PTSDw2) (crhtw3 -> MiPTSD) (PTSDw1 -> crhtw1) (PTSDw1 -> PTSDw2) (PTSDw1 -> MiPTSD) (PTSDw2 -> MiPTSD) (injselfr -> crhtw1) (injselfr -> crhtw2) (injselfr -> crhtw3) (injselfr -> PTSDw1) (injselfr -> MiPTSD) (cumdose1 -> cumdose2) (cumdose1 -> cumdose3) (cumdose2 -> cumdose3) (fdferw1 -> crhtw1) (fdferw1 -> crhtw2) (fdferw1 -> PTSDw1) (fdferw1 -> PTSDw2) (fdferw1 -> MiPTSD) (fdferw1 -> injselfr) if gender==1, vce(cluster id) standardized nocapslatent

Endogenous variables


Observed:  crhtw1 crhtw2 crhtw3 MiPTSD PTSDw2 PTSDw1 injselfr cumdose2 cumdose3


Exogenous variables


Observed:  cumdose1 fdferw1


Fitting target model:

Iteration 0:   log pseudolikelihood = -7940.4683
Iteration 1:   log pseudolikelihood = -7940.4683

Structural equation model                       Number of obs      =       339
 Estimation method = ml
 Log pseudolikelihood = -7940.4683

(Std. Err. adjusted for 339 clusters in id)
--------------+----------------------------------------------------------------
              |               Robust
  Standardized |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .2036448     .055262      3.69    0.000      .0953332     .3119564
     injselfr |    .2700536    .0493535      5.47    0.000      .1733225     .3667847
      fdferw1 |    .1943801    .0586235      3.32    0.001      .0794801       .30928
        _cons |   -.7149705    .0688283    -10.39    0.000     -.8498716    -.5800695
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7294776    .0410092     17.79    0.000      .6491011     .8098542
     injselfr |    .1243234    .0388396      3.20    0.001      .0481991     .2004477
      fdferw1 |     .086845    .0359792      2.41    0.016       .016327     .1573629
        _cons |   -.2861947     .049266     -5.81    0.000     -.3827543    -.1896351
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |   -.1242207     .040508     -3.07    0.002      -.203615    -.0448264
       crhtw2 |    1.041821     .029466     35.36    0.000      .9840687     1.099573
     injselfr |      .04048    .0176063      2.30    0.021      .0059722     .0749878
        _cons |   -.0522014    .0179052     -2.92    0.004      -.087295    -.0171078
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |   -.1486941    .0619172     -2.40    0.016     -.2700496    -.0273387
       crhtw3 |    .3507802    .0641917      5.46    0.000      .2249668     .4765936
       PTSDw2 |    .2667816     .058049      4.60    0.000      .1530077     .3805556
       PTSDw1 |    .1799631    .0666201      2.70    0.007        .04939     .3105362
     injselfr |    .1339278    .0409918      3.27    0.001      .0535853     .2142703
      fdferw1 |    .1720028    .0624052      2.76    0.006      .0496909     .2943147
        _cons |    3.510269    .1602696     21.90    0.000      3.196146     3.824392
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw2 |    .2053697    .0378069      5.43    0.000      .1312696     .2794699
       PTSDw1 |    .2780555    .0512411      5.43    0.000      .1776248     .3784863
      fdferw1 |    .1326807    .0595285      2.23    0.026       .016007     .2493544
        _cons |    .1604675    .0522588      3.07    0.002      .0580422     .2628929
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    .1475549    .0449892      3.28    0.001      .0593777     .2357321
      fdferw1 |    .5695893     .047471     12.00    0.000      .4765477     .6626308
        _cons |    .0040415     .044297      0.09    0.927      -.082779     .0908619
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .3395974     .045766      7.42    0.000      .2498978     .4292971
        _cons |    .7341981    .0685545     10.71    0.000      .5998339     .8685624
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    .8928449    .0561136     15.91    0.000      .7828642     1.002826
        _cons |    .1549505    .0607204      2.55    0.011      .0359407     .2739603
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.019854    .0497131     20.51    0.000      .9224185      1.11729
     cumdose1 |   -.0274676    .0572264     -0.48    0.631     -.1396293      .084694
        _cons |    .0719658    .0122094      5.89    0.000      .0480358     .0958958
--------------+----------------------------------------------------------------
 Variance      |
     e.crhtw1 |    .7255973    .0428969                     .646209     .8147385
     e.crhtw2 |    .3117414     .043204                    .2375895     .4090362
     e.crhtw3 |    .0748218    .0216941                    .0423865     .1320773
     e.MiPTSD |     .494735    .0414211                    .4198622     .5829597
     e.PTSDw2 |    .7480941    .0411906                    .6715657     .8333435
     e.PTSDw1 |    .5967122    .0506483                    .5052611     .7047158
   e.injselfr |    .8846736     .031084                    .8258005     .9477439
   e.cumdose2 |     .202828    .1002015                    .0770222     .5341217
   e.cumdose3 |    .0091651    .0043052                      .00365     .0230134
--------------+----------------------------------------------------------------
.
. sem (crhtw1 -> crhtw2) (crhtw1 -> crhtw3) (crhtw1 -> MiPTSD) (crhtw2 -> crhtw3) (crhtw2 -> PTSDw2) (crhtw3 -> MiPTSD) (PTSDw1 -> crhtw1) (PTSDw1 -> PTSDw2) (PTSDw1 -> MiPTSD) (PTSDw2 -> MiPTSD) (injselfr -> crhtw1) (injselfr -> crhtw2) (injselfr -> crhtw3) (injselfr -> PTSDw1) (injselfr -> MiPTSD) (cumdose1 -> cumdose2) (cumdose1 -> cumdose3) (cumdose2 -> cumdose3) (fdferw1 -> crhtw1) (fdferw1 -> crhtw2) (fdferw1 -> PTSDw1) (fdferw1 -> PTSDw2) (fdferw1 -> MiPTSD) (fdferw1 -> injselfr) if gender==1, method(mlmv) standardized nocapslatent

Endogenous variables


Observed:  crhtw1 crhtw2 crhtw3 MiPTSD PTSDw2 PTSDw1 injselfr cumdose2 cumdose3


Exogenous variables


Observed:  cumdose1 fdferw1


Fitting target model:

Iteration 0:   log likelihood = -7940.4683
Iteration 1:   log likelihood = -7940.4683

Structural equation model                       Number of obs      =       339
 Estimation method = mlmv
 Log likelihood    = -7940.4683

--------------+----------------------------------------------------------------
              |                 OIM
  Standardized |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
--------------+----------------------------------------------------------------
 Structural    |
   crhtw1 <-   |
       PTSDw1 |    .2036448    .0592268      3.44    0.001      .0875625     .3197271
     injselfr |    .2700536     .048705      5.54    0.000      .1745935     .3655137
      fdferw1 |    .1943801    .0589537      3.30    0.001       .078833     .3099272
        _cons |   -.7149705     .062602    -11.42    0.000     -.8376682    -.5922729
  ------------+----------------------------------------------------------------
   crhtw2 <-   |
       crhtw1 |    .7294776    .0277846     26.25    0.000      .6750209     .7839344
     injselfr |    .1243234    .0367124      3.39    0.001      .0523684     .1962785
      fdferw1 |     .086845    .0339765      2.56    0.011      .0202522     .1534377
        _cons |   -.2861947    .0529559     -5.40    0.000     -.3899864     -.182403
  ------------+----------------------------------------------------------------
   crhtw3 <-   |
       crhtw1 |   -.1242207    .0351285     -3.54    0.000     -.1930712    -.0553701
       crhtw2 |    1.041821    .0217746     47.85    0.000      .9991437     1.084498
     injselfr |      .04048    .0239682      1.69    0.091     -.0064968     .0874568
        _cons |   -.0522014    .0239947     -2.18    0.030     -.0992301    -.0051726
  ------------+----------------------------------------------------------------
   MiPTSD <-   |
       crhtw1 |   -.1486941     .059975     -2.48    0.013     -.2662431    -.0311452
       crhtw3 |    .3507802    .0600787      5.84    0.000      .2330281     .4685323
       PTSDw2 |    .2667816    .0438584      6.08    0.000      .1808207     .3527425
       PTSDw1 |    .1799631    .0521731      3.45    0.001      .0777056     .2822206
     injselfr |    .1339278    .0451171      2.97    0.003      .0454999     .2223558
      fdferw1 |    .1720028    .0509056      3.38    0.001      .0722296      .271776
        _cons |    3.510269     .161856     21.69    0.000      3.193037     3.827501
  ------------+----------------------------------------------------------------
   PTSDw2 <-   |
       crhtw2 |    .2053697    .0517171      3.97    0.000      .1040062     .3067333
       PTSDw1 |    .2780555    .0590272      4.71    0.000      .1623643     .3937468
      fdferw1 |    .1326807    .0619226      2.14    0.032      .0113147     .2540467
        _cons |    .1604675    .0698109      2.30    0.022      .0236407     .2972944
  ------------+----------------------------------------------------------------
   PTSDw1 <-   |
     injselfr |    .1475549    .0443561      3.33    0.001      .0606185     .2344913
      fdferw1 |    .5695893    .0354328     16.08    0.000      .5001423     .6390362
        _cons |    .0040415    .0635914      0.06    0.949     -.1205953     .1286783
  ------------+----------------------------------------------------------------
   injselfr <- |
      fdferw1 |    .3395974     .046643      7.28    0.000      .2481789      .431016
        _cons |    .7341981    .0790702      9.29    0.000      .5792234     .8891729
  ------------+----------------------------------------------------------------
   cumdose2 <- |
     cumdose1 |    .8928449    .0085431    104.51    0.000      .8761007      .909589
        _cons |    .1549505    .0263369      5.88    0.000       .103331     .2065699
  ------------+----------------------------------------------------------------
   cumdose3 <- |
     cumdose2 |    1.019854    .0102559     99.44    0.000      .9997531     1.039956
     cumdose1 |   -.0274676    .0115624     -2.38    0.018     -.0501295    -.0048058
        _cons |    .0719658    .0060436     11.91    0.000      .0601205     .0838111
--------------+----------------------------------------------------------------
 Variance      |
     e.crhtw1 |    .7255973    .0401861                    .6509583     .8087944
     e.crhtw2 |    .3117414    .0277427                    .2618447     .3711463
     e.crhtw3 |    .0748218    .0077574                    .0610627      .091681
     e.MiPTSD |     .494735    .0367096                    .4277727     .5721795
     e.PTSDw2 |    .7480941    .0399982                    .6736669     .8307442
     e.PTSDw1 |    .5967122    .0372096                    .5280632     .6742857
   e.injselfr |    .8846736    .0316797                    .8247114     .9489954
   e.cumdose2 |     .202828    .0152553                    .1750276     .2350441
   e.cumdose3 |    .0091651     .000825                    .0076827     .0109335
--------------+----------------------------------------------------------------
LR test of model vs. saturated: chi2(30)  =     32.10, Prob > chi2 = 0.3629
.
. sjlog close, replace