llike | R Documentation |
This function evaluates the log-likelihood of the response for a given value of the parameters.
llike(Y, W, tau)
Y |
ordinal response |
W |
global variance |
tau |
cut-points |
value of log-likelihood at Y, W and tau
set.seed(1234)
K = 3 # number of response categories
Y = sample(1:K, 10, replace=TRUE) # generate responses
W = 1
tau = c(-1, 1) # set parameter values
llike(Y, W, tau)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.