Usage
matchprop(form,data=NULL,distance="logit",discard="both",
reestimate="FALSE",m.order="none",nclose=0,ytreat=1)
Arguments
data
A data frame containing the data. Default: use data in the current working directory
distance
The link formula to be passed on to the glm command -- usually "probit" or "logit", but other standard options also work.
discard
Observations to be discarded based on the propensity score or the value of the mahalanobis distance measure if distance="mahal".
If discard = "control", only control observations are discarded.
If di
reestimate
If reestimate=TRUE, the propensity score is reestimated after observations are discarded
m.order
Order by which estimated distances are sorted before starting the matching process.
Options: "decreasing", "increasing", "random", and "none".
nclose
If nclose>0, sorts the matched observations by the distance measure and chooses the nclose matches with the smallest distances.
ytreat
The value of the dependent variable for the treatment group. Default: ytreat = 1.
Constructs matched samples for all other values of the dependent variable.
If discard="treat" or discard="both", only treatment observatio