Likelihood (Internals)

Psychometrics.__likelihoodMethod
__likelihood(
    response_val::Float64,
    latent_val::Float64,
    parameters::AbstractParametersBinary;
    weight::Float64 = 1.0
)

#Description

It computes the likelihood for a latent value and item parameters parameters with answer value response_val. Optionally weights the result by setting weight, that is equal to 1.0 by default.

source
Psychometrics.__log_likelihoodMethod
__log_likelihood(
    response_val::Float64,
    latent_val::Float64,
    parameters::AbstractParametersBinary,
)

Description

It computes the log likelihood for a latent value and item parameters parameters with answer response_val.

source
Missing docstring.

Missing docstring for _likelihood( response_val::Float64, latent_val::Float64, item::AbstractItem; weight::Float64 = 1.0 ). Check Documenter's build log for details.

Psychometrics._likelihoodMethod
_likelihood(
    response::AbstractResponse,
    latent_val::Float64,
    item::AbstractItem;
    weight::Float64 = 1.0
)

#Description

It computes the likelihood for a latent value and item item with answer response. Optionally weights the result by setting weight, that is equal to 1.0 by default.

source
Psychometrics._log_likelihoodMethod
_log_likelihood(
    response_val::Float64,
    latent::Latent1D,
    parameters::AbstractParametersBinary,
)

Description

It computes the log likelihood for a 1-dimensional latent variable and item parameters parameters with answer response_val.

source
Psychometrics._log_likelihoodMethod
_log_likelihood(
    response_val::Float64,
    latent::Latent1D,
    parameters::AbstractParametersBinary,
    g_item::Vector{Float64},
    g_latent::Vector{Float64},
)

Description

It computes the log likelihood for a 1-dimensional latent variable and item parameters parameters with answer response_val. It updates also the gradient vectors.

source