Learn R Programming

bayesbr (version 0.0.1.0)

fitted.values: Fitted Values for Theta on Beta Regression

Description

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.

Usage

fitted.values(x)

Arguments

x

an object of the class bayesbr, containing the list returned from the bayesbr function.

Value

A vector with the average of theta estimates in the iterations (excluding warmup). The vector size is equal to the number of model observations.

See Also

bayesbr,predict.bayesbr