log_lik_diff: Log-likelihood Difference (Internal)

View source: R/4-2-permfit.R

log_lik_diffR Documentation

Log-likelihood Difference (Internal)

Description

Log-likelihood Difference (Internal)

Usage

log_lik_diff(
  model.type,
  y_hat,
  y_hat0,
  object,
  y_max = 1 - 10^-10,
  y_min = 10^-10
)

Arguments

model.type

Type of the model.

y_hat

Y hat.

y_hat0

Another Y hat.

object

Data object.

y_max

Max prob for binary Y.

y_min

Min prob for binary Y.

Value

Returns log-likelihood difference.


SkadiEye/deepTL documentation built on Nov. 17, 2022, 1:41 p.m.