fn.radius: Computes radius

Description Usage Arguments Details Value

View source: R/fn_radius.R

Description

Compute the radius in deviation space

Usage

1
2
3
fn.radius(ystst, X)

fn.radius2(ystst, proj)

Arguments

ystst

a data vector such that T(ystst)=T(y_obs)

X

design matrix

proj

the projection matrix onto the deviation space (aka the least squares residual space)

Details

Two equivalent ways to calculate radius in deviation space. The second uses the projection matrix onto the deviation space as an argument is a bit quicker.

Value

The radius in deviation space


jrlewi/brlm documentation built on March 17, 2021, 1:10 a.m.