# cdfplot: Plot distribution of CDF In OakleyJ/SHELF: Tools to Support the Sheffield Elicitation Framework

## Description

Plot the elicited pointwise median and credible interval for an uncertain population CDF

## Usage

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13``` ```cdfplot( medianfit, precisionfit, lower = NA, upper = NA, ql = 0.025, qu = 0.975, median.dist = "best", precision.dist = "gamma", n.rep = 10000, n.X = 100, fontsize = 18 ) ```

## Arguments

 `medianfit` The output of a `fitdist` command following elicitation of the expert's beliefs about the population median. `precisionfit` The output of a `fitdist` command following elicitation of the expert's beliefs about the population precision. `lower` lower limit on the x-axis for plotting. `upper` upper limit on the x-axis for plotting. `ql` lower quantile for the plotted pointwise credible interval. `qu` upper quantile for the plotted pointwise credible interval. `median.dist` The fitted distribution for the population median. Can be one of `"normal"`, `"lognormal"` or `"best"`, where `"best"` will select the best fitting out of normal and lognormal. `precision.dist` The fitted distribution for the population precision. Can either be `"gamma"` or `"lognormal"`. `n.rep` The number of randomly sampled CDFs used to estimated the median and credible interval. `n.X` The number of points on the x-axis at which the CDF is evaluated. `fontsize` Font size used in the plots.

## Examples

 ```1 2 3 4 5 6``` ```## Not run: prfit <- fitprecision(interval = c(60, 70), propvals = c(0.2, 0.4), trans = "log") medianfit <- fitdist(vals = c(50, 60, 70), probs = c(0.05, 0.5, 0.95), lower = 0) cdfplot(medianfit, prfit) ## End(Not run) ```

OakleyJ/SHELF documentation built on Feb. 14, 2020, 8:17 a.m.