dfnbt {discFA} | R Documentation |
Discrete factor analysis for the truncated negative binomial distribution (with right truncation at A)
Description
Discrete factor analysis for the truncated negative binomial distribution (with right truncation at A)
Usage
dfnbt(y, A)
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 |
estr0 |
Estimated value of r for the factor |
estp0 |
Estimated value of p for the factor |
estr |
Estimated value of r for the observation |
estp |
Estimated value of r for the observation |
Examples
dfnbt(zinb100_Data[1:40,1:3], A = 6)
[Package discFA version 1.0.1 Index]