likelihood.plot {SSM} | R Documentation |
Plot the concentrated likelihood of an SSM.
Description
Plot the concentrated likelihood used to estimate the parameters of the metamodel error estimating Gaussian process.
Usage
likelihood.plot(ssm, xrange = c(0, 1000), grid = 200)
Arguments
ssm |
An SSM object. |
xrange |
(optional) The range of the x axis. Set to |
grid |
(optional) A number. The number of points used to plot the curve. |
Details
As a diagnostic it can be helpful to look at the concentrated likelihood
function of the correlation function used to estimate the metamodel error.
Flat likelihood functions make it difficult to pick a suitable r
length parameter. Note that r
and sigma
can be set manually.
Examples
data(attitude)
X <- transform11(attitude[ 2:7])
Y <- attitude[ , 1]
s <- fit.ssm(X, Y, GP = TRUE)
likelihood.plot(s)
likelihood.plot(s, xrange = c(0, 20))
[Package SSM version 1.0.1 Index]