Log_marginal_post_no_discrepancy: Natural Logorithm of the posterior with no discrepancy...

View source: R/RcppExports.R

Log_marginal_post_no_discrepancyR Documentation

Natural Logorithm of the posterior with no discrepancy function.

Description

This function compute the natural Logorithm of the posterior assuming no discrepancy function.

Usage

Log_marginal_post_no_discrepancy(param,  output,  p_theta,   X, have_mean, 
inv_output_weights,  cm_obs,S_2_f,num_obs_all)

Arguments

param

Current parameters in the MCMC.

output

Experimental observations.

p_theta

Number of calibration parameters.

X

Number of mean discrepancy parameters.

have_mean

Whether the mean discrepancy is zero or not.

inv_output_weights

Inverse of the weights of the outputs

cm_obs

Outputs from the mathematical model.

S_2_f

Variance of the data. This term is useful when there are repeated experiments.

num_obs_all

Total number of observations. If there is no repeated experiment, this is equal to the number of observable inputs.

Value

Natural logorithm of the posterior assuming no discrepancy function.

Author(s)

Mengyang Gu [aut, cre]

Maintainer: Mengyang Gu <mengyang@pstat.ucsb.edu>

References

A. O'Hagan and M. C. Kennedy (2001), Bayesian calibration of computer models, Journal of the Royal Statistical Society: Series B (Statistical Methodology, 63, 425-464.

Mengyang Gu. (2016). Robust Uncertainty Quantification and Scalable Computation for Computer Models with Massive Output. Ph.D. thesis. Duke University.

M. Gu and L. Wang (2017) Scaled Gaussian Stochastic Process for Computer Model Calibration and Prediction. arXiv preprint arXiv:1707.08215.

M. Gu (2018) Jointly Robust Prior for Gaussian Stochastic Process in Emulation, Calibration and Variable Selection . arXiv preprint arXiv:1804.09329.


RobustCalibration documentation built on June 22, 2024, 10:37 a.m.