Create a parameter object for the function stratifyByPsAndCovariates

createStratifyByPsAndCovariatesArgs(
  numberOfStrata = 5,
  baseSelection = "all",
  covariateIds
)

Arguments

numberOfStrata

Into how many strata should the propensity score be divided? Theboundaries of the strata are automatically defined to contain equalnumbers of target persons.

baseSelection

What is the base selection of subjects where the strata bounds areto be determined? Strata are defined as equally-sized strata insidethis selection. Possible values are "all", "target", and "comparator".

covariateIds

One or more covariate IDs in the cohortMethodData object on whichsubjects should also be stratified.

Details

Create an object defining the parameter values.