Description Usage Format Details Source References
This data of 316 patients who survived the fire, each patient was measured at 3, 6 and 12 months after the fire.
1 |
Patient number
Self-control (A numeric vector)
The number of life problems ( A numeric vector )
The number of stress events ( A numeric vector )
Family cohesion ( A numeric vector )
Measured at 3, 6 and 12 months after the fire ( 1 : 3 months, 2 : 6 months, 3 : 12 months )
Post traumatic stress disorder, Outcome variable ( Categorical vector ) ( 0 : No, 1 : Yes)
Control, problems, and stress were divided into upper and lower levels based on 3,
and cohesion was divided into upper and lower levels based on 6. ( 0 : Low, 1 : high )
A data frame with 948 rows and 7 variables
subject | control | problems | stress | cohesion | time | ptsd | |
1 | 15 | 3.22 | 5.62 | 1 | 8 | 1 | 0 |
2 | 15 | 3.17 | 5.38 | 0 | 8 | 2 | 0 |
3 | 15 | 3.28 | 3.75 | 1 | 8 | 3 | 0 |
4 | 18 | 2.56 | 9.25 | 0 | 8 | 1 | 1 |
5 | 18 | 3.44 | 4.38 | 0 | 8 | 2 | 0 |
6 | 18 | 3.33 | 2.38 | 0 | 8 | 3 | 0 |
7 | 19 | 2.72 | 7.75 | 1 | 8 | 1 | 1 |
8 | 19 | 2.78 | 7.75 | 1 | 7 | 2 | 1 |
9 | 19 | 2.78 | 7.50 | 1 | 7 | 3 | 0 |
. | . | . | . | . | . | . | . |
. | . | . | . | . | . | . | . |
. | . | . | . | . | . | . | . |
943 | 570 | 3.72 | 2.75 | 0 | 7 | 1 | 0 |
944 | 570 | 3.89 | 2.25 | 0 | 7 | 2 | 0 |
945 | 570 | 3.67 | 1.25 | 0 | 7 | 3 | 0 |
946 | 571 | 3.56 | 3.00 | 0 | 7 | 1 | 0 |
947 | 571 | 2.94 | 1.88 | 0 | 7 | 2 | 0 |
948 | 571 | 3.50 | 2.75 | 0 | 7 | 3 | 0 |
Allison (1991, chapter 8).
Allison, P. D. (2001). Logistic Regression Using the SAS System, Theory and Application. SAS Institute Inc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.