Artificially created data to add variables after 18 months to PTSD data.
data(PTSD_row)
A value of 1 indicates low control
A value of 1 indicates high control
A value of 1 indicates that the degree of problems is low
A value of 1 indicates that the degree of problems is high
A value of 1 indicates that the degree of stress is low
A value of 1 indicates that the degree of stress is high
A value of 1 indicates that the degree of stress is low
A value of 1 indicates that the degree of stress is high
Zero vector (All elements is zero)
Zero vector (All elements is zero)
Zero vector (All elements is zero)
A value of 1 indicates a low post-traumatic stress disorder
A value of 1 indicates a high post-traumatic stress disorder
This data is a long form of control, problem, stress, stress, stress and PTSD added to the row, and is intended for 316 patients after 18 months. Indicator matrix of 316 rows and 13 dummy variables.
control.0 | control.1 | . | . | . | time.1 | time.2 | time.3 | ptsd.0 | ptsd.1 | 1 | 0 | |
1 | . |
. |
. |
0 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | |
|
|
0 | 0 | 0 | 1 | 0 | 3 | 0 | 1 | . |
. |
. |
0 | 0 | 0 | 1 | 0 | 4 | 0 | 1 | |
|
|
0 | 0 |
0 | 1 | 0 | 5 | 0 | 1 | . |
. |
. |
0 | 0 | 0 | 1 |
0 | 6 | 0 | 1 | |
|
|
0 | 0 | 0 | 1 | 0 | 7 |
0 | 1 | . |
. |
. |
0 | 0 | 0 | 1 | 0 | 8 | 0 | 1 |
|
|
|
0 | 0 | 0 | 1 | 0 | 9 | 0 | 1 | . |
. |
. |
0 | 0 | 0 | 1 | 0 | 10 | 0 | 1 | |
|
|
0 |
0 | 0 | 1 | 0 |
. |
. |
. |
. |
|
|
. |
. |
. |
. |
. |
. |
. |
. |
|
. |
|
. |
. |
. |
. |
. |
. |
. |
. |
|
|
. |
. |
. |
. |
. |
. |
312 | 1 |
1 | . |
. |
. |
0 | 0 | 0 | 1 | 0 | 313 | 1 | 1 | |
|
|
0 | 0 | 0 | 1 | 0 | 314 | 1 | 1 | . |
. |
. |
0 | 0 | 0 | 1 | 0 | 315 | 1 | 1 | |
|
|
0 | 0 |
0 | 1 | 0 | 316 | 1 | 1 | . |
. |
. |
0 | 0 | 0 | 1 |
0 | control.0 | control.1 | . | . | . | time.1 | time.2 | time.3 | ptsd.0 | ptsd.1 | 1 |