objfun.pmodel_identity function

Objective function of personalised models

Objective function of personalised models

Get the contributions of an objective function (e.g. likelihood contributions) and the sum thereof (e.g. log-Likelihood).

## S3 method for class 'pmodel_identity' objfun(x, ...) ## S3 method for class 'pmodel_identity' logLik(object, add_df = 0, ...)

Arguments

  • x, object: object of class pmodel_identity (obtained by pmodel(..., fun = identity)).

  • ...: additional parameters passed on to objfun.

  • add_df: it is not very clear what the degrees of freedom are in personalised models. With this argument you can add/substract degrees of freedom at your convenience. Default is 0 which means adding up the degrees of freedom of all individual models.

    For examples see pmodel.

  • Maintainer: Heidi Seibold
  • License: GPL-2 | GPL-3
  • Last published: 2024-11-08

Useful links