pq {cdfquantreg} R Documentation

## The Famility of Distributions

### Description

Density function, distribution function, quantile function, and random generation of variates for a specified cdf-quantile distribution with `mean` equal to mean and standard deviation equal to `sd`.

### Usage

```pq(q, mu, sigma, fd, sd)

dq(x, mu, sigma, fd, sd)

rq(n, mu, sigma, fd, sd)

qq(p, mu, sigma, fd, sd)
```

### Arguments

 `q` vector of quantiles. `mu` vector of means. `sigma` vector of standard deviations. `fd` A string that specifies the parent distribution. `sd` A string that specifies the sub-family distribution. `x` vector of quantiles. `n` Number of random samples. `p` vector of probabilities.

### Value

`dq` gives the density, `rq` generates random variates, `qq` gives the quantile function, and `pq` gives the cumulative densitity of specified distribution.

### Examples

```x <- rq(5, mu = 0.5, sigma = 1, 't2','t2'); x

dq(x, mu = 0.5, sigma = 1, 't2','t2')

qtil <- pq(x, mu = 0.5, sigma = 1, 't2','t2');qtil

qq(qtil , mu = 0.5, sigma = 1, 't2','t2')

```

[Package cdfquantreg version 1.2.5 Index]