calcLRTs: Compute (profile) likelihood ratio tests

Description Usage Arguments Value

View source: R/calcLRTs.R


Assuming that calcPredictorOK and maximizeOK have been first run and that the predicted response surface is a likelihood surface , this performs likelihood ratio (LR) tests for a list of parameter points. Profiles are computed if appropriate, i.e. is the point is lower-dimensional than the the parameter space.


calcLRTs(testPointList, cleanResu = "")



A list of points in predictor (parameter) space. Each point is a numeric vector or list with named elements , the names being those of some parameters.


A connection, or a character string naming a file for some nicely formated output. If "" (the default), print to the standard output connection.


Return a list with information about each LR test, except for tests that could not be performed (e.g. if the tested point is ousdie of the convex envelope of the parameter points from which the predictor has been built). The names of this list's elements are constructed from the tested points. Eachelement is itself a list with elements


The LR statistics (twice the differnece in log-likelihood between maximized likelihood and profile for the input parameters)


Associated Pvalue by standard chi-square approximation


Information about the profile point for the input parameters


Information about the maximum likelihood point

and other elements, not documented here.

blackbox documentation built on Nov. 17, 2017, 5:47 a.m.

Related to calcLRTs in blackbox...