Predict with summary=FALSE

Please also provide the following information in addition to your question:

  • Operating System: Win10 64
  • brms Version: 2.10.0


I am trying to understand the predict function. I want to know how I can start from summary=FALSE to get the results the same as the result of summary=TRUE.

like: from “predict(mod, newdata, summary = FALSE)” —> how to get same result to “predict(mod, newdata, summary = TRUE)”

I find it related to the function of predict_internal which builds on extract_draws and predict_internal function. But I cannot found a function named as predict_internal in the package.

Could anyone help me figure out how to connect results between summary=TRUE/FALSE?

Thank you.

Use posterior_summary.

1 Like

Thank you so much,

could you provide some example codes? It may much save my time.

Use posterior_summary on the output of predict(…, summary = FALSE)