Hello,
I would like to specify a gam for my propensity score model using matchit.
However, when I specify a nonparametric curve fit term in the matchit
formula (e.g., matchit(treat ~ s(covariate, k = 3), data = dftemp, distance
= "GAMlogit", method = "optimal", ratio = 2) ), I get an error. Am I
missing something obvious here?
Thanks in advance!
Lester Yuan