Let me preface with the fact that I am new to statistical coding, but as the heading shows I am having difficulty running a proper univariate logistic regression on a 1:1 matched sample using psmatch2 on Stata 17. I understand this may be slightly unorthodox but the main goal is to obtain an odds ratio for my outcome of interest. That being said my current match code reads as such:
Code:
psmatch2 treatment covariate1 covariate#, out(outcome variable) caliper(0.01) noreplacement descending logit ate index
Code:
logistic outcome treatment if _support==1
Code:
outcome treatment [pw =_weight]
Code:
logistic outcome treatment if _weight==1
Thanks!
0 Response to Running a univariate logistic regression after psmatch 2
Post a Comment