Skip to main content
Tweeted twitter.com/StackStats/status/1293426993799802880
added 92 characters in body
Source Link
rnso
  • 10.2k
  • 19
  • 69
  • 123

In this study, measurement was done on each subject at 3 time points (0, 4 and 80 hours). Each subject was then checked for some event. The data is in following form:

Event  Subject    Time    Value
Yes   Event
     1       0h      100
Yes     Yes
     2       0h       55
No     Yes
     1       4h       54
No      No
     2       4h      116
Yes      No
  1   1    8h  80h      117     Yes

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?

Edit: To clarify the role of time: Value may be related to time. Amount/level of Value affecting Event may vary with time. Hence, lower Value may lead to event at time 0 than at later time. Hence, time affects value and value affects events. Time does not directly affect events. How can this be incorporated in analysis?

In this study, measurement was done on each subject at 3 time points (0, 4 and 80 hours). Each subject was then checked for some event. The data is in following form:

Event  Subject    Time    Value
Yes        1       0h      100
Yes        2       0h       55
No         1       4h       54
No         2       4h      116
Yes        1       8h      117

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?

Edit: To clarify the role of time: Value may be related to time. Amount/level of Value affecting Event may vary with time. Hence, lower Value may lead to event at time 0 than later value. How can this be incorporated in analysis?

In this study, measurement was done on each subject at 3 time points (0, 4 and 80 hours). Each subject was then checked for some event. The data is in following form:

Subject    Time    Value   Event
     1       0h      100     Yes
     2       0h       55     Yes
     1       4h       54      No
     2       4h      116      No
     1      80h      117     Yes

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?

Edit: To clarify the role of time: Value may be related to time. Amount/level of Value affecting Event may vary with time. Hence, lower Value may lead to event at time 0 than at later time. Hence, time affects value and value affects events. Time does not directly affect events. How can this be incorporated in analysis?

added 244 characters in body
Source Link
rnso
  • 10.2k
  • 19
  • 69
  • 123

In this study, measurement was done on each subject at 3 time points (0, 4 and 880 hours). Each subject was then checked for some event. The data is in following form:

Event  Subject    Time    Value
Yes        1       0h      100
Yes        2       0h       55
No         1       4h       54
No         2       4h      116
Yes        1       8h      117

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?

Edit: To clarify the role of time: Value may be related to time. Amount/level of Value affecting Event may vary with time. Hence, lower Value may lead to event at time 0 than later value. How can this be incorporated in analysis?

In this study, measurement was done on each subject at 3 time points (0, 4 and 8 hours). Each subject was then checked for some event. The data is in following form:

Event  Subject    Time    Value
Yes        1       0h      100
Yes        2       0h       55
No         1       4h       54
No         2       4h      116
Yes        1       8h      117

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?

In this study, measurement was done on each subject at 3 time points (0, 4 and 80 hours). Each subject was then checked for some event. The data is in following form:

Event  Subject    Time    Value
Yes        1       0h      100
Yes        2       0h       55
No         1       4h       54
No         2       4h      116
Yes        1       8h      117

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?

Edit: To clarify the role of time: Value may be related to time. Amount/level of Value affecting Event may vary with time. Hence, lower Value may lead to event at time 0 than later value. How can this be incorporated in analysis?

Source Link
rnso
  • 10.2k
  • 19
  • 69
  • 123

How to do logistic mixed regression with these data?

In this study, measurement was done on each subject at 3 time points (0, 4 and 8 hours). Each subject was then checked for some event. The data is in following form:

Event  Subject    Time    Value
Yes        1       0h      100
Yes        2       0h       55
No         1       4h       54
No         2       4h      116
Yes        1       8h      117

Question is whether higher (or lower) value is related to occurrence of event?

Since this is repeated measurement, it will have to be mixed regression. Since outcome is binary, logistic regression is needed.

How do I analyze above data?