g3_lik_out: Likelihood summary for a model run

g3_lik_outR Documentation

Likelihood summary for a model run

Description

Likelihood summary for a model run

Usage

g3_lik_out(model, param)

Arguments

model

A G3 model, produced by g3_to_r() or g3_tmb_adfun()

param

A G3 parameter dataframe

Details

Runs the model, sums the number of data points (df) and nll's for each component (value), and extracts the corresponding weights from the input parameters (weight)

Value

A dataframe containing the likelihood component name, degrees of freedom, NLL value, and weight


gadget-framework/gadgetutils documentation built on Aug. 16, 2024, 8:45 a.m.