drugEfficacyAnalysis: drugEfficacyAnalysis

Usage Arguments Details Author(s)

Usage

1
2
3
drugEfficacyAnalysis(connectionDetails, cdmDatabaseSchema,
  resultsDatabaseSchema, cid2Rm, outCome, cdmVersion, treatment, comparator,
  numThread)

Arguments

connectionDetails

The connection details.

cdmDatabaseSchema

Name of CDM database schema.

resultsDatabaseSchema

Name of results database schema.

cid2Rm

Concept Ids to remove before matching.

outCome

Outcome Id of interest, for which the analysis need to be performed.

cdmVersion

Version of cdm, should be 5 only.

treatment

Name of treatment drug.

comparator

Name of comparator drug.

numThread

Number of threads.

Details

This function can be used to perform the drug efficacy analysis. Very briefly, this function a) obtain treatment and comparator cohorts from target schema b) perform patient-level propensity score matching c) perform cox-proportional hazard modeling of the given outcome. Please note this function can only performe analysis if there are > 150 patients in both treatment and comparator cohorts. Right now I've hard coded these values. May be in the future we'll see how to generalize this.

Author(s)

Rohit Vashisht


rohit43/DiabetesTxPath documentation built on May 27, 2019, 1:46 p.m.