profile.tdmorefit: Get an overview of the log-likelihood for varying parameter...

Description Usage Arguments Value

View source: R/ebe.R

Description

Get an overview of the log-likelihood for varying parameter values. If arguments ‘fix' and 'limits' are not set for a specific parameter, individual eta’s will be generated to cover 95 percent of the population distribution.

Usage

1
2
3
4
## S3 method for class 'tdmorefit'
profile(fitted, fix = NULL, maxpts = 50,
  limits = NULL, type = c("ll", "pop", "pred"), .progress = "none",
  ...)

Arguments

fitted

A tdmorefit object

fix

Which parameters to fix? Named vector of the parameters that are fixed and should not be profiled

maxpts

Maximum number of points per parameter

limits

limits to explore (numeric vector of form c(min, max) or specific limits per parameter in the form list(ETA1=c(min,max), ETA2=c(min,max), etc))

type

log-lokelihood function type, 3 possible values: 'pop', 'pred' or 'll' (= pop + pred)

.progress

See plyr::ddply

...

ignored

Value

a tdmore profile object. It namely contains a data.frame with each parameter value tested, and an additional 'logLik' column with the log-likelihood for each parameter combination.


tdmore-dev/tdmore documentation built on Nov. 15, 2018, 9:45 p.m.