stan-dev / stan-dev/rstanarm

posterior_predict() fails with newdata in version 2.21.4 for stan_glmer model objects

Open
#590 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
401
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Summary:

posterior_predict() fails with "newdata" argument. The issue is similar to issue #407

Description:

The error being returned is "! pwrssUpdate did not converge in (maxit) iterations"

Reproducible Steps:

If applicable, the steps required to reproduce the issue. If you have a reproducible example, please include it.

RStanARM Version:

The version of the rstanarm package you are running (e.g., from packageVersion("rstanarm"))

R Version:

The version of R you are running (e.g., from getRvegetRversion()rsion()`): 4.3.0

Operating System:

Your operating system: Windows x64

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #407 and reproducing the failure in posterior_predict() when newdata is supplied to a stan_glmer model. Confirm the R and package versions and Windows environment, then determine what is needed for prediction to complete without the pwrssUpdate convergence error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.