betahat.app {approximator} | R Documentation |
Estimate for beta
Description
Returns the estimator for beta; equation 5. Function
betahat.app()
returns the estimate in terms of fundamental
variables; betahat.app.H()
requires the H
matrix.
Usage
betahat.app.H(H, V = NULL, Vinv = NULL, z)
betahat.app(D1, subsets, basis, hpa, z, use.Vinv=TRUE)
Arguments
H |
In |
V |
Variance matrix |
Vinv |
Inverse of variance matrix. If not supplied, it is calculated |
use.Vinv |
In function |
z |
vector of observations |
D1 |
Design matrix for level 1 code |
subsets |
Subsets object |
basis |
Basis function |
hpa |
Hyperparameter object |
Author(s)
Robin K. S. Hankin
References
M. C. Kennedy and A. O'Hagan 2000. “Predicting the output from a complex computer code when fast approximations are available” Biometrika, 87(1): pp1-13
Examples
data(toyapps)
betahat.app(D1=D1.toy, subsets=subsets.toy, basis=basis.toy, hpa=hpa.toy, z=z.toy, use.Vinv=TRUE)
H <- H.fun.app(D1=D1.toy, subsets=subsets.toy, basis=basis.toy,hpa=hpa.toy)
V <- V.fun.app(D1=D1.toy, subsets=subsets.toy, hpa=hpa.toy)
betahat.app.H(H=H,V=V,z=z.toy)