get_hpdi_parameters {bpcs}R Documentation

Return the mean and the HPDI of the parameters of the model

Description

Return a data frame with the mean and with high and low 95% hpd interval for all parameters of the model

Usage

get_hpdi_parameters(bpc_object)

Arguments

bpc_object

a bpc object

Value

a data frame containing a column with the parameters, a column with mean and two columns with higher and lower hpdi

Examples


m<-bpc(data = tennis_agresti,
player0 = 'player0',
player1 = 'player1',
result_column = 'y',
model_type = 'bt',
solve_ties = 'none')
hpdi<-get_hpdi_parameters(m)
print(hpdi)

[Package bpcs version 1.0.0 Index]