This function is deprecated. Use computePreExposureGain()
instead.
computePreExposureGainP(sccsData, studyPopulation, exposureEraId = NULL)
A one-sided p-value for whether the rate before exposure is higher than after, against the null of no change.#'
An object of type SccsData as created using the getDbSccsData function.
An object created using the createStudyPopulation()
function.
The exposure to create the era data for. If not specified it is assumed to be the one exposure for which the data was loaded from the database.