Description Usage Arguments Details Value Author(s) References See Also Examples
Evaluate the functional (mean) response for the 2d
exponential data (truth) at the X
inputs, and randomly
sample noisy Z
–values having normal error with standard
deviation provided.
1 
X 
Must be a 
sd 
Standard deviation of iid normal noise added to the responses 
The response is evaluated as
Z(X) = X1 * exp(X1^2X2^2),
thus creating the outputs Z
and Ztrue
.
Zeromean normal noise with sd=0.001
is added to the
responses Z
and ZZ
Output is a data.frame
with columns:
Z 
Numeric vector describing the responses (with noise) at the

Ztrue 
Numeric vector describing the true responses (without
noise) at the 
Robert B. Gramacy, rbgramacy@chicagobooth.edu, and Matt Taddy, taddy@chicagobooth.edu
Gramacy, R. B. (2007). tgp: An R Package for Bayesian Nonstationary, Semiparametric Nonlinear Regression and Design by Treed Gaussian Process Models. Journal of Statistical Software, 19(9). http://www.jstatsoft.org/v19/i09
Robert B. Gramacy, Matthew Taddy (2010). Categorical Inputs, Sensitivity Analysis, Optimization and Importance Tempering with tgp Version 2, an R Package for Treed Gaussian Process Models. Journal of Statistical Software, 33(6), 1–48. http://www.jstatsoft.org/v33/i06/.
Gramacy, R. B., Lee, H. K. H. (2007). Bayesian treed Gaussian process models with an application to computer modeling Journal of the American Statistical Association, to appear. Also available as ArXiv article 0710.4536 http://arxiv.org/abs/0710.4536
http://bobby.gramacy.com/r_packages/tgp
1 2 3 4 5 6 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.