. matlist r2amat

   | c1    c2
-------------+----------------------
r1   |  .5278434     .5250329
r1   |  .5574764      .549479
r1   |   .577362     .5735772
r1   |  .0519286     .0462685
r1   |  .8377489     .8358057
r1   |  .0514604     .0486374
r1   |  .2713303     .2626037
r1   |  .5894182      .581998
r1   |  .1680302     .1605797
r1   |  .4270193     .4218728
r1   |  .8340666     .8315751
r1   |  .7994187     .7982248
r1   |  .9909844     .9909037
r1   |  .3985371     .3913339
r1   |  .4324944     .4169699
r1   |  .7133745     .7099419
r1   |  .9271626     .9260689
r1   |  .3399933     .3259932
r1   |  .2465547     .2352076
r1   |  .3694172     .3560816
r1   |  .3717909     .3680515
r1   |  .1153264     .1127013
r1   |  .4476153     .4443175

. matlist r2amatv41
r2amatv41 not found
r(111);

. matlist r2amat1
r2amat1 not found
r(111);

. matlist r2amat1
r2amat1 not found
r(111);

. matlist r2amatdepv41
r2amatdepv41 not found
r(111);

. list r2amat
r2amat ambiguous abbreviation
r(111);

. matrix dir
       r2amat[23,2]

. matlist r2amat

   | c1    c2
-------------+----------------------
r1   |  .5278434     .5250329
r1   |  .5574764      .549479
r1   |   .577362     .5735772
r1   |  .0519286     .0462685
r1   |  .8377489     .8358057
r1   |  .0514604     .0486374
r1   |  .2713303     .2626037
r1   |  .5894182      .581998
r1   |  .1680302     .1605797
r1   |  .4270193     .4218728
r1   |  .8340666     .8315751
r1   |  .7994187     .7982248
r1   |  .9909844     .9909037
r1   |  .3985371     .3913339
r1   |  .4324944     .4169699
r1   |  .7133745     .7099419
r1   |  .9271626     .9260689
r1   |  .3399933     .3259932
r1   |  .2465547     .2352076
r1   |  .3694172     .3560816
r1   |  .3717909     .3680515
r1   |  .1153264     .1127013
r1   |  .4476153     .4443175

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

.
. matrix define r2amat = J(23,2,0)

. matrix colnames r2amat = r2 r2a

. matlist r2amat

   | r2    r2a
-------------+----------------------
r1   |         0            0
r2   |         0            0
r3   |         0            0
r4   |         0            0
r5   |         0            0
r6   |         0            0
r7   |         0            0
r8   |         0            0
r9   |         0            0
r10   |         0            0
r11   |         0            0
r12   |         0            0
r13   |         0            0
r14   |         0            0
r15   |         0            0
r16   |         0            0
r17   |         0            0
r18   |         0            0
r19   |         0            0
r20   |         0            0
r21   |         0            0
r22   |         0            0
r23   |         0            0

. matrix rownames r2amat = depagw1 depagw2 BSIdep illw1 BSIposymp medcow1 ///
>                          crhrw1 depagw3 illw2 medcow2 anxagw3 cumdose2 ///
>                          cumdos3  anxagw2 BSIanx crhrw2 crhrw3 illw3 ///
>                           whpsleep whppa anxagw1 fdferw1 medcow3

.
.
. matrix r2amat = ( r2mat1 \ r2mat2 \ r2mat3 \ r2mat4 \ r2mat5 \ r2mat6 \ ///
>      r2mat7 \ r2mat8 \ r2mat9 \ r2mat10 \ r2mat11 \ r2mat12 \ r2mat13 \ ///
>      r2mat14 \ r2mat15 \ r2mat16 \ r2mat17 \ r2mat18 \ r2mat19 \ r2mat20 \ ///
>      r2mat21 \ r2mat22 \r2mat23 )
r2mat1 not found
r(111);

end of do-file

r(111);

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

.
. matrix define r2amat = J(23,2,0)

. matrix colnames r2amat = r2 r2a

. matlist r2amat

   | r2    r2a
-------------+----------------------
r1   |         0            0
r2   |         0            0
r3   |         0            0
r4   |         0            0
r5   |         0            0
r6   |         0            0
r7   |         0            0
r8   |         0            0
r9   |         0            0
r10   |         0            0
r11   |         0            0
r12   |         0            0
r13   |         0            0
r14   |         0            0
r15   |         0            0
r16   |         0            0
r17   |         0            0
r18   |         0            0
r19   |         0            0
r20   |         0            0
r21   |         0            0
r22   |         0            0
r23   |         0            0

. matrix rownames r2amat = depagw1 depagw2 BSIdep illw1 BSIposymp medcow1 ///
>                          crhrw1 depagw3 illw2 medcow2 anxagw3 cumdose2 ///
>                          cumdos3  anxagw2 BSIanx crhrw2 crhrw3 illw3 ///
>                           whpsleep whppa anxagw1 fdferw1 medcow3

.
.
. matrix r2amat = ( r2mat1 \ r2mat2 \ r2mat3 \ r2mat4 \ r2mat5 \ r2mat6 \ ///
>      r2mat7 \ r2mat8 \ r2mat9 \ r2mat10 \ r2mat11 \ r2mat12 \ r2mat13 \ ///
>      r2mat14 \ r2mat15 \ r2mat16 \ r2mat17 \ r2mat18 \ r2mat19 \ r2mat20 \ ///
>      r2mat21 \ r2mat22 \r2mat23 )
r2mat1 not found
r(111);

end of do-file

r(111);

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

. sjlog using mdepv4auxreg, replace