You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the CohortMethod power tab, the MDRR is shown. This is computed on the fly based on the counts. However, the problem with this is that the counts might be masked because they were below the minCellCount. The current code simply takes the absolute value of the count, meaning in the case of masking it assumes the value of minCellCount: https://github.com/OHDSI/OhdsiShinyModules/blob/main/R/estimation-cohort-method-power.R#L354
This can lead to different MDRR numbers between the Diagnostics tab and the power tab.
Could we just pull the pre-computed MDRR from the cm_diagnostics_summary table instead?
The text was updated successfully, but these errors were encountered:
In the CohortMethod power tab, the MDRR is shown. This is computed on the fly based on the counts. However, the problem with this is that the counts might be masked because they were below the minCellCount. The current code simply takes the absolute value of the count, meaning in the case of masking it assumes the value of minCellCount: https://github.com/OHDSI/OhdsiShinyModules/blob/main/R/estimation-cohort-method-power.R#L354
This can lead to different MDRR numbers between the Diagnostics tab and the power tab.
Could we just pull the pre-computed MDRR from the
cm_diagnostics_summary
table instead?The text was updated successfully, but these errors were encountered: