Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

qtable

Interpolate tabularized distribution


Description

This function calculates critical values or p-values which cannot be obtained numerically, and only tabularized version is available.

Usage

qtable(p, probs, quants)

Arguments

p

vector of probabilities.

probs

vector of given probabilities.

quants

vector of given corresponding quantiles.

Details

This function is internal routine used to obtain Grubbs and Dixon critical values. It fits linear or cubical regression to closests values of its argument, then uses obtained function to obtain quantile by interpolation.

Value

A vector of interpolated values

Note

You can simply do "reverse" interpolation (p-value calculating) by reversing probabilities and quantiles (2 and 3 argument).

Author(s)

Lukasz Komsta


outliers

Tests for outliers

v0.14
GPL (>= 2)
Authors
Lukasz Komsta <lukasz.komsta@umlub.pl>
Initial release
2011-01-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.