# eff: Effectiveness Distributions In julian-urbano/simIReff: Stochastic Simulation for Information Retrieval Evaluation: Effectiveness Scores

## Description

Density, distribution function, quantile function and random generation for an effectiveness distribution.

## Usage

 ```1 2 3 4 5 6 7``` ```deff(x, .eff) peff(q, .eff) qeff(p, .eff) reff(n, .eff) ```

## Arguments

 `x, q` vector of quantiles. `.eff` the `eff` object representing the effectiveness distribution. `p` vector of probabilities. `n` number of observations.

## Value

`deff` gives the density, `peff` gives the distribution function, `qeff` gives the quantile function, and `reff` generates random variates.

`effCont` for continuous distributions, and `effDisc` for discrete distributions.
 ```1 2 3 4 5 6 7 8``` ```# sample distribution from AP scores e <- effCont_beta(web2010ap[,1]) # pdf integrates to 1 integrate(deff, lower = 0, upper = 1, .eff = e) # qeff (quantile) is the inverse of peff (cumulative) qeff(peff(.2, e), e) # random generation of 100 scores r <- reff(100, e) ```