FittedAgainstDataPlot

constructor(data: DoubleArray, fitted: ContinuousDistributionIfc, numDrawn: Int = data.size, streamNum: Int = 1, streamProvider: RNStreamProviderIfc = ksl.utilities.random.rvariable.KSLRandom.DefaultRNStreamProvider, binWidth: Double = defaultDotBinWidth(data), variableName: String = "observed value")(source)

Parameters

data

the real observations

fitted

the fitted density

numDrawn

how many observations to draw from the fit; the real sample size by default

streamNum

the stream to draw with, so the figure is reproducible

streamProvider

the stream provider

binWidth

the dot bin width, defaulting to a hundredth of the range

variableName

what the observations measure, for the axis label