Learn R Programming

discFA (version 1.0.1)

dfpt: Discrete factor analysis with the truncated Poisson distribution

Description

Discrete factor analysis with the truncated Poisson distribution

Usage

dfpt(y, A = NULL)

Value

A list with entries

AIC

AIC value for the optimal model

indexmat

Factors and variables in each factor

estlambda

Estimated parameters for factors

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
dfpt(y = car_data[,1:5], A = 5)

Run the code above in your browser using DataLab