Fitted Against Data Plot
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
num Drawn
how many observations to draw from the fit; the real sample size by default
stream Num
the stream to draw with, so the figure is reproducible
stream Provider
the stream provider
bin Width
the dot bin width, defaulting to a hundredth of the range
variable Name
what the observations measure, for the axis label