Profile.covariance | R Documentation |
Newey-West estimate of covariance of parameter estimates from profiling.
Profile.covariance(pars,active=NULL,times,data,coefs,lik,proc,
in.meth='nlminb',control.in=NULL,eps=1e-6,GN=FALSE)
pars |
Initial values of parameters to be estimated processes. |
active |
Incides indicating which parameters of |
times |
Vector observation times for the data. |
data |
Matrix of observed data values. |
coefs |
Vector giving the current estimate of the coefficients in the spline. |
lik |
|
proc |
|
in.meth |
Inner optimization function currently one of 'nlminb', 'MaxNR', 'optim' or 'house'. The last calls |
control.in |
Control object for inner optimization functions. |
eps |
Step-size for finite difference estimate of second derivatives. |
GN |
Indicator of whether a Gauss-Newton approximation for the Hessian should be employed. Only valid for least-squares methods. |
Currently assumes a lag-5 auto-correlation among observation vectors.
Returns a Newey-West estimate of the covariance matrix of the parameter estimates.
ProfileErr
, ProfileSSE
, Profile.LS
, Profile.multinorm
# See example in Profile.LS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.