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

. title4 "7. SUMMARY MATRIX of dose - vacation plans impact"
-------------
7. SUMMARY MATRIX of dose - vacation plans impact
-------------

. set more off

.   matrix define HP2vactnMw3 = J(1,8, 0)

.         matrix define HP2vactnFw3 = J(1,8, 0)

. matrix colnames HP2vactnMw3=  hypnum ptnum wave gender medsig numMAsig numModsig numMed

. matrix colnames HP2vactnFw3=  hypnum ptnum wave gender medsig numMAsig numModsig numMed

.     matrix define HP2vactnMw3= (1, 2, 3, 1, 0, 3, 0, 2 )

.         matrix define HP2vactnFw3= (1, 2, 3, 2, 0, 3, 1, 3 )

.         matrix rowname HP2vactnMw3 = HP2vactnM

.         matrix rowname HP2vactnFw3 = HP2vactnF

.         matlist HP2vactnMw3

   | c1    c2    c3    c4    c5    c6    c7    c8
-------------+----------------------------------------------------------------------------------------
HP2vactnM   |         1            2            3            1            0            3            0            2

.         matlist HP2vactnFw3

   | c1    c2    c3    c4    c5    c6    c7    c8
-------------+----------------------------------------------------------------------------------------
HP2vactnF   |         1            2            3            2            0            3            1            3

.         matrix define H1pt2w3 = ( HP2wkMw3 \ HP2wkFw3 \ HP2hmcrMw3 \ HP2hmcrFw3 \ HP2spMw3 \ HP2spFw3 \ HP2inthbMw3 \ HP2inthbFw3 \ HP2vactnMw3 \ HP2vactnFw3 )

.
.         matlist H1pt2w3

   | c1    c2    c3    c4    c5    c6    c7    c8
-------------+----------------------------------------------------------------------------------------
r1   |         1            2            3            1            0            4            0            4
r1   |         1            2            3            2            0            1            0            6
r1   |         1            2            3            1            0            4            0            2
r1   |         1            2            3            2            0            2            0            2
HP2spMw3   |         1            2            3            1            0            2            0            1
HP2spFw3   |         1            2            3            2            1            5            5            2
HP2inthbM   |         1            2            3            1            0            3            0            2
HP2inthobF   |         1            2            3            2            0            3            0            3
HP2vactnM   |         1            2            3            1            0            3            0            2
HP2vactnF   |         1            2            3            2            0            3            1            3

.     matrix colnames H1pt2w3 =  hypnum ptnum wave gender medsig numMAsig numModsig numMed

. matrix rownames H1pt2w3 =HP2wkMw3 HP2wkFw3 HP2hmcrMw3 HP2hmcrFw3 HP2socprbMw3 HP2socprbFw3 HP2inthbMw3 HP2inthbFw3 HP2vacatnMw3 HP2vacatnFw3

.     matlist H1pt2w3

   | hypnum    ptnum    wave    gender    medsig    numMAsig    numModsig    numMed
-------------+----------------------------------------------------------------------------------------
HP2wkMw3   |         1            2            3            1            0            4            0            4
HP2wkFw3   |         1            2            3            2            0            1            0            6
HP2hmcrMw3   |         1            2            3            1            0            4            0            2
HP2hmcrFw3   |         1            2            3            2            0            2            0            2
HP2socprbMw3   |         1            2            3            1            0            2            0            1
HP2socprbFw3   |         1            2            3            2            1            5            5            2
HP2inthbMw3   |         1            2            3            1            0            3            0            2
HP2inthbFw3   |         1            2            3            2            0            3            0            3
HP2vacatnMw3   |         1            2            3            1            0            3            0            2
HP2vacatnFw3   |         1            2            3            2            0            3            1            3

.
.
end of do-file