FindAlpha: Calculation of alpha

View source: R/CalculateC.R

FindAlphaR Documentation

Calculation of alpha

Description

Function to find the largest alpha that makes equation 10 in the paper solvable.

Usage

FindAlpha(a, b, tryViaQR = TRUE)

FindAlphaSimple(a, b)

Arguments

a

matrix E in paper

b

matrix Eg in paper

tryViaQR

When TRUE QR transformation used (to handle collinearity) when ordinary calculations fail.

Value

alpha

Note

FindAlphaSimple performs the calculations by a simple/direct method. FindAlpha is made to handle problematic special cases.

Author(s)

Øyvind Langsrud

See Also

See examples in the documentation of CalculateC


olangsrud/RegSDC documentation built on June 9, 2025, 7:53 p.m.