summary.bbl {bbl}R Documentation

Naive Bayes Summary

Description

Estimate significant of predictor-group association using naive Bayes model

Usage

## S3 method for class 'bbl'
summary(object, prior.count = 0, ...)

Arguments

object

Object of class bbl

prior.count

Prior count to be used for computing naive Bayes coefficients and test results. If 0, will produce NAs for factor levels without data points.

...

Other arguments to methods.

Details

This summary.bbl method gives a rough overview of associations within a bbl fit object via naive Bayes coefficients and test p-values. Note that naive Bayes results displayed ignore interactions even when interactions are present in the model being displayed. This feature is because simple analytic results exist for naive Bayes coefficients and test p-values. The likelihood ratio test is with respect to the null hypothesis that coefficients are identical for all response groups.

Value

Object of class summary.bbl extending bbl class; a list with extra components

h

List of bias coefficients of response groups under naive Bayes approximation

h0

Bias coefficients of pooled group under naive Bayes

chisqNaive

Vector of chi-square statistics for likelihood ratio test for each predictor

dfNaive

Vector of degrees of freedom for likelihood ratio test for each predictor

pvNaive

Vector p-values for each predictor


[Package bbl version 1.0.0 Index]