Artificially created data to add the degree and sex of depression after 6 weeks.
data(Depression_column)
A value of 1 indicates that depression is "Abnormal" after 6 weeks
A value of 1 indicates that depression is "Normal" after 6 weeks
A value of 1 indicates that the gender is "Male"
A value of 1 indicates that the gender is "Female"
As supplementary variables, for 800 patients, response at fourth time point (after 6 weeks) and gender that could affect depression were added to the columns. Indicator matrix of 800 rows and 4 dummy variables.
6weeks.1 | 6weeks.2 | sex.1 | sex.2 | 1 | |
0 | 1 | 1 | 0 | 2 | 0 |
1 | 1 | 0 | 3 | 0 | 1 |
1 | 0 | 4 | 0 | 1 | 1 |
0 | 5 | 0 | 1 | 1 | 0 |
6 | 0 | 1 | 1 | 0 | 7 |
0 | 1 | 1 | 0 | 8 | 0 |
1 | 1 | 0 | 9 | 0 | 1 |
1 | 0 | 10 | 0 | 1 | 1 |
0 |
. |
. |
. |
. |
. |
. |
. |
. |
. |
. |
. |
. |
. |
. |
. |
796 | 0 |
1 | 0 | 1 | 797 | 0 | 1 |
0 | 1 | 798 | 0 | 1 | 0 |
1 | 799 | 0 | 1 | 0 | 1 |
800 | 0 | 1 | 0 | 1 |