Learn R Programming

ROCSI (version 0.1.0)

gradsqr: gradsqr

Description

Internal function for HIC calculation

Usage

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

Value

gradient square for the GCV.

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

Examples

Run this code
# no run

Run the code above in your browser using DataLab