Hello all,
I am trying to check if there is a linear relationship between the number of serious adverse effects (complications) vs the mean no of mesh surgeries done by the consultant each year.
This time I am using a binary variable coded as 1/0 . 1 if there has been an adverse effect.
I obtained the following graph . As you can see it is a linear straight line unlike my other post here:
https://www.statalist.org/forums/for...ing-parameters
I just wanted to see if my logic is correct:
It seems I got a strictly linear relationship
Therefore I do not need to use splines to model a non-linear relationship on the volume of cases done my each surgeon
I can now continue to use a normal logistic regression.
Is my logic correct?
I am trying to check if there is a linear relationship between the number of serious adverse effects (complications) vs the mean no of mesh surgeries done by the consultant each year.
This time I am using a binary variable coded as 1/0 . 1 if there has been an adverse effect.
I obtained the following graph . As you can see it is a linear straight line unlike my other post here:
https://www.statalist.org/forums/for...ing-parameters
I just wanted to see if my logic is correct:
It seems I got a strictly linear relationship
Therefore I do not need to use splines to model a non-linear relationship on the volume of cases done my each surgeon
I can now continue to use a normal logistic regression.
Is my logic correct?
Code:
lowess seriousadverseffect meanmeshyearly, ylabel (0 "No Adverse effects" 1 "serious adverse effects") jitter(5) adjust
Comment