Learn R Programming

GLmom (version 1.3.1)

wls.gev11: Weighted least squares core estimation for GEV11

Description

Internal function that performs the core WLS steps: (Step 3) estimate log-scale trend from absolute residuals, (Step 4) estimate location trend from weighted data, (Step 5) compute standardized residuals.

Usage

wls.gev11(xdat, res = NULL, rob = NULL)

Value

A list containing:

sig

Log-scale regression coefficients c(sigma0, sigma1)

m

Location regression coefficients c(mu0, mu1)

res

Standardized residuals

Arguments

xdat

Numeric vector of data.

res

Numeric vector of residuals from initial location regression.

rob

Logical. If TRUE, use robust regression. If FALSE, use OLS.