I have estimated a stan_lm model.
I use RStudio.
family: gaussian [identity]
formula: log(StandardizedOME) ~ Age + AnesthesiaDuration + AnesthesiaTechniqueBlock + AnesthesiaTechniqueGeneral + AnesthesiaTechniqueNeuraxial + o.ASAClass + EmergencyStatusYN + t.Race + Sex + REMI + o.NonOpioidAnalgesicsCount + o.AIM1Year + CPTBucket + MPOGInstitutionID
priors: see help(‘prior_summary’)
sample: 16000 (posterior sample size)
Priors for model ‘StandardizedOME.stan_lm.3’
Intercept (after predictors centered)
~ R2(location = 0.3, what = ‘mode’)
I run with iter = 8000 to reach n_eff > 1000 for the log_posterior.
The mixing traces seem ok.
The pp_check plot is reasonable.
I called the pp_validate function for this model.
I use the default arguments for nreps and seed.
An error message appears within a minute.
“RStudio RSession has stopped working”
I must close and reboot the RStudio session.
This is reproducible (5 times).
I am still new at doing stanarm.
Please also provide the following information in addition to your question:
- Operating System: Windows
- rstanarm Version: rstan_2.18.2
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server >= 2012 x64 (build 9200)
Matrix products: default
 LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
 LC_TIME=English_United States.1252
attached base packages:
 stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
 compiler_3.5.3 tools_3.5.3 yaml_2.2.0