estimate.gaussmodel {dsdp} | R Documentation |
Estimate Gaussian-based model gaussmodel
Description
Estimates Gaussian-based model gaussmodel
among
parameter vectors, deglist
, mulist
, sdlist
.
Then it sorts the results by AIC.
Usage
## S3 method for class 'gaussmodel'
estimate(
model,
deglist = deglist,
mulist = mulist,
sdlist = sdlist,
scaling = FALSE,
recompute = FALSE,
stepsize = NULL,
verbose = FALSE,
...
)
Arguments
model |
An object of a |
deglist |
A vector of degrees of polynomials. The element should be positive even numbers. |
mulist |
A vector of means for Gaussian-based models. |
sdlist |
A vector of standard deviations for Gaussian-based models. The element should be larger than 0. |
scaling |
A logical scalar, which indicates whether or not it scales
means and standard deviations in |
recompute |
If |
stepsize |
A vector in descending order whose values are between 0 and 1. If a small step size is supplied, it can attain successful estimates, but it might take more iterations. |
verbose |
If |
... |
Arguments to be passed to or from other methods. |
Value
A gaussmodel
object including the estimates.
Those estimates are stored in model$result
with
data.frame
format and model$coeffs
in list
format.
See Also
gaussmodel()
summary.gaussmodel()
plot.gaussmodel()
Examples
## Create an `gaussmodel` object
gmodel <- gaussmodel(mix2gauss$n200)
## Estimate a model with parameters
gmodel <- estimate(gmodel, deglist=c(2, 4), mulist=c(0.0, 0.2),
sdlist=c(0.75, 1.0))