Function to calculate the empirical score residuals based on the beta regression.
score_residual_bet(
kap,
lam,
z,
x,
v,
nsim_score = 100,
link.mean,
link.precision
)
coefficients in kappa related to the mean parameter.
coefficients in lambda related to the precision parameter.
response vector with 0 < z_i < 1.
matrix containing the covariates for the mean submodel. Each column is a different covariate.
matrix containing the covariates for the precision submodel. Each column is a different covariate.
number synthetic data sets (default = 100) to be generated as a support to estime mean and s.d. of log(z)-log(1-z).
a string containing the link function for the mean. The possible link functions for the mean are "logit","probit", "cauchit", "cloglog".
a string containing the link function the precision parameter. The possible link functions for the precision parameter are "identity", "log", "sqrt", "inverse".
Vector containing the score residuals.