dfzipt: Discrete factor analysis with the truncated zero inflated...

View source: R/dfzipt.R

dfziptR Documentation

Discrete factor analysis with the truncated zero inflated Poisson distribution

Description

Discrete factor analysis with the truncated zero inflated Poisson distribution

Usage

dfzipt(y, A = NULL)

Arguments

y

Data, an n by d numeric matrix

A

truncation point (Note that if the data is in Likert scale starting from 1, then you should subtract 1 from the data and then use the proposed negative binomial models.

Value

A list with entries

AIC

AIC value for the optimal model

indexmat

Factors and variables in each factor

estpilam

Estimated zero-inflated parameters for for each factor

estlam

Estimated parameters for each factor

estpimu

Estimated zero-inflated parameters for each variable within each factor

estmu

Estimated parameters for each variable within each factor

Examples

dfzipt(zinb100_Data[1:50,1:3], A = 6)

discFA documentation built on May 29, 2024, 3:11 a.m.

Related to dfzipt in discFA...