compare: Bootstrap parameters and likelihood ratios

Description Usage Arguments Details Value

Description

Simulate under both models and fit results to simulation

Usage

1
  compare(A, B)

Arguments

A

a fitted model with update and simulate methods

B

another model capable of fitting the same data object

Details

will repeat simulation and fitting if one of the model updates fails to converge on that data

Value

a list with:

AA the model A fitted to simulations from A

BB model B fitted to simulations from B

AB the model A fitted to simulations from B

BA model B fitted to simulations from A

likelihood estimates,

parameter values


cboettig/earlywarning documentation built on May 13, 2019, 2:07 p.m.