| control_density | R Documentation |
All settings are passed to the density fitting
algorithm. All unspecified settings are set to the default value.
Setting model = "KD2" sets all settings to the default
value irrespective of any other setting and fits z-curve as
describe in \insertCitezcurve2;textualzcurve. In order to fit the
z-curve 1.0 density algorithm, set model = "KD1" and go to
control_density_v1
Supply these settings as a named list to the control argument of
zcurve().
Which version of z-curve should be fitted. Defaults to
2 = z-curve 2.0. Set to 1 in order to fit the original
version of z-curve. For its settings page go to control_density_v1.
A type of model to be fitted, defaults to "KD2"
(another possibility is "KD1" for the original z-curve 1.0, see
control_density_v1 for its settings)
An alpha level of the test statistics, defaults to
.05
A beginning of fitting interval, defaults to
qnorm(sig_level/2,lower.tail = F)
An end of fitting interval, defaults to 6
Means of the components, defaults to seq(0,6,1)
A standard deviation of the components, "Don't touch this"
\- Ulrich Schimmack, defaults to 1
Lower limits for weights, defaults to
rep(0,length(mu))
Upper limits for weights, defaults to
rep(1,length(mu))
A maximum number of iterations for the nlminb
optimization for fitting mixture model, defaults to 150
A maximum number of evaluation for the nlminb
optimization for fitting mixture model, defaults to 1000
A criterion to terminate nlminb optimization,
defaults to 1e-03
A bandwidth of the kernel density estimation, defaults to .10
Augment truncated kernel density, defaults to TRUE
A bandwidth of the augmentation, defaults to .20
A resolution of density function, defaults to 512
Use Gaussian kernel density estimation with reflection at
the lower fitting boundary,
defaults to FALSE, in which case density is used
Whether to compute FDR, leads to noticeable increase in
computation, defaults to FALSE
A criterion for estimating the maximum FDR, defaults
to .02
A criterion for estimating the maximum FDR using
reflection at the lower fitting boundary, defaults to .01
A maximum FDR precision, defaults to .05
zcurve(), control_density_v1, control_EM
# to decrease the criterion and increase the number of iterations
ctrl <- list(
max_iter = 300,
criterion = 1e-4
)
## Not run: zcurve(OSC.z, method = "density", control = ctrl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.