Description Usage Arguments Value
Function to calculate envelopes based on residuals for the bessel regression.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | envelope_bes(
residual,
kap,
lam,
x,
v,
nsim_env,
prob,
n,
link.mean,
link.precision,
em_controls,
optim_method,
optim_controls
)
|
residual |
character indicating the type of residual ("pearson", "score" or "quantile"). |
kap |
coefficients in kappa related to the mean parameter. |
lam |
coefficients in lambda related to the precision parameter. |
x |
matrix containing the covariates for the mean submodel. Each column is a different covariate. |
v |
matrix containing the covariates for the precision submodel. Each column is a different covariate. |
nsim_env |
number of synthetic data sets to be generated. |
prob |
confidence level of the envelope (number between 0 and 1). |
n |
sample size. |
link.mean |
a string containing the link function for the mean. The possible link functions for the mean are "logit","probit", "cauchit", "cloglog". |
link.precision |
a string containing the link function the precision parameter. The possible link functions for the precision parameter are "identity", "log", "sqrt". |
em_controls |
a list containing two elements: |
optim_method |
main optimization algorithm to be used. The available methods are the same as those of |
optim_controls |
a list of control arguments to be passed to the |
Matrix with dimension 2 x n (1st row = upper bound, second row = lower bound).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.