Description Usage Arguments See Also Examples
View source: R/summary.bayesbr.R
A method that receives a list of the bayesbr type and its items and displays the main information of the model, such as the residuals, a table containing statistics on the estimated coefficients and information to evaluate the quality of the model.
1 2 3 |
object |
an object of the class bayesbr, containing the list returned from the |
type |
A character containing the residual type returned by the model among the possibilities. The type of residue can be quantile, sweighted, pearson or ordinary. The default is quantile. |
prob |
a probability containing the credibility index for the HPD interval for the coefficients of the covariates. |
... |
further arguments passed to or from other methods. |
bayesbr
,residuals.bayesbr
,print.bayesbr
,predict.bayesbr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | data("bodyfat",package="bayesbr")
bbr = bayesbr(siri ~ age + weight +
wrist | biceps + forearm,
data = bodyfat, iter = 100)
summary(bbr)
summary(bbr, type="pearson")
summary(bbr, prob = 0.9)
summary(bbr, prob = 0.99, resid.type="sweighted")
bbr2 = bayesbr(siri ~ age + weight + height +
wrist | biceps + forearm, data = bodyfat,
iter = 100,mean_betas = 3,
variance_betas = 10)
summary(bbr2)
summary(bbr2, type="sweighted")
summary(bbr2, prob = 0.96)
summary(bbr2, prob = 0.95, resid.type="quantile")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.