`R/CreateArgFunctions.R`

`createMatchOnPsAndCovariatesArgs.Rd`

Create a parameter object for the function matchOnPsAndCovariates

createMatchOnPsAndCovariatesArgs( caliper = 0.2, caliperScale = "standardized logit", maxRatio = 1, allowReverseMatch = FALSE, covariateIds )

caliper | The caliper for matching. A caliper is the distance which is acceptable for any match. Observations which are outside of the caliper are dropped. A caliper of 0 means no caliper is used. |
---|---|

caliperScale | The scale on which the caliper is defined. Three scales are supported: caliperScale = 'propensity score', caliperScale = 'standardized', or caliperScale = 'standardized logit'. On the standardized scale, the caliper is interpreted in standard deviations of the propensity score distribution. 'standardized logit' is similar, except that the propensity score is transformed to the logit scale because the PS is more likely to be normally distributed on that scale (Austin, 2011). |

maxRatio | The maximum number of persons in the comparator arm to be matched to each person in the treatment arm. A maxRatio of 0 means no maximum: all comparators will be assigned to a target person. |

allowReverseMatch | Allows n-to-1 matching if target arm is larger |

covariateIds | One or more covariate IDs in the cohortMethodData object on which subjects should be also matched. |

Create an object defining the parameter values.