Function to compute the variance bounds
compute_ratio_variance(x, Xp, Yp, dimX2, weights_xp, weights_yp)
the value of the ratio of the variance entering the variance bounds.
a matrix containing the directions to compute the variance bounds on the radial function.
the observations of the noncommon regressor (possibly conditional on Xc).
the observations of the outcome variable.
the dimension of the noncommon regressors Xnc.
the sampling or bootstrap weights for the dataset (Xnc,Xc).
the sampling or bootstrap weights for the dataset (Y,Xc).