Description Usage Arguments Details Value Examples
Estimate parameters of a linear model by matching the moments of kernel density estimators.
1 |
formula |
An LHS ~ RHS formula, specifying the linear model to be estimated. |
data |
A data.frame which contains the variables in |
xin |
Numeric vector of length equal to the number of independent variables, of initial values, for the parameters to be estimated. |
type |
An integer specifying the bandwidth selection method used, see |
... |
Arguments to be passed on to the control argument of the |
A shortened version of mmKDE
.
mmKDEshort: A list with the following components:
coefficients: A vector of estimated coefficients.
error: The value of the objective function.
1 2 3 4 | x <- 1:10
y <- x+rnorm(10)
XIn <- lm(y~x)
mmKDEshort(y~x, xin=coef(XIn), type=-1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.