Skip to content

Failure to fit with only intercept model #21

Description

@bgerber123

I noticed that intercept only type models with no slope/offset parameters are not currently possible. Using the example code/data- this model -

ord_fit_mean <- ordbetareg(formula=therm ~ 1 + (1|region),
data=model_data,
cores=2,chains=2)

returns this error -

Error: The following priors do not correspond to any model parameter:
b ~ normal(0,5)
Function 'default_prior' might be helpful to you.

Seems like a possible backend code fix for not pre-specifying b priors without checking the design matrix.

I would be interested in this being fixed to be able to fit a model using ordbetreg.

Thanks!
cheers, Brian

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions