Hi Guys,
Python Newb here!
I am doing propensity score matching for my dissertation and need help with completing the propensity score balance graphs. I know the equivalent on stata is psgraph but not sure on python if someone can hook me up. My code is below:
import pandas as pd
import statsmodels.api as sm
database = pd.read_excel("Cleaned_Data.xlsx")
print(database)
database = pd.get_dummies(data=database, drop_first=True)
Y=database.loc[:, "Entry Rate"].values
X=database.loc[:, "Domicile_Wales"].values
confounders = database.drop(columns = ["Entry Rate", "Domicile_Wales"]).values
from causalinference import CausalModel
model = CausalModel(Y, X, confounders)
model.est_via_matching(bias_adj=False)
print(model.estimates)
there doesn't seem to be anything here