Learn R Programming

RegCombin (version 0.4.1)

compute_ratio_variance: Function to compute the variance bounds

Description

Function to compute the variance bounds

Usage

compute_ratio_variance(x, Xp, Yp, dimX2, weights_xp, weights_yp)

Value

the value of the ratio of the variance entering the variance bounds.

Arguments

x

a matrix containing the directions to compute the variance bounds on the radial function.

Xp

the observations of the noncommon regressor (possibly conditional on Xc).

Yp

the observations of the outcome variable.

dimX2

the dimension of the noncommon regressors Xnc.

weights_xp

the sampling or bootstrap weights for the dataset (Xnc,Xc).

weights_yp

the sampling or bootstrap weights for the dataset (Y,Xc).