This S3 functions only prints the mean and the HDPI values of all the parameters in the model
# S3 method for bpc print(x, credMass = 0.95, HPDI = T, digits = 3, diagnostics = TRUE, ...)
x | a bpc object |
---|---|
credMass | the probability mass for the credible interval |
HPDI | True if show HPDI interval, False to show the credible (quantile) intervals |
digits | number of decimal digits in the table |
diagnostics | show diagnostics |
... | additional parameters for the generic print function. Not used |
# \donttest{ m<-bpc(data = tennis_agresti, player0 = 'player0', player1 = 'player1', result_column = 'y', model_type = 'bt', solve_ties = 'none') #> Running MCMC with 4 parallel chains... #> #> Chain 1 finished in 3.4 seconds. #> Chain 2 finished in 3.5 seconds. #> Chain 4 finished in 3.4 seconds. #> Chain 3 finished in 3.6 seconds. #> #> All 4 chains finished successfully. #> Mean chain execution time: 3.5 seconds. #> Total execution time: 3.7 seconds. print(m) #> Estimated baseline parameters with 95% HPD intervals: #> #> Table: Parameters estimates #> #> Parameter Mean Median HPD_lower HPD_higher #> -------------------- ------- ------- ---------- ----------- #> lambda[Seles] 0.538 0.533 -2.217 3.209 #> lambda[Graf] 0.966 0.960 -1.669 3.745 #> lambda[Sabatini] -0.308 -0.308 -3.094 2.295 #> lambda[Navratilova] 0.064 0.066 -2.714 2.769 #> lambda[Sanchez] -1.100 -1.091 -3.889 1.573 #> NOTES: #> * A higher lambda indicates a higher team ability # }