prr.test.glm: New Permutation of Regression Residuals (PRR) test

prr.test.glmR Documentation

New Permutation of Regression Residuals (PRR) test

Description

This is part of the new implementation.

Usage

prr.test.glm(
  formula,
  data,
  family = gaussian,
  subset,
  weights,
  na.action,
  start = NULL,
  etastart = NULL,
  mustart = NULL,
  control = glm.control(...),
  offset,
  contrasts = NULL,
  test.var = NULL,
  n.rep = 100,
  seed = 12345,
  model = TRUE,
  method = "glm.fit",
  x = FALSE,
  y = TRUE,
  ...
)

Arguments

formula

Formula that specifies the model

data

Data frame with the data

family

Specify the distribution to fit

subset

Take a given subset of the observations

weights

Weights to use for the observations

na.action

what to do with NA values

offset

offset to use for each observation

contrasts

contrasts to use for the model matrix

test.var

variable in the formula to permute

n.rep

number of permutation repetitions

method

function that fits the model

Value

list of likelihood and permutation based p-values


majuvi/llperm documentation built on May 2, 2022, 5:20 p.m.