Return log-likelihood function (cost function) value evaluated at a given parameter tensor, an observed tensor, and cut-off points.
likelihood(ttnsr,theta,omega,type = c("ordinal","Gaussian"))Log-likelihood value at given inputs.
An observed tensor data.
A continuous-valued tensor (latent parameters).
The cut-off points.
Types of log-likelihood function.
"ordinal" specifies log-likelihood function based on the cumulative logistic model.
"Gaussian" specifies log-likelihood function based on the Gaussian model.