Learn R Programming

⚠️There's a newer version (1.2-24) of this package.Take me there.

emulator (version 1.2-21)

Bayesian Emulation of Computer Programs

Description

Allows one to estimate the output of a computer program, as a function of the input parameters, without actually running it. The computer program is assumed to be a Gaussian process, whose parameters are estimated using Bayesian techniques that give a PDF of expected program output. This PDF is conditional on a training set of runs, each consisting of a point in parameter space and the model output at that point. The emphasis is on complex codes that take weeks or months to run, and that have a large number of undetermined input parameters; many climate prediction models fall into this class. The emulator essentially determines Bayesian posterior estimates of the PDF of the output of a model, conditioned on results from previous runs and a user-specified prior linear model. The package includes functionality to evaluate quadratic forms efficiently.

Copy Link

Version

Install

install.packages('emulator')

Monthly Downloads

1,417

Version

1.2-21

License

GPL

Issues

Pull Requests

Stars

Forks

Last Published

April 25th, 2021

Functions in emulator (1.2-21)

estimator

Estimates each known datapoint using the others as datapoints
OO2002

Implementation of the ideas of Oakley and O'Hagan 2002
scales.likelihood

Likelihood of roughness parameters
emulator-package

tools:::Rd_package_title("emulator")
expert.estimates

Expert estimates for Goldstein input parameters
sigmahatsquared

Estimator for sigma squared
interpolant

Interpolates between known points using Bayesian estimation
regressor.basis

Regressor basis function
results.table

Results from 100 Goldstein runs
latin.hypercube

Latin hypercube design matrix
corr

correlation function for calculating A
betahat.fun

Calculates MLE coefficients of linear fit
pad

Simple pad function
optimal.scales

Use optimization techniques to find the optimal scales
quad.form

Evaluate a quadratic form efficiently
prior.b

Prior linear fits
tr

Trace of a matrix
toy

A toy dataset
sample.n.fit

Sample from a Gaussian process and fit an emulator to the points
makeinputfiles

Makes input files for condor runs of goldstein
s.chi

Variance estimator
model

Simple model for concept checking