Skip to content

Add Option/Function for Relative Change Calculation #136

@danielinteractive

Description

@danielinteractive

Original issue (openpharma/mmrm#187) from @changjosh92:

Hi openpharma team,

Thanks so much for your work to optimize statistical summary generation!
My request is to consider adding a relative change (increase/decrease) option to the package somehow.

Often times in clinical trials the question of how much better/worse did the intervention group perform relative to the control group can come up and it would be great to have this calculation operationalized in the package.

The difficulty in this calculation comes down to what defines better group performance for a given endpoint (e.g. higher magnitude is better/lower magnitude is better) and if the control group's model estimate demonstrated an increase or decrease in performance.

Below is a summary of prior work on how to best define and calculate the relative change between treatment groups (only 2 shown here):
image

Right now the calculation would be done in R, but by pulling out each of the model estimates in a simple if-then condition.
Ultimately, this is a nice-to-have, but I think optimizing it for the package could drive adoption of the package much faster. I'm happy to be a resource with some prior code I've developed for TEAL apps based on nlme model outputs. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions