MLhist function

Plot method for MLboot objects

Plot method for MLboot objects

Frequency Histogram displays that use both a specified "Middle Percentage" of a MLboot() distribution that contains outliers as well as a proposed total number of bins.

MLhist(x, comp="opt.beta", xvar=1, npct = 95, bins = 50 )

Arguments

  • x: An Output-list object of class "MLboot".
  • comp: One of five possible choices of MLboot() resampled estimates: "ols.beta", "ols.rmse", "opt.dmse", "opt.beta" or "opt.rmse".
  • xvar: Column number of estimates to be displayed: 1 <= xvar <= x$p.
  • npct: An integer percentage of the simulated scalar estimates to be displayed. This percentage should be at least 66 and at most 100.
  • bins: This proposed number of histogram "breaks" is only a suggestion; actual breakpoints will be set to "pretty" values.

Returns

An output list object of class MLhist: - x: Character string showing user choices for "comp" and "xvar" arguments.

  • form: The regression formula specifying the linear model in MLboot().

  • reps: Number of Bootstrap replications performed.

  • npct: An integer percentage of the simulated scalar estimates displayed.

  • rbins: Number of histogram Bins requested.

  • dbins: Number of histogram Bins actually displayed.

  • ntot: Total number of rows of scalar estimates.

  • p: Total number of columns of scalar estimates.

  • nlo: First (smallest) order statistic displayed in Histogram.

  • nup: Last (largest) order statistic displayed in Histogram.

  • noin: Total number of scalar estimates displayed in Histogram.

  • xmn: Observed Mean Estimate: location of vertical "blue" dashed line on Histogram.

Author(s)

Bob Obenchain wizbob@att.net

  • Maintainer: Bob Obenchain
  • License: GPL-2
  • Last published: 2023-08-07