runSimulationStudy: Runs Simulation Study

Description Usage Arguments Value

Description

This function runs a simulation to compare LASSO, exposure based hdps, and bias based hdps as propensity score methods

Usage

1
2
3
4
5
runSimulationStudy(simulationProfile, simulationSetup, cohortMethodData,
  simulationRuns = 10, trueEffectSize = NA, outcomePrevalence = NA,
  hdpsFeatures, stratify = FALSE, discrete = FALSE,
  ignoreCensoring = FALSE, fudge = 0.001, psPrior = NULL, maxRatio = 1,
  numStrata = 10, useCovariates = FALSE)

Arguments

simulationProfile

simulationProfile object created by createCMDSimulationProfile function

simulationRuns

Number of simulations to run (1 simulation = reroll outcomes)

trueEffectSize

True effect size for exposure to simulate. If set to NULL keeps observed effect size from simulation profile

outcomePrevalence

Outcome prevalence to simulate; adjusts outcome baseline survival function to achieve. If null keeps observed

hdpsFeatures

TRUE = using HDPS features; FALSE = using FeatureExtraction features

ignoreCensoring

Ignore censoring altogether; sets censoring process baseline survival function to 1

studyPop

Study population created by createStudyPopulation function

confoundingScheme

Type of unmeasured confounding to use for PS (0 = none; 1 = demographics; 2 = random proportion; 3 = demographics and random proportion)

confoundingProportion

Proportion of covariates to hide from propensity score as unmeasured confounding

ignoreCensoringCovariates

Ignore covariates effects on censoring process; only uses baseline function

threads

Number of parallel threads to use

Value

Returns the following:

trueOutcomeModel

the non-exposure oefficients used in the outcome generating model

trueEffectSize

coefficient for exposure effect

estimatesLasso

logRr, bound, and sd for LASSO estimate for each simulation

estimatesExpHdps

logRr, bound, and sd for exposure based hdps

estimatesBiasHdps

logRr, bound, and sd for bias based hdps

aucLasso

auc for LASSO propensity score

aucExpHdps

auc for exposure based hdps propensity score

aucBiasHdps

auc for bias based hdps propensity score

psLasso

propensity scores for subjects in study population for LASSO

psExp

propensity scores for subjects in study population for exposure based hdps

psBias

propensity scores for subjects in study population for bias based hdps; propensity and preference scores are averaged over simulation runs

outcomePrevalence

outcome prevalence of simulation


OHDSI/PropensityScoreEvaluation documentation built on May 12, 2019, 8:38 a.m.