We just released CohortMethod v3.0.0!
The changes, as already discussed in the population-level estimation workgroup, are the following:
-
Adding inverse probability weighting: see
inversePtWeighting
argument in thefitOutcomeModel
function. This is also described in the single studies vignette. -
Adding interaction terms: see
interactionCovariateIds
argument in thefitOutcomeModel
function. This is also described in the single studies vignette. -
Adding summary statistics to plots: see
show...
arguments in theplotPs
andplotCovariateBalanceScatterPlot
functions. -
Enforcing consistency in language: for example,
createDrugComparatorOutcome
has becomecreateTargetComparatorOutcome
. There are many small changes, and unfortunately it probably means your old code wonât work anymore. -
Relative instead of absolute paths: the result of
runCmAnalyses
used to have absolute paths to the various files. Now these are relative to whatever was theoutputFolder
. Note that thesummarizeAnalyses
function now requires theoutputFolder
as argument. -
Compression of intermediate results: see
compress
argument in thesaveCohortMethodData
function and thecompressCohortMethodData
argument in therunCmAnalyses
function.
In addition, there are many improvements in speed that will likely only matter if you run millions of analyses (which few people seem to do).
If you still require the old version of CohortMethod, please run:
devtools::install_github("ohdsi/CohortMethod", ref = "v2.6.2")
Iâve also updated the population-level estimation study package skeleton to be compatible with CohortMethod v3.0.0. Another new feature of this skeleton is that it exports to a well-defined data model.