Description Usage Arguments Value
Fits a smoothing spline to local expert predictions, creating a CDF-like distribution. The CDF is differentiated, and moments of the PDF are calculated.
1 | FitInstance(LE.preds, y.values, granularity = 1000, df = 10, plot = FALSE)
|
LE.preds |
Vector of LE predictions |
y.values |
Y-values from BinCols function |
granularity |
Number of interpolation points in fitting; defaults to 100 |
df |
Degrees of freedom in smoothing spline; defaults to 10 |
plot |
Plot output; defaults to FALSE |
Returns a list containing the empirical PDF, empirical CDF, the sample points associated with the distribution shapes, and the moments of the smoothed distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.