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

prr.test.llR Documentation

New Permutation of Regression Residuals (PRR) test

Description

This is part of the new implementation.

Usage

prr.test.ll(
  formula,
  data,
  family = Poisson,
  subset,
  weights,
  na.action,
  offset,
  test.var = NULL,
  test = "both",
  n.rep = 100,
  control = fitdist.control(...),
  xyz = F,
  ...
)

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

test.var

variable in the formula to permute

test

specify whether to test "both"/"count"/"zero"

n.rep

number of permutation repetitions

control

fitdist.control object to adjust the optimization

xyz

return implicit model matrices T/F

Value

list of likelihood and permutation based p-values


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