gradsqr {ROCSI}R Documentation

gradsqr

Description

Internal function for HIC calculation

Usage

gradsqr(beta, Z0, index, w = 1)

Arguments

beta

estimates of coefficient beta

Z0

(m x n) x p Z matrix as prepared for ROCSI

index

m*n by 2 matrix for the subindex for the pair difference in Z

w

a vector of weights Z (can be used for inverse probability weighting for missing data, default is 1)

Details

Internal function for HIC calculation

Value

gradient square for the GCV.

Examples

# no run

[Package ROCSI version 0.1.0 Index]