lizzieinvancouver / magnoliaubc

0 stars 0 forks source link

Running the model #6

Open ngoj1 opened 2 months ago

ngoj1 commented 2 months ago

Here's what happened after running the code:

mod1 <- stan_lmer(gdd ~ event | Name, data = magd)

1: There were 20 divergent transitions after warmup. See https://mc-stan.org/misc/warnings.html#divergent-transitions-after-warmup to find out why this is a problem and how to eliminate them.

2: Examine the pairs() plot to diagnose sampling problems

3: The largest R-hat is 1.05, indicating chains have not mixed. Running the chains for more iterations may help. See https://mc-stan.org/misc/warnings.html#r-hat

4: Bulk Effective Samples Size (ESS) is too low, indicating posterior means and medians may be unreliable. Running the chains for more iterations may help. See https://mc-stan.org/misc/warnings.html#bulk-ess

5: Tail Effective Samples Size (ESS) is too low, indicating posterior variances and tail quantiles may be unreliable. Running the chains for more iterations may help. See https://mc-stan.org/misc/warnings.html#tail-ess

lizzieinvancouver commented 2 months ago

@ngoj1 Let's schedule a meeting to look at this (email me your schedule when you're back) and before the meeting please have the model run and install shinystan. Also, how long did the model take to run?