estimateLong | R Documentation |
A function that estimates parameters by
calling the "estimateLong_cpp()"
function.
estimateLong(
Y,
locs = NULL,
mixedEffect_list,
measurment_list,
processes_list,
operator_list,
step0 = 0.3,
alpha = 0.3,
learning_rate = 0,
nBurnin_learningrate = NULL,
nBurnin_base = 0,
pSubsample = 1,
polyak_rate = -1,
subsample.type = 1,
iter_start = 0,
nPar_burnin = 0,
pSubsample2 = 0.3,
nIter = 10,
nSim = 1,
nBurnin = 10,
silent = FALSE,
seed = NULL,
standardize.mixedEffects = FALSE,
estimate_fisher = FALSE
)
Y |
A numeric list that contains outcome values. |
locs |
A numeric list that contains the timings at which the outcomes are collected. |
mixedEffect_list |
A list of inputs for random effects.
|
measurment_list |
A list of inputs for measurement error.
|
processes_list |
A list of inputs for the process.
|
step0 |
A numeric value for stepsize for the optimizer; step0 / i^alpha. |
alpha |
A numeric value for stepsize for the optimizer; step0 / i^alpha. |
learning_rate |
A numeric value for the parameter of stochastic gradient. |
nBurnin_learningrate |
A numeric value until which the learning will not be started. |
nBurnin_base |
A numerical value for burn-in simulations that are performed for a subject that is sampled for the first time in the estimation method. |
pSubsample |
A numeric value for the portion of data to be used in each gradient iteration. |
polyak_rate |
A numeric value for moving average of parameters; -1: inactive, 0: pure mean. |
subsample.type |
A numeric value for the type of subsampling; 1: uniform sampling, 2: sample size weighted, 3: weighted sampling by gradient size, 4: grouped sub-sampler. |
nPar_burnin |
A numeric value; "M-step" updates will be used until this iteration. |
pSubsample2 |
A numeric value for the portion of the data to be used in each gradient subsampling weighted by gradient. |
nIter |
A numeric value for the number of iteration that will be used by the stochastic gradient. |
nSim |
A numeric value for the number of samples of the Gibbs sampler to estimate the gradient. |
silent |
A logical value for printing the details of the iterations;
|
seed |
A numerical value for starting the Gibbs samplers from fixed seed. |
standardize.mixedEffects |
A logical variable for standardising the covariates;
|
estimate_fisher |
A logical variable for whether Fisher-Information matrix
to be obtained; |
This function calls "estimateLong_cpp()"
internally.
It is wrapped by "ngme"
, and is not advised to
be used alone.
A list of output.
ngme
## Not run:
data(srft_data)
fit <- estimateLong(...)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.