Learn R Programming

discFA (version 1.0.1)

dfzipt: 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)

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

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.

Examples

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

Run the code above in your browser using DataLab