Thanks again! I installed it anyway and though initially it gave me the following error

```
Error in get0(oNam, envir = ns) : lazy-load database '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/R6/R/R6.rdb' is corrupt
```

after restarting my R session it seemed to be working.

I am now able to compile and run the model and estimates I’ve gotten aren’t too far from the case study but I got lots of messages during sampling. Is there anything I should change or is it ok to ignore these?

```
Chain 1 Rejecting initial value:
Chain 1 Error evaluating the log probability at the initial value.
Chain 1 Exception: ode_rk45: Failed to integrate to next output time (9) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 1 Exception: ode_rk45: Failed to integrate to next output time (9) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 1 Rejecting initial value:
Chain 1 Error evaluating the log probability at the initial value.
Chain 1 Exception: lognormal_lpdf: Random variable[1] is -1.76058, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 1 Exception: lognormal_lpdf: Random variable[1] is -1.76058, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 1 Gradient evaluation took 0.000614 seconds
Chain 1 1000 transitions using 10 leapfrog steps per transition would take 6.14 seconds.
Chain 1 Adjust your expectations accordingly!
Chain 1 Iteration: 1 / 2000 [ 0%] (Warmup)
Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 1 Exception: lognormal_lpdf: Random variable[2] is -0.548493, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 1 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 1 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 1
Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 1 Exception: lognormal_lpdf: Location parameter[2] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 1 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 1 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 1
Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 1 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 1 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 1 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 1
Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 1 Exception: lognormal_lpdf: Location parameter[1] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 1 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 1 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 1
Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 1 Exception: lognormal_lpdf: Location parameter[2] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 1 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 1 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 1
Chain 1 Iteration: 100 / 2000 [ 5%] (Warmup)
Chain 1 Iteration: 200 / 2000 [ 10%] (Warmup)
Chain 1 Iteration: 300 / 2000 [ 15%] (Warmup)
Chain 1 Iteration: 400 / 2000 [ 20%] (Warmup)
Chain 1 Iteration: 500 / 2000 [ 25%] (Warmup)
Chain 1 Iteration: 600 / 2000 [ 30%] (Warmup)
Chain 1 Iteration: 700 / 2000 [ 35%] (Warmup)
Chain 1 Iteration: 800 / 2000 [ 40%] (Warmup)
Chain 1 Iteration: 900 / 2000 [ 45%] (Warmup)
Chain 1 Iteration: 1000 / 2000 [ 50%] (Warmup)
Chain 1 Iteration: 1001 / 2000 [ 50%] (Sampling)
Chain 1 Iteration: 1100 / 2000 [ 55%] (Sampling)
Chain 1 Iteration: 1200 / 2000 [ 60%] (Sampling)
Chain 1 Iteration: 1300 / 2000 [ 65%] (Sampling)
Chain 1 Iteration: 1400 / 2000 [ 70%] (Sampling)
Chain 1 Iteration: 1500 / 2000 [ 75%] (Sampling)
Chain 1 Iteration: 1600 / 2000 [ 80%] (Sampling)
Chain 1 Iteration: 1700 / 2000 [ 85%] (Sampling)
Chain 1 Iteration: 1800 / 2000 [ 90%] (Sampling)
Chain 1 Iteration: 1900 / 2000 [ 95%] (Sampling)
Chain 1 Iteration: 2000 / 2000 [100%] (Sampling)
Chain 1 finished in 25.7 seconds.
Chain 2 Rejecting initial value:
Chain 2 Error evaluating the log probability at the initial value.
Chain 2 Exception: lognormal_lpdf: Random variable[1] is -1.01172, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 2 Exception: lognormal_lpdf: Random variable[1] is -1.01172, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 2 Rejecting initial value:
Chain 2 Error evaluating the log probability at the initial value.
Chain 2 Exception: ode_rk45: Failed to integrate to next output time (9) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 2 Exception: ode_rk45: Failed to integrate to next output time (9) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 2 Gradient evaluation took 0.000219 seconds
Chain 2 1000 transitions using 10 leapfrog steps per transition would take 2.19 seconds.
Chain 2 Adjust your expectations accordingly!
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: ode_rk45: Failed to integrate to next output time (1) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: ode_rk45: Failed to integrate to next output time (1) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Iteration: 1 / 2000 [ 0%] (Warmup)
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: ode_rk45: Failed to integrate to next output time (1) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: lognormal_lpdf: Random variable[2] is -1.94217, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: lognormal_lpdf: Random variable[1] is -29.9513, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Iteration: 100 / 2000 [ 5%] (Warmup)
Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: lognormal_lpdf: Location parameter[1] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 2 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 2 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 2
Chain 2 Iteration: 200 / 2000 [ 10%] (Warmup)
Chain 2 Iteration: 300 / 2000 [ 15%] (Warmup)
Chain 2 Iteration: 400 / 2000 [ 20%] (Warmup)
Chain 2 Iteration: 500 / 2000 [ 25%] (Warmup)
Chain 2 Iteration: 600 / 2000 [ 30%] (Warmup)
Chain 2 Iteration: 700 / 2000 [ 35%] (Warmup)
Chain 2 Iteration: 800 / 2000 [ 40%] (Warmup)
Chain 2 Iteration: 900 / 2000 [ 45%] (Warmup)
Chain 2 Iteration: 1000 / 2000 [ 50%] (Warmup)
Chain 2 Iteration: 1001 / 2000 [ 50%] (Sampling)
Chain 2 Iteration: 1100 / 2000 [ 55%] (Sampling)
Chain 2 Iteration: 1200 / 2000 [ 60%] (Sampling)
Chain 2 Iteration: 1300 / 2000 [ 65%] (Sampling)
Chain 2 Iteration: 1400 / 2000 [ 70%] (Sampling)
Chain 2 Iteration: 1500 / 2000 [ 75%] (Sampling)
Chain 2 Iteration: 1600 / 2000 [ 80%] (Sampling)
Chain 2 Iteration: 1700 / 2000 [ 85%] (Sampling)
Chain 2 Iteration: 1800 / 2000 [ 90%] (Sampling)
Chain 2 Iteration: 1900 / 2000 [ 95%] (Sampling)
Chain 2 Iteration: 2000 / 2000 [100%] (Sampling)
Chain 2 finished in 24.2 seconds.
Chain 3 Iteration: 1 / 2000 [ 0%] (Warmup)
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Random variable[2] is -124.473, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Random variable[2] is -30.6713, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Random variable[2] is -6.69811, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Random variable[2] is -0.998122, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Location parameter[11] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Random variable[2] is -48.4869, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: lognormal_lpdf: Location parameter[19] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 3 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 3 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 3
Chain 3 Iteration: 100 / 2000 [ 5%] (Warmup)
Chain 3 Iteration: 200 / 2000 [ 10%] (Warmup)
Chain 3 Iteration: 300 / 2000 [ 15%] (Warmup)
Chain 3 Iteration: 400 / 2000 [ 20%] (Warmup)
Chain 3 Iteration: 500 / 2000 [ 25%] (Warmup)
Chain 3 Iteration: 600 / 2000 [ 30%] (Warmup)
Chain 3 Iteration: 700 / 2000 [ 35%] (Warmup)
Chain 3 Iteration: 800 / 2000 [ 40%] (Warmup)
Chain 3 Iteration: 900 / 2000 [ 45%] (Warmup)
Chain 3 Iteration: 1000 / 2000 [ 50%] (Warmup)
Chain 3 Iteration: 1001 / 2000 [ 50%] (Sampling)
Chain 3 Iteration: 1100 / 2000 [ 55%] (Sampling)
Chain 3 Iteration: 1200 / 2000 [ 60%] (Sampling)
Chain 3 Iteration: 1300 / 2000 [ 65%] (Sampling)
Chain 3 Iteration: 1400 / 2000 [ 70%] (Sampling)
Chain 3 Iteration: 1500 / 2000 [ 75%] (Sampling)
Chain 3 Iteration: 1600 / 2000 [ 80%] (Sampling)
Chain 3 Iteration: 1700 / 2000 [ 85%] (Sampling)
Chain 3 Iteration: 1800 / 2000 [ 90%] (Sampling)
Chain 3 Iteration: 1900 / 2000 [ 95%] (Sampling)
Chain 3 Iteration: 2000 / 2000 [100%] (Sampling)
Chain 3 finished in 26.1 seconds.
Chain 4 Rejecting initial value:
Chain 4 Error evaluating the log probability at the initial value.
Chain 4 Exception: ode_rk45: Failed to integrate to next output time (5) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 4 Exception: ode_rk45: Failed to integrate to next output time (5) in less than max_num_steps steps (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 19, column 4 to column 16)
Chain 4 Gradient evaluation took 0.000149 seconds
Chain 4 1000 transitions using 10 leapfrog steps per transition would take 1.49 seconds.
Chain 4 Adjust your expectations accordingly!
Chain 4 Iteration: 1 / 2000 [ 0%] (Warmup)
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Random variable[1] is -2.38955, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Random variable[2] is -18.7624, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Random variable[2] is -3.4297, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: ode_rk45: ode parameters and data is inf, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 40, column 2 to column 77)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Random variable[2] is -1.18445, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Location parameter[15] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Location parameter[6] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Location parameter[7] is nan, but must be finite! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 54, column 4 to column 47)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Iteration: 100 / 2000 [ 5%] (Warmup)
Chain 4 Iteration: 200 / 2000 [ 10%] (Warmup)
Chain 4 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 4 Exception: lognormal_lpdf: Random variable[1] is -5.23541, but must be >= 0! (in '/var/folders/10/zpzbg__x3hlc56gwq9zf6r600000gn/T/Rtmp3DXbaF/model-20bf71c39170.stan', line 49, column 2 to column 33)
Chain 4 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Chain 4 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
Chain 4
Chain 4 Iteration: 300 / 2000 [ 15%] (Warmup)
Chain 4 Iteration: 400 / 2000 [ 20%] (Warmup)
Chain 4 Iteration: 500 / 2000 [ 25%] (Warmup)
Chain 4 Iteration: 600 / 2000 [ 30%] (Warmup)
Chain 4 Iteration: 700 / 2000 [ 35%] (Warmup)
Chain 4 Iteration: 800 / 2000 [ 40%] (Warmup)
Chain 4 Iteration: 900 / 2000 [ 45%] (Warmup)
Chain 4 Iteration: 1000 / 2000 [ 50%] (Warmup)
Chain 4 Iteration: 1001 / 2000 [ 50%] (Sampling)
Chain 4 Iteration: 1100 / 2000 [ 55%] (Sampling)
Chain 4 Iteration: 1200 / 2000 [ 60%] (Sampling)
Chain 4 Iteration: 1300 / 2000 [ 65%] (Sampling)
Chain 4 Iteration: 1400 / 2000 [ 70%] (Sampling)
Chain 4 Iteration: 1500 / 2000 [ 75%] (Sampling)
Chain 4 Iteration: 1600 / 2000 [ 80%] (Sampling)
Chain 4 Iteration: 1700 / 2000 [ 85%] (Sampling)
Chain 4 Iteration: 1800 / 2000 [ 90%] (Sampling)
Chain 4 Iteration: 1900 / 2000 [ 95%] (Sampling)
Chain 4 Iteration: 2000 / 2000 [100%] (Sampling)
Chain 4 finished in 23.3 seconds.
All 4 chains finished successfully.
Mean chain execution time: 24.8 seconds.
Total execution time: 115.0 seconds.
```