Plausibility: Compute weighted or unweighted plausibility function

PlausibilityR Documentation

Compute weighted or unweighted plausibility function

Description

A model comparison of binomial outcome for nested models is computed. The plausibility estimate and P-value are returned together with a glm-fit.

Usage

Plausibility(
  f0,
  f1 = NULL,
  data,
  family = "binomial",
  Nsi = 1000L,
  Niter = 2L,
  optMethod = "optim",
  ...,
  plClass,
  initArgs = list()
)

Arguments

f0

Null model given as R formula

f1

Alternative model given as R formula

data

data frame

Nsi

Number of stochastic integration samples (defaults to 1e3L)

Niter

Number of iterations used when finding the plausibility estimate

optMethod

Optimization method to use. Either 'grid' (default) or 'optim'

...

Arguments passed to the optimizer


sboehringer/plausibility documentation built on Dec. 6, 2022, 11:34 a.m.