Skip to content

get_refmodel: latent projection cannot be combined with observation weights #530

@pintubread

Description

@pintubread

Hi! Not sure if this is an issue, but just wanted to ask for clarification. I wanted to perform projpred on my multilevel binomial brms model, so following the vignette, I ran get_refmodel(my_model, latent=TRUE) as a first step. I received an error message as follows:

Error in extract_model_data(object, newdata = NULL, extract_y = TRUE) :
Currently, the latent projection may not be combined with observation weights (other than 1).

As far as I'm aware, my model has no observation weights. May I know what may be causing the issue and how I can remedy it? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    exceptionsNeeds enhanced warning or error message.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions