Skip to content

Distribution to sample from when simulating from custom predict #17

@sagarsimha

Description

@sagarsimha

Hi,
Very nice work. Thank you for your contribution.
At the step where we feed in "Custom" covariate models, I am interested in providing custom fit and predict functions. I see from the source code that once the predicted values from a custom predict model (mean values for each patient at any given time point) are given out on the simulated data, the code to sample data from (which?) distribution is not present. It is also not clear which distribution it would be sampled from. Or are you expecting the user to feed in the distribution as well based on the assumption the custom model would make on the underlying distribution of the target variable in condideration? In that case, it is not clear from the documentation. For example, in case of "normal", the predicted mean and the variance is used to characterize a normal distribution and patient data (counterfactual covariates) is drawn by sampling from this distribution.

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