Allow me to bring a dataset to your attention, which I am struggling to analyze correctly:
| Study ID | Alive | Day of measurement | Variable 1 | Variable 2 | Variable co |
| A | 1 | 0 | 210 | 500 | yes |
| A | 1 | 2 | 210 | 250 | yes |
| B | 1 | 0 | 151 | 398 | no |
| B | 1 | 1 | 151 | 372 | no |
| B | 1 | 2 | 151 | 320 | yes |
| B | 1 | 3 | 151 | 268 | no |
| B | 1 | 4 | 151 | 372 | no |
| C | 0 | 0 | 33 | 269 | yes |
| C | 0 | 1 | 33 | 203 | no |
As I do have repeated measurements for all my subjects (Study ID), all variables have been stacked for the various time points (day of measurement) . All have a nominal outcome : Alive : 1/0.
1. Variable 1 and 2 are continuous variables and may determine the outcome (alive) for my subject (Study ID)
- can you guide me which test I best used, or refer to the reference
2. Problem1: subjects die or survive at different time periods (up to the latest day of measurement) - how do I account for this ?
3. Problem2: not all subjects have repeated measurements for all days (day of measurement), some are missing (example Study ID:A) - how do I account for those ?
4. Variable Co may influence Variable 2 , which may affect outcome (Alive) - how would I account for this effect ?
Thanks a lot for your guidance ! I really appreciate your help in this analysis ! Marc