Skip to content

R heemod package issue with reprex #3

@mmaughan0

Description

@mmaughan0

Hello all

Not sure if this was the right spot to post this question. I have quite a bit of code here, but my issue is only with the very last 5 lines of it.

Background: I am using R heemod package to run a cost effectiveness model

Issue: THe Probabilistic Sensitvity Analysis (Monte Carlo) at the end (under the "def_psa" command) will only vary the point estimate for effect related variables, and not cost related variables. In the reprex below I include one of each, but I tried many of each and it was a consistent issue - only the effect (x axis) would vary on the coste effectiveness plane. The cost (y-axis) stayed at the original point estimate before I ran the PSA

More context: the survival tables are dummy tables to get the reprex to run. The output values therefore are not meaningful. Only the lack of variance in the cost ouptus for the PSA/Monte Carlo is. Also my real version that is not a reprex has variance in effect. This doesnt because I didnt vary the survival tables for the sake of the reprex. The Resupply_Cost ETU should still show variance in the reprex as shown and it does not. I have also tried Tx_Cost, as it only affects the Mab114 and REGNeb3 arms and not the base case arms. Still no variance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions