Learn R Programming

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

emulator (version 1.1-5)

Bayesian emulation of computer programs

Description

This package 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 techniqes 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 a-postiori estimates of the PDF of the output of a model, conditioned on results from previous runs and a user-specified prior linear model. A working example is given in the help page for function `interpolant', which should be the users's first point of reference.

Copy Link

Version

Install

install.packages('emulator')

Monthly Downloads

1,512

Version

1.1-5

License

GPL

Maintainer

Robin K S Hankin

Last Published

July 18th, 2009

Functions in emulator (1.1-5)

latin.hypercube

Latin hypercube design matrix
sigmahatsquared

Estimator for sigma squared
results.table

Results from 100 Goldstein runs
betahat.fun

Calculates MLE coefficients of linear fit
prior.b

Prior linear fits
s.chi

Variance estimator
quad.form

Evaluate a quadratic form efficiently
estimator

Estimates each known datapoint using the others as datapoints
interpolant

Interpolates between known points using Bayesian estimation
pad

Simple pad function
makeinputfiles

Makes input files for condor runs of goldstein
scales.likelihood

Likelihood of roughness parameters
tr

Trace of a matrix
toy

A toy dataset
corr

correlation function for calculating A
emulator-package

Emulation of computer code output
sample.n.fit

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

Simple model for concept checking
expert.estimates

Expert estimates for Goldstein input parameters
OO2002

Implementation of the ideas of Oakley and O'Hagan 2002
regressor.basis

Regressor basis function
optimal.scales

Use optimization techniques to find the optimal scales