fit,margin-method | R Documentation |
Fit method for margin class
## S4 method for signature 'margin'
fit(x, y, tsoptions = list(), control = list())
x |
an object of class margin. |
y |
a vector or time series of data. |
tsoptions |
list of optional arguments: hessian is logical variable specifying whether Hessian matrix should be returned; start is vector od named starting values |
control |
list of control parameters to be passed to the
|
An object of class marginfit.
margmod <- margin("gauss", pars = c(mu = 0, sigma = 1))
data <- sim(margmod, n = 500)
fit(margmod, data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.