The function computes the closed-form posterior mean and variance for the RNAmf model both at the fidelity levels used in model fitting using the chosen kernel.
closed_form_RNA(fits, x, kernel, XX = NULL, pseudo_yy = NULL)A list of predictive posterior mean and variance for each level containing:
mu: A list of predictive posterior mean at each fidelity level.
sig2: A list of predictive posterior variance at each fidelity level.
A fitted GP object from RNAmf.
A vector or matrix of new input locations to predict.
A character specifying the kernel type to be used. Choices are "sqex"(squared exponential kernel), "matern1.5"(Matern kernel with \(\nu=1.5\)), or "matern2.5"(Matern kernel with \(\nu=2.5\)). Default is "sqex".
A list containing a pseudo-complete inputs X_star(\(\left\{\mathcal{X}^*_l\right\}_{l=1}^{L}\)), an original inputs X_list(\(\left\{\mathcal{X}_l\right\}_{l=1}^{L}\)), and a pseudo inputs X_tilde(\(\left\{\widetilde{\mathcal{X}}_l\right\}_{l=1}^{L}\)) for non-nested design.
A list containing a pseudo-complete outputs y_star(\(\left\{\mathbf{y}^*_l\right\}_{l=1}^{L}\)), an original outputs y_list(\(\left\{\mathbf{y}_l\right\}_{l=1}^{L}\)), and a pseudo outputs y_tilde(\(\left\{\widetilde{\mathbf{y}}_l\right\}_{l=1}^{L}\)) imputed by imputer_RNA.