Description Usage Arguments Details Value References Examples
A histogram for each numeric column in the design matrix
1 | hist_x(X)
|
X |
Data.Frame |
A histogram is a graphical representation of the frequency distribution of cardinally scaled characteristics. It requires the division of the data into classes (bins), which can have a constant or variable width. Directly adjacent rectangles of the width of the respective class are drawn, whose areas represent the (relative or absolute) class frequencies (Rönz 1994, S. 147; Wassermann 2005, S. 127; Arens et al. 2008, S. 1226). The height of each rectangle then represents the (relative or absolute) frequency density, i.e. the (relative or absolute) frequency divided by the width of the corresponding class (Freedman et al. 1998).
Further information about histograms can be found in the
documentation hist
qqplot-object
Bernd Rönz, Hans G. Strohe: Lexikon Statistik. Gabler Verlag, 1994, S. 157
Larry Wasserman: All of Nonparametric Statistics. Springer, 2005, S. 127
Arens et al.: Mathematik. Spektrum Akademischer Verlag, 2008, S. 1226
D. Freedman, R. Pisani, R. Purves: Statistics. Third edition. W.W.Norton, 1998.
1 2 3 4 5 6 | ## Not run:
set.seed(1678)
X <- data.frame(matrix(rnorm(1000), ncol = 9))
olsdiagnostic:::hist_x(X = X)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.