I am attempting to write a do file for a longitudinal mixed model, where I have (n=1000) participants with measurements at 2 distinct time points. I want to see the effects of a change in my exposure from the first to the second test to the outcome variable at the second test.
My current code reads:
mixed outcome i.exposure confounder confounder confounder || Patient_ID:
the code starts to run but I get this output for hundreds and hundreds of iterations. It actually still hasnt stopped.
Iteration 0: log likelihood = -337.23526 (not concave)
Iteration 1: log likelihood = 4706.0132 (not concave)
Iteration 2: log likelihood = 4706.0654 (not concave)
Iteration 3: log likelihood = 4706.0769 (not concave)
Iteration 4: log likelihood = 4706.077 (not concave)
Iteration 5: log likelihood = 4706.077 (not concave)
Iteration 6: log likelihood = 4706.077 (not concave)
I get the feeling there is a mistake in my coding so was hoping for some advice.
Kind regards
Adam
My current code reads:
mixed outcome i.exposure confounder confounder confounder || Patient_ID:
the code starts to run but I get this output for hundreds and hundreds of iterations. It actually still hasnt stopped.
Iteration 0: log likelihood = -337.23526 (not concave)
Iteration 1: log likelihood = 4706.0132 (not concave)
Iteration 2: log likelihood = 4706.0654 (not concave)
Iteration 3: log likelihood = 4706.0769 (not concave)
Iteration 4: log likelihood = 4706.077 (not concave)
Iteration 5: log likelihood = 4706.077 (not concave)
Iteration 6: log likelihood = 4706.077 (not concave)
I get the feeling there is a mistake in my coding so was hoping for some advice.
Kind regards
Adam
Comment