A function that receives information from an estimated model uses data from the estimated theta for each iteration and returns the average of each theta in the sample.
fitted.values(x)
an object of the class bayesbr, containing the list returned from the bayesbr
function.
A vector with the average of theta estimates in the iterations (excluding warmup). The vector size is equal to the number of model observations.