nb.wald: Structure learning with negative binomial model using glm

View source: R/PCnbinom.R

nb.waldR Documentation

Structure learning with negative binomial model using glm

Description

This function estimates the adjacency matrix of a NB model given a matrix of counts, using the glm.nb function.

Usage

nb.wald(X, maxcard, alpha, extend)

Arguments

X

the matrix of counts (n times p).

maxcard

the uper bound of the cardinality of the conditional sets K

alpha

the significant level of the tests

extend

if TRUE it considers the union of the tests, otherwise it considers the intersection.

Value

the estimated adjacency matrix of the graph.


drisso/learn2count documentation built on July 15, 2024, 11:13 p.m.