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 March 25, 2023, 4:21 p.m.