Skip to content

Error fitting MMRM (draw step) #508

@tronieri

Description

@tronieri

Hi all, I am using rbmi for the first time and am not able to get the draws step to work. I was using my own data but could not get around the issue so I tried running it with the antidepressant_data vignette and have the same problem. Here is what I keep seeing:

set.seed(987)
drawObj <- draws(
data = dat,
data_ice = dat_ice,
vars = vars,
method = method,
quiet = TRUE
)

Error in fit_mcmc(designmat = model_df_scaled[, -1, drop = FALSE], outcome = model_df_scaled[, :
Fitting MMRM to original dataset failed

I have loaded rbmi (1.4.1) and stan (2.32.7) and am using R version 4.4.3. I followed all other vignette steps and they appeared to run correctly. Is there any other package that might be required or any other model specifications that I can add that will solve this problem?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions