pava.cpp File Reference

Pooled Adjacent Violator Algorithms. More...

#include <cmath>
#include <target/utils.hpp>
Include dependency graph for pava.cpp:

Go to the source code of this file.


arma::mat target::pava (arma::vec y, const arma::vec &x=arma::vec(), arma::vec w=arma::vec())
 Weighted Pooled Adjacent Violator Algorithm. More...

Detailed Description

Pooled Adjacent Violator Algorithms.

Klaus K. Holst

Definition in file pava.cpp.

Function Documentation

◆ pava()

arma::mat target::pava ( arma::vec  y,
const arma::vec &  x,
arma::vec  w 

Weighted Pooled Adjacent Violator Algorithm.

Pooled Adjacent Violator Algorithm for

yResponse variable
xOptional covariate to order the response variable after
wOptional weight vector

Definition at line 22 of file pava.cpp.