sambrilleman / rstanarm

rstanarm R package for Bayesian applied regression modeling
http://mc-stan.org/interfaces/rstanarm.html
GNU General Public License v3.0
0 stars 1 forks source link

Object 'eps' not found with assoc 'etaslope' #19

Closed jburos closed 7 years ago

jburos commented 7 years ago

Summary:

I see: Error: object 'eps' not found when fitting a model with assoc = c("etavalue", "etaslope")

Specifically:

> fit <- stan_jm(
+         ...
+         assoc = c("etavalue", "etaslope")
+     )
 Hide Traceback

 Rerun with Debug
 Error: object 'eps' not found 
2.
autoscale_prior(a_prior_stuff, a_mod_stuff, QR = QR, use_x = FALSE, 
    assoc = assoc) 
1.
stan_jm( ... )

RStanARM Version:

I am running off the master branch of sambrilleman/rstanarm:

devtools::install_github('sambrilleman/rstanarm', ref='master', args='--preclean', local=TRUE)

R Version:

R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"

Operating System:

I've seen this on both my Macbook pro & on an ubuntu gcloud instance (Platform: x86_64-pc-linux-gnu (64-bit))

sambrilleman commented 7 years ago

Fix here: https://github.com/sambrilleman/rstanarm/pull/21