PAV: Pool-adjacent-violators monotonizing

View source: R/PAV.R

PAVR Documentation

Pool-adjacent-violators monotonizing

Description

The function monotonizes a sequence of probabilities or means based on the pool-adjacent-violators algorithm.

Usage

function(formula,data,type) 

Arguments

formula

an object of class "formula" expressing dose-response relationship. Details of model specification are given under 'Details'

data

data frame containing the variables in the formula

type

character string specifying the type of data used in the model, "continuous" or "binomial" or "Poisson"

Details

For details on how the pool-adjacent-violators algorithm is defined see Silvapulle and Sen (2004).

Formula should be specified as in the form number/total ~ dose for binomial data and response ~ for continuous data.

Value

A vector containing the monotonized sequence.

Author(s)

Signe M. Jensen

References

Silvapulle, M. J. and Sen, P. K. (2004). Constrained statistical inference: order, inequality, and shape constraints. New York: John Wiley & Sons.


DoseResponse/bmd documentation built on March 29, 2025, 4:36 p.m.