Hello,
I am running a propensity score analysis where imbalanced covariates are adjusted for using a logistic regression model but obviously, I get OR with log reg. Is there a way to convert it into RR or calculate it directly as RR?
I have come across marings and adjrr but for both of these, I need to run the logistic regression model first which cannot be done as I follow it up with psmatch2 command:
So, as you can see, I cannot fit the margins or adjrr command before psmatch2 at all. Any tips / advice?
I am running a propensity score analysis where imbalanced covariates are adjusted for using a logistic regression model but obviously, I get OR with log reg. Is there a way to convert it into RR or calculate it directly as RR?
I have come across marings and adjrr but for both of these, I need to run the logistic regression model first which cannot be done as I follow it up with psmatch2 command:
Code:
logistic trt var1 var2 var3 predict pscore sum pscore set seed 1000 generate x=runiform() sort x psmatch2 trt, out(var1 var2) pscore(pscore) caliper(.001) noreplacement descending common logit
Comment