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