Plot the fitted values, plus pointwise credible intervals, against the data. For simulations, one may use the true values in place of the data.
Arguments
- y
n x 1vector of data- post_y
Nsims x nmatrix of simulated fitted values, whereNsimsis the number of simulations- y_hat
n x 1vector of fitted values; if NULL, use the pointwise sample meancolMeans(post_y)- alpha
confidence level for the credible intervals
- ...
other arguments for plotting