Dear all,
I am trying to use the stjm command on a longitudinal survival dataset. I have two equations with the same set of independent variables (X) but different mediators (M1, M2). The logic is X will impact M1 and M2. Further, X, M1, and M2 will affect survival rate. Because stjm does not allow two mediators simultaneously, I have to use two models.
Equation 1: stjm M1 (X) panel(id) survmodel(weibull) ffp(1) survcov(X)
Equation 2: stjm M2 (X) panel(id) survmodel(weibull) ffp(1) survcov(X)
I want to see if the impact of X on M1 is stronger than the impact of X on M2. Further, I wonder if M1 will impact the survival rate in a stronger way than the impact of M2 on the survival rate.
Could anyone help me to find the test(s) to do so? Much appreciate for any information!!
I am trying to use the stjm command on a longitudinal survival dataset. I have two equations with the same set of independent variables (X) but different mediators (M1, M2). The logic is X will impact M1 and M2. Further, X, M1, and M2 will affect survival rate. Because stjm does not allow two mediators simultaneously, I have to use two models.
Equation 1: stjm M1 (X) panel(id) survmodel(weibull) ffp(1) survcov(X)
Equation 2: stjm M2 (X) panel(id) survmodel(weibull) ffp(1) survcov(X)
I want to see if the impact of X on M1 is stronger than the impact of X on M2. Further, I wonder if M1 will impact the survival rate in a stronger way than the impact of M2 on the survival rate.
Could anyone help me to find the test(s) to do so? Much appreciate for any information!!