dfnbt | R Documentation |
Discrete factor analysis for the truncated negative binomial distribution (with right truncation at A)
dfnbt(y, A)
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. |
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 |
dfnbt(zinb100_Data[1:40,1:3], A = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.