betahat.app | R Documentation |
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.
betahat.app.H(H, V = NULL, Vinv = NULL, z)
betahat.app(D1, subsets, basis, hpa, z, use.Vinv=TRUE)
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 |
Robin K. S. Hankin
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
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.