Displaying 1 result from an estimated 1 matches for "mymatch".
Did you mean:
mimatch
2008 May 09
0
error using Match package
Dear All
I am attempting to use Sekhon's package Match to create a matched data
set. I keep getting an error regarding unused arguments whether I put Y
in or not.
Have I missed something?
myps id a propensity score (for treat) calculated from logistic
regression
mymatch<-match(Y=status,Tr=treat,X=myps, M=1,replace=F)
Error in match(Y = status, Tr = treat, X = myps, M = 1, replace = F) :
unused argument(s) (Y = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...