Learn R Programming

bayesbr (version 0.0.1.0)

summary_mean: Variable Coefficients for Theta

Description

A function that uses the beta values of the posterior distribution of the model and calculates the estimates for each theta covariate.

Usage

summary_mean(x,prob=0.95)

Arguments

x

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

prob

a probability containing the credibility index for the HPD interval for the coefficients of the covariates.

Value

A list containing the estimates for the covariables of theta, this list contains the following items:

table

a table with the means, medians, standard deviations and the Highest Posterior Density (HPD) Interval,

coeff

a vector containing the estimated coefficients for the variables.

See Also

summary_precision,values,summary.bayesbr