permu {glmpermu}R Documentation

Permutation Function

Description

In practical applications, the assumptions underlying generalized linear models frequently face violations, including incorrect specifications of the outcome variable's distribution or omitted predictors. These deviations can render the results of standard generalized linear models unreliable. As the sample size increases, what might initially appear as minor issues can escalate to critical concerns. To address these challenges, we adopt a permutation-based inference method tailored for generalized linear models. This approach offers robust estimations that effectively counteract the mentioned problems, and its effectiveness remains consistent regardless of the sample size.

Usage

permu(variables, family, npermu = 1000, CI.percent = 0.95)

Arguments

variables

a data frame of all the variables.

family

a description of the error distribution and link function to be used in the model.

npermu

the number of permutation times. The default value is 1000.

CI.percent

the confidence level. The default value is 0.95.

Value

a vector.


[Package glmpermu version 0.0.1 Index]