I would like to perform a logistic regression by adjusting for propensity score. My question is, do I have to include the outcome (binary in my case) in the propensity score calculation? Otherwise how else can I link the outcome variable to the matched data created?
library(MatchIt)
m.out<-matchit(treatment~var1+var2+var3+var4+outcome, data = data,method = "nearest", ratio=1)
dataMatched = match.data(m.out)
library(Zelig)
z.out = zelig(outcome ~ var1+var2+var3+var4, model = "logit",data = dataMatched )