UMRactiveSet: An active set approach to minimizing objective in Unlinked...

Description Usage Arguments Details

View source: R/UMRactiveSet.R

Description

An active set approach to minimizing objective in Unlinked Monotone Regression

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
UMRactiveSet(
  yy,
  grad,
  CC_SIR,
  init,
  counts = rep(1, length(init)),
  stepsize,
  MM,
  tol_end = 1e-04,
  tol_collapse,
  printevery,
  filename
)

Arguments

yy

Y (response) observation vector (numeric)

grad

a function(yy, mm) where mm is the previous iterate value (i.e., the estimate vector).

CC_SIR

A curvature function object (denoted "C" in the paper). See CC_SIR_generic() and examples.

init

Initial value of estimate ('mm'). Vector, length may be different than length(yy). See 'counts' input.

counts

Together 'init' and 'counts' serve as the initialization; the implied initial vector is rep.int(init, counts).

stepsize

Gradient descent stepsize.

MM

A number of iterations. May not use them all. MM is not exactly the total number of iterations used in the sense that within each of MM iterations, we will possibly run another algorithm which may take up to MM iterations (but usually takes many fewer).

tol_end

Used as tolerance at various points . Generally algorithm (and some subalgorithms) end once sum(abs(mm-mmprev)) < tol, or you hit MM iterations.

tol_collapse

Collapsing roughly equal mm values into each other.

printevery

integer value (generally << MM). Every 'printevery' iterations, a count will be printed and the output saved.

filename

filename (path) to save output to.

param ww_y Weights (nonnegative, sum to 1) corresponding to yy. Same length as yy.

Details

Uses first order (gradient) for optimization, and uses certain second derivative computations to leave saddle points. See Balabdaoui, Doss, and Durot (20xx). Note that yy and mm (i.e., number covariates) may have different length.


UMR documentation built on Aug. 14, 2021, 9:09 a.m.

Related to UMRactiveSet in UMR...