likelihood {TensorComplete}R Documentation

Log-likelihood function (cost function).

Description

Return log-likelihood function (cost function) value evaluated at a given parameter tensor, an observed tensor, and cut-off points.

Usage

likelihood(ttnsr,theta,omega,type = c("ordinal","Gaussian"))

Arguments

ttnsr

An observed tensor data.

theta

A continuous-valued tensor (latent parameters).

omega

The cut-off points.

type

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.

Value

Log-likelihood value at given inputs.


[Package TensorComplete version 0.2.0 Index]