Skip to content

Commit

Permalink
update snapshots, document
Browse files Browse the repository at this point in the history
  • Loading branch information
rempsyc committed Apr 1, 2024
1 parent 92bbfc8 commit b17dbd8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 61 deletions.
4 changes: 2 additions & 2 deletions man/report.BFBayesFactor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 0 additions & 35 deletions tests/testthat/_snaps/windows/report.brmsfit.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,6 @@
report(model, verbose = FALSE)
Message
Start sampling
Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 1 Exception: normal_id_glm_lpdf: Scale vector is 0, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 2 Exception: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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 3 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Chain 3 Exception: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
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
Output
We fitted a Bayesian linear model (estimated using MCMC sampling with 4 chains
of 300 iterations and a warmup of 150) to predict mpg with qsec and wt
Expand Down
24 changes: 0 additions & 24 deletions tests/testthat/_snaps/windows/report_performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Code
report_performance(x5)
Message
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d47a7090f_StanProgress.html
Output
The model's explanatory power is substantial (R2 = 0.62, 95% CI [0.53, 0.69],
adj. R2 = 0.61)
Expand All @@ -14,43 +10,27 @@

Code
summary(report_performance(x5))
Message
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d465985229_StanProgress.html
Output
[1] "The model's explanatory power is substantial (R2 = 0.62, adj. R2 = 0.61)"

---

Code
report_performance(x6)
Message
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d4560a39d2_StanProgress.html
Output
The model's explanatory power is substantial (R2 = 0.54, 95% CI [0.27, 0.77])

---

Code
summary(report_performance(x6))
Message
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d452f95d46_StanProgress.html
Output
[1] "The model's explanatory power is substantial (R2 = 0.54)"

# report_performance Bayesian 2)

Code
report_performance(x7)
Message
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d412fbc1_StanProgress.html
Output
The model's explanatory power is substantial (R2 = 0.83, 95% CI [0.79, 0.86],
adj. R2 = 0.83) and the part related to the fixed effects alone (marginal R2)
Expand All @@ -60,10 +40,6 @@

Code
summary(report_performance(x7))
Message
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d426713848_StanProgress.html
Output
[1] "The model's explanatory power is substantial (R2 = 0.83, adj. R2 = 0.83) and the part related to the fixed effects alone (marginal R2) is of 0.95"

0 comments on commit b17dbd8

Please sign in to comment.