An implementation of Gaussian processes for estimating noise.
estimate_sigma2(Y, X, lambda_hat, y_fixed_hat, alpha_hat, K_hat)
(matrix, n*1) The vector of response variable.
(matrix, n*d_fix) The fixed effect matrix.
(numeric) The selected tuning parameter based on the estimated ensemble kernel matrix.
(vector of length n) Estimated fixed effect of the response.
(vector of length n) Kernel effect estimators of the estimated ensemble kernel matrix.
(matrix, n*n) Estimated ensemble kernel matrix.
(numeric) The estimated noise of the fixed effect.
Jeremiah Zhe Liu and Brent Coull. Robust Hypothesis Test for Nonlinear Effect with Gaussian Processes. October 2017.s