calculateParameters | R Documentation |
Computes the parameters (alpha, beta, gamma, delta, lambda) for each observation based on design matrices and regression coefficients, applying a positive link function as specified by link types and scale factors.
calculateParameters(
X1,
X2,
X3,
X4,
X5,
beta1,
beta2,
beta3,
beta4,
beta5,
link_types,
scale_factors,
family = "gkw"
)
X1 |
NumericMatrix design matrix for alpha. |
X2 |
NumericMatrix design matrix for beta. |
X3 |
NumericMatrix design matrix for gamma. |
X4 |
NumericMatrix design matrix for delta. |
X5 |
NumericMatrix design matrix for lambda. |
beta1 |
NumericVector regression coefficients for X1. |
beta2 |
NumericVector regression coefficients for X2. |
beta3 |
NumericVector regression coefficients for X3. |
beta4 |
NumericVector regression coefficients for X4. |
beta5 |
NumericVector regression coefficients for X5. |
link_types |
IntegerVector containing the link function type for each parameter. |
scale_factors |
NumericVector with scale factors for each parameter. |
family |
String specifying the distribution family (default: "gkw"). |
NumericMatrix with n rows and 5 columns corresponding to the calculated parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.