Learn R Programming

discFA (version 1.0.1)

dfnb: Discrete factor analysis for the negative binomial distribution

Description

Discrete factor analysis for the negative binomial distribution

Usage

dfnb(y)

Value

A list with entries

AIC

AIC value for the optimal model

indexmat

Factors and variables in each factor

estr0

Estimated value of r for the negative binomial distributed factor(s)

estp0

Estimated value of p for the negative binomial distributed factor(s)

estr

Estimated value of r for the negative binomial distributed observations(s)

estp

Estimated value of r for the negative binomial distributed observations(s)

Arguments

y

Data, an n by d numeric matrix

Examples

Run this code
dfnb(zinb100_Data[1:40,1:5])

Run the code above in your browser using DataLab