The log_lik.stanreg() method fails when observation weights exist.
Description:
As shown in the reproducible steps below, calling log_lik() in a situation where observation weights exist throws an error. In the example below, I specified argument weights in the call to log_lik() even though it does not exist (and the log_lik.stanreg() documentation for ... says "Currently ignored"). However, omitting argument weights in the log_lik() call leads to the same error.
Summary:
The
log_lik.stanreg()
method fails when observation weights exist.Description:
As shown in the reproducible steps below, calling
log_lik()
in a situation where observation weights exist throws an error. In the example below, I specified argumentweights
in the call tolog_lik()
even though it does not exist (and thelog_lik.stanreg()
documentation for...
says "Currently ignored"). However, omitting argumentweights
in thelog_lik()
call leads to the same error.Reproducible Steps:
RStanARM Version:
2.21.3
R Version:
4.2.1
Operating System:
Ubuntu 22.04 LTS