Description Usage Arguments Details Value Author(s) References Examples
Given a response vector y and a predictor matrix xmat with (one or two) columns, the isotonic regression estimator is returned, with the usual (complete or partial) ordering.
1 |
y |
The response vector of length n |
xmat |
Either a one-dimensional predictor vector or an n by 2 matrix of two-dimensional predictor values. |
wt |
Optional weights – a positive vector of length n. |
pen |
If pen=FALSE, no penalty is applied to tame spiking. Default is pen=TRUE. |
default |
If default=FALSE, the user must specify a penalty value. |
lambda |
Optional penalty. If pen=0, an unpenalized isotonic regression is performed. If not supplied a default penalty is used. |
nsim |
The number of simulations used in the computation of approximate point-wise confidence intervals. The default is nsim=0, and no confidence intervals are returned. |
alpha |
The confidence level of the confidence intervals. Default is alpha=.05 (i.e., 95 percent confidence intervals) |
The least-squares isotonic regression is computed using the coneA function of the R package coneproj.
fit |
The fitted values; i.e., the estimated expected response |
sighat |
The estimated model standard deviation |
upper |
The upper points of the point-wise confidence intervals, returned if nsim>0 |
lower |
The lower points of the point-wise confidence intervals, returned if nsim>0 |
Mary C Meyer, Professor, Department of Statistics, Colorado State University
Meyer, M.C. (2013) A Simple New Algorithm for Quadratic Programming with Applications in Statistics, Communications in Statistics, 42(5), 1126-1139.
1 2 3 4 5 6 7 |
Loading required package: coneproj
Loading required package: Matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.