Learn R Programming

QuantileNPCI

The goal of QuantileNPCI is to calculate non-parametric confidence intervals for quantiles using fractional order statistics.

Installation

You can install the released version of QuantileNPCI from CRAN with:

install.packages("QuantileNPCI")

Example

This is a basic example which shows you how to calculate non-parametric confidence intervals for median, for the flood discharge data in Feather River with data included in the package:

library(QuantileNPCI)
quantCI(flood[flood$loc=="Feather", "discharge"], quant=0.5, alpha=0.05, method = "exact")

Copy Link

Version

Install

install.packages('QuantileNPCI')

Monthly Downloads

177

Version

0.9.0

License

GPL-3

Maintainer

Li Yan

Last Published

September 5th, 2019

Functions in QuantileNPCI (0.9.0)

quantCI

quantCI
flood

The flood rate of Feature River and Blackstone River.
exactBeta

Calculate lower and upper CI of a given quantile using exact method, based on beta distribution