Description Usage Arguments Details See Also Examples
Given a vector of n ratings over m categories, it returns a vector of length n whose i-th element is the probability of observing the i-th rating for the corresponding IHG model with parameter θ_i, obtained via logistic link with covariates and coefficients.
1 | probihgcovn(m,ordinal,U,nu)
|
m |
Number of ordinal categories |
ordinal |
Vector of ordinal responses |
U |
Matrix of selected covariates for explaining the preference parameter |
nu |
Vector of coefficients for covariates, whose length equals NCOL(U)+1 to include an intercept term in the model (first entry) |
The matrix U is expanded with a vector with entries equal to 1 in the first column to include an intercept term in the model.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.