Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationFri, 21 Dec 2012 14:44:59 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/21/t13561191191fnf0355vniue2l.htm/, Retrieved Fri, 19 Apr 2024 23:56:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=204165, Retrieved Fri, 19 Apr 2024 23:56:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact66
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Boxplot and Trimmed Means] [Reddy Moores Boxp...] [2010-10-12 16:37:57] [98fd0e87c3eb04e0cc2efde01dbafab6]
- R P   [Boxplot and Trimmed Means] [Reddy-Moores Plac...] [2010-10-13 09:46:26] [98fd0e87c3eb04e0cc2efde01dbafab6]
- RMPD    [Notched Boxplots] [] [2010-10-15 11:13:23] [b98453cac15ba1066b407e146608df68]
- R  D      [Notched Boxplots] [Notched Boxplots ] [2012-12-11 13:08:43] [46762b18b00d15214a19b2ee3ead9dc9]
- RMPD        [Histogram] [histogram] [2012-12-21 19:28:34] [46762b18b00d15214a19b2ee3ead9dc9]
- R               [Histogram] [his] [2012-12-21 19:44:59] [9f1ef512d1eac2da3e1af89c6a547aff] [Current]
-                   [Histogram] [histogram] [2012-12-21 19:55:34] [46762b18b00d15214a19b2ee3ead9dc9]
- RM D              [Stem-and-leaf Plot] [s a l] [2012-12-21 20:17:36] [46762b18b00d15214a19b2ee3ead9dc9]
- RM D              [Two-Way ANOVA] [anova 2 way] [2012-12-21 22:40:07] [46762b18b00d15214a19b2ee3ead9dc9]
- RM D              [Multiple Regression] [multiple] [2012-12-21 22:50:54] [46762b18b00d15214a19b2ee3ead9dc9]
Feedback Forum

Post a new message
Dataseries X:
26
20
19
19
20
25
25
22
26
22
17
22
19
24
26
21
13
26
20
22
14
21
7
23
17
25
25
19
20
23
22
22
21
15
20
22
18
20
28
22
18
23
20
25
26
15
17
23
21
13
18
19
22
16
24
18
20
24
14
22
24
18
21
23
17
22
24
21
22
16
21
23
22
24
24
16
16
21
26
15
25
18
23
20
17
25
24
17
19
20
15
27
22
23
16
19
25
19
19
26
21
20
24
22
20
18
18
24
24
22
23
22
20
18
25
18
16
20
19
15
19
19
16
17
28
23
25
20
17
23
16
23
11
18
24
23
21
16
24
23
18
20
9
24
25
20
21
25
22
21
21
22
27
24
24
21
18
16
22
20
18
20
21
16
19
18
16
23
17
12
19
16
19
20
13
20
27
17
8
25
26
13
19
15
5
16
14
24
24
9
19
19
25
19
18
15
12
21
12
15
28
25
19
20
24
26
25
12
12
15
17
14
16
11
20
11
22
20
19
17
21
23
18
17
27
25
19
22
24
20
19
11
22
22
16
20
24
16
16
22
24
16
27
11
21
20
20
27
20
12
8
21
18
24
16
18
20
20
19
17
16
26
15
22
17
23
21
19
14
17
12
24
18
20
16
20
22
12
16
17
22
12
14
23
15
17
28
20
23
13
18
23
19
23
12
16
23
13
22
18
23
20
10
17
18
15
23
17
17
22
20
20
19
18
22
20
22
18
16
16
16
16
17
18
21
15
18
11
8
19
4
20
16
14
10
13
14
8
23
11
9
24
5
15
5
19
6
13
11
17
17
5
9
15
17
17
20
12
7
16
7
14
24
15
15
10
14
18
12
9
9
8
18
10
17
14
16
10
19
10
14
10
4
19
9
12
16
11
18
11
24
17
18
9
19
18
12
23
22
14
14
16
23
7
10
12
12
12
17
21
16
11
14
13
9
19
13
19
13
13
13
14
12
22
11
5
18
19
14
15
12
19
15
17
8
10
12
12
20
12
12
14
6
10
18
18
7
18
9
17
22
11
15
17
15
22
9
13
20
14
14
12
20
20
8
17
9
18
22
10
13
15
18
18
12
12
20
12
16
16
18
16
13
17
13
17
23
24
22
20
24
27
28
27
24
23
24
27
27
28
27
23
24
28
27
25
19
24
20
28
26
23
23
20
11
24
25
23
18
20
20
24
23
25
28
26
26
23
22
24
21
20
22
20
25
20
22
23
25
23
23
22
24
25
21
12
17
20
23
23
20
28
24
24
24
24
28
25
21
25
25
18
17
26
28
21
27
22
21
25
22
23
26
19
25
21
13
24
25
26
25
25
22
21
23
25
24
21
21
25
22
20
20
23
28
23
28
24
18
20
28
21
21
25
19
18
21
22
24
15
28
26
23
26
20
22
20
23
22
24
23
22
26
23
27
23
21
26
23
21
27
19
23
25
23
22
22
25
25
28
28
20
25
19
25
22
18
20
17
17
18
21
20
28
19
22
16
18
25
17
14
11
27
20
22
22
21
23
17
24
14
17
23
24
24
8
22
23
25
21
24
15
22
21
25
16
28
23
21
21
26
22
21
18
12
25
17
24
15
13
26
16
24
21
20
14
25
25
20
22
20
26
18
22
24
17
24
20
19
20
15
23
26
22
20
24
26
21
25
13
20
22
23
28
22
20
6
21
20
18
23
20
24
22
21
18
21
23
23
15
21
24
23
21
21
20
11
22
27
25
18
20
24
10
27
21
21
18
15
24
22
14
28
18
26
17
19
22
18
24
15
18
26
11
26
21
23
23
15
22
26
16
20
18
22
16
19
20
19
23
24
25
21
21
23
27
23
18
16
16
23
20
20
21
24
22
23
20
25
23
27
27
22
24
25
22
28
28
27
25
16
28
21
24
27
14
14
27
20
21
22
21
12
20
24
19
28
23
27
22
27
26
22
21
19
24
19
26
22
28
21
23
28
10
24
21
21
24
24
25
25
23
21
16
17
25
24
23
25
23
28
26
22
19
26
18
18
25
27
12
15
21
23
22
21
24
27
22
28
26
10
19
22
21
24
25
21
20
21
24
23
18
24
24
19
20
18
20
27
23
26
23
17
21
25
23
27
24
20
27
21
24
21
15
25
25
22
24
21
22
23
22
20
23
25
23
22
25
26
22
24
24
25
20
26
21
26
21
22
16
26
28
18
25
23
21
20
25
22
21
16
18
4
4
6
8
8
4
4
8
5
4
4
4
4
4
4
8
4
4
4
8
4
7
4
4
5
4
4
4
4
4
4
4
15
10
4
8
4
4
4
4
7
4
6
5
4
16
5
12
6
9
9
4
5
4
4
5
4
4
4
5
4
6
4
4
18
4
6
4
4
5
4
4
5
10
5
8
8
5
4
4
4
5
4
4
8
4
5
14
8
8
4
4
6
4
7
7
4
6
4
7
4
4
8
4
4
10
8
6
4
4
4
5
4
6
4
5
7
8
5
8
10
8
5
12
4
5
4
6
4
4
7
7
10
4
5
8
11
7
4
8
6
7
5
4
8
4
8
6
4
9
5
6
4
4
4
5
6
16
6
6
4
4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=204165&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=204165&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=204165&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[4,5[4.5800.0705470.0705470.070547
[5,6[5.5270.023810.0943560.02381
[6,7[6.5190.0167550.1111110.016755
[7,8[7.5150.0132280.1243390.013228
[8,9[8.5280.0246910.149030.024691
[9,10[9.5150.0132280.1622570.013228
[10,11[10.5190.0167550.1790120.016755
[11,12[11.5180.0158730.1948850.015873
[12,13[12.5330.0291010.2239860.029101
[13,14[13.5200.0176370.2416230.017637
[14,15[14.5270.023810.2654320.02381
[15,16[15.5330.0291010.2945330.029101
[16,17[16.5500.0440920.3386240.044092
[17,18[17.5470.0414460.3800710.041446
[18,19[18.5650.0573190.437390.057319
[19,20[19.5520.0458550.4832450.045855
[20,21[20.5900.0793650.562610.079365
[21,22[21.5780.0687830.6313930.068783
[22,23[22.5880.0776010.7089950.077601
[23,24[23.5840.0740740.7830690.074074
[24,25[24.5800.0705470.8536160.070547
[25,26[25.5650.0573190.9109350.057319
[26,27[26.5390.0343920.9453260.034392
[27,28]27.5620.05467410.054674

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[4,5[ & 4.5 & 80 & 0.070547 & 0.070547 & 0.070547 \tabularnewline
[5,6[ & 5.5 & 27 & 0.02381 & 0.094356 & 0.02381 \tabularnewline
[6,7[ & 6.5 & 19 & 0.016755 & 0.111111 & 0.016755 \tabularnewline
[7,8[ & 7.5 & 15 & 0.013228 & 0.124339 & 0.013228 \tabularnewline
[8,9[ & 8.5 & 28 & 0.024691 & 0.14903 & 0.024691 \tabularnewline
[9,10[ & 9.5 & 15 & 0.013228 & 0.162257 & 0.013228 \tabularnewline
[10,11[ & 10.5 & 19 & 0.016755 & 0.179012 & 0.016755 \tabularnewline
[11,12[ & 11.5 & 18 & 0.015873 & 0.194885 & 0.015873 \tabularnewline
[12,13[ & 12.5 & 33 & 0.029101 & 0.223986 & 0.029101 \tabularnewline
[13,14[ & 13.5 & 20 & 0.017637 & 0.241623 & 0.017637 \tabularnewline
[14,15[ & 14.5 & 27 & 0.02381 & 0.265432 & 0.02381 \tabularnewline
[15,16[ & 15.5 & 33 & 0.029101 & 0.294533 & 0.029101 \tabularnewline
[16,17[ & 16.5 & 50 & 0.044092 & 0.338624 & 0.044092 \tabularnewline
[17,18[ & 17.5 & 47 & 0.041446 & 0.380071 & 0.041446 \tabularnewline
[18,19[ & 18.5 & 65 & 0.057319 & 0.43739 & 0.057319 \tabularnewline
[19,20[ & 19.5 & 52 & 0.045855 & 0.483245 & 0.045855 \tabularnewline
[20,21[ & 20.5 & 90 & 0.079365 & 0.56261 & 0.079365 \tabularnewline
[21,22[ & 21.5 & 78 & 0.068783 & 0.631393 & 0.068783 \tabularnewline
[22,23[ & 22.5 & 88 & 0.077601 & 0.708995 & 0.077601 \tabularnewline
[23,24[ & 23.5 & 84 & 0.074074 & 0.783069 & 0.074074 \tabularnewline
[24,25[ & 24.5 & 80 & 0.070547 & 0.853616 & 0.070547 \tabularnewline
[25,26[ & 25.5 & 65 & 0.057319 & 0.910935 & 0.057319 \tabularnewline
[26,27[ & 26.5 & 39 & 0.034392 & 0.945326 & 0.034392 \tabularnewline
[27,28] & 27.5 & 62 & 0.054674 & 1 & 0.054674 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=204165&T=1

[TABLE]
[ROW][C]Frequency Table (Histogram)[/C][/ROW]
[ROW][C]Bins[/C][C]Midpoint[/C][C]Abs. Frequency[/C][C]Rel. Frequency[/C][C]Cumul. Rel. Freq.[/C][C]Density[/C][/ROW]
[ROW][C][4,5[[/C][C]4.5[/C][C]80[/C][C]0.070547[/C][C]0.070547[/C][C]0.070547[/C][/ROW]
[ROW][C][5,6[[/C][C]5.5[/C][C]27[/C][C]0.02381[/C][C]0.094356[/C][C]0.02381[/C][/ROW]
[ROW][C][6,7[[/C][C]6.5[/C][C]19[/C][C]0.016755[/C][C]0.111111[/C][C]0.016755[/C][/ROW]
[ROW][C][7,8[[/C][C]7.5[/C][C]15[/C][C]0.013228[/C][C]0.124339[/C][C]0.013228[/C][/ROW]
[ROW][C][8,9[[/C][C]8.5[/C][C]28[/C][C]0.024691[/C][C]0.14903[/C][C]0.024691[/C][/ROW]
[ROW][C][9,10[[/C][C]9.5[/C][C]15[/C][C]0.013228[/C][C]0.162257[/C][C]0.013228[/C][/ROW]
[ROW][C][10,11[[/C][C]10.5[/C][C]19[/C][C]0.016755[/C][C]0.179012[/C][C]0.016755[/C][/ROW]
[ROW][C][11,12[[/C][C]11.5[/C][C]18[/C][C]0.015873[/C][C]0.194885[/C][C]0.015873[/C][/ROW]
[ROW][C][12,13[[/C][C]12.5[/C][C]33[/C][C]0.029101[/C][C]0.223986[/C][C]0.029101[/C][/ROW]
[ROW][C][13,14[[/C][C]13.5[/C][C]20[/C][C]0.017637[/C][C]0.241623[/C][C]0.017637[/C][/ROW]
[ROW][C][14,15[[/C][C]14.5[/C][C]27[/C][C]0.02381[/C][C]0.265432[/C][C]0.02381[/C][/ROW]
[ROW][C][15,16[[/C][C]15.5[/C][C]33[/C][C]0.029101[/C][C]0.294533[/C][C]0.029101[/C][/ROW]
[ROW][C][16,17[[/C][C]16.5[/C][C]50[/C][C]0.044092[/C][C]0.338624[/C][C]0.044092[/C][/ROW]
[ROW][C][17,18[[/C][C]17.5[/C][C]47[/C][C]0.041446[/C][C]0.380071[/C][C]0.041446[/C][/ROW]
[ROW][C][18,19[[/C][C]18.5[/C][C]65[/C][C]0.057319[/C][C]0.43739[/C][C]0.057319[/C][/ROW]
[ROW][C][19,20[[/C][C]19.5[/C][C]52[/C][C]0.045855[/C][C]0.483245[/C][C]0.045855[/C][/ROW]
[ROW][C][20,21[[/C][C]20.5[/C][C]90[/C][C]0.079365[/C][C]0.56261[/C][C]0.079365[/C][/ROW]
[ROW][C][21,22[[/C][C]21.5[/C][C]78[/C][C]0.068783[/C][C]0.631393[/C][C]0.068783[/C][/ROW]
[ROW][C][22,23[[/C][C]22.5[/C][C]88[/C][C]0.077601[/C][C]0.708995[/C][C]0.077601[/C][/ROW]
[ROW][C][23,24[[/C][C]23.5[/C][C]84[/C][C]0.074074[/C][C]0.783069[/C][C]0.074074[/C][/ROW]
[ROW][C][24,25[[/C][C]24.5[/C][C]80[/C][C]0.070547[/C][C]0.853616[/C][C]0.070547[/C][/ROW]
[ROW][C][25,26[[/C][C]25.5[/C][C]65[/C][C]0.057319[/C][C]0.910935[/C][C]0.057319[/C][/ROW]
[ROW][C][26,27[[/C][C]26.5[/C][C]39[/C][C]0.034392[/C][C]0.945326[/C][C]0.034392[/C][/ROW]
[ROW][C][27,28][/C][C]27.5[/C][C]62[/C][C]0.054674[/C][C]1[/C][C]0.054674[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=204165&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=204165&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[4,5[4.5800.0705470.0705470.070547
[5,6[5.5270.023810.0943560.02381
[6,7[6.5190.0167550.1111110.016755
[7,8[7.5150.0132280.1243390.013228
[8,9[8.5280.0246910.149030.024691
[9,10[9.5150.0132280.1622570.013228
[10,11[10.5190.0167550.1790120.016755
[11,12[11.5180.0158730.1948850.015873
[12,13[12.5330.0291010.2239860.029101
[13,14[13.5200.0176370.2416230.017637
[14,15[14.5270.023810.2654320.02381
[15,16[15.5330.0291010.2945330.029101
[16,17[16.5500.0440920.3386240.044092
[17,18[17.5470.0414460.3800710.041446
[18,19[18.5650.0573190.437390.057319
[19,20[19.5520.0458550.4832450.045855
[20,21[20.5900.0793650.562610.079365
[21,22[21.5780.0687830.6313930.068783
[22,23[22.5880.0776010.7089950.077601
[23,24[23.5840.0740740.7830690.074074
[24,25[24.5800.0705470.8536160.070547
[25,26[25.5650.0573190.9109350.057319
[26,27[26.5390.0343920.9453260.034392
[27,28]27.5620.05467410.054674



Parameters (Session):
par1 = 162 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 28 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
if (par3 == 'TRUE') par3 <- TRUE
if (par3 == 'FALSE') par3 <- FALSE
if (par4 == 'Unknown') par1 <- as.numeric(par1)
if (par4 == 'Interval/Ratio') par1 <- as.numeric(par1)
if (par4 == '3-point Likert') par1 <- c(1:3 - 0.5, 3.5)
if (par4 == '4-point Likert') par1 <- c(1:4 - 0.5, 4.5)
if (par4 == '5-point Likert') par1 <- c(1:5 - 0.5, 5.5)
if (par4 == '6-point Likert') par1 <- c(1:6 - 0.5, 6.5)
if (par4 == '7-point Likert') par1 <- c(1:7 - 0.5, 7.5)
if (par4 == '8-point Likert') par1 <- c(1:8 - 0.5, 8.5)
if (par4 == '9-point Likert') par1 <- c(1:9 - 0.5, 9.5)
if (par4 == '10-point Likert') par1 <- c(1:10 - 0.5, 10.5)
bitmap(file='test1.png')
if(is.numeric(x[1])) {
if (is.na(par1)) {
myhist<-hist(x,col=par2,main=main,xlab=xlab,right=par3)
} else {
if (par1 < 0) par1 <- 3
if (par1 > 50) par1 <- 50
myhist<-hist(x,breaks=par1,col=par2,main=main,xlab=xlab,right=par3)
}
} else {
plot(mytab <- table(x),col=par2,main='Frequency Plot',xlab=xlab,ylab='Absolute Frequency')
}
dev.off()
if(is.numeric(x[1])) {
myhist
n <- length(x)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('histogram.htm','Frequency Table (Histogram)',''),6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Bins',header=TRUE)
a<-table.element(a,'Midpoint',header=TRUE)
a<-table.element(a,'Abs. Frequency',header=TRUE)
a<-table.element(a,'Rel. Frequency',header=TRUE)
a<-table.element(a,'Cumul. Rel. Freq.',header=TRUE)
a<-table.element(a,'Density',header=TRUE)
a<-table.row.end(a)
crf <- 0
if (par3 == FALSE) mybracket <- '[' else mybracket <- ']'
mynumrows <- (length(myhist$breaks)-1)
for (i in 1:mynumrows) {
a<-table.row.start(a)
if (i == 1)
dum <- paste('[',myhist$breaks[i],sep='')
else
dum <- paste(mybracket,myhist$breaks[i],sep='')
dum <- paste(dum,myhist$breaks[i+1],sep=',')
if (i==mynumrows)
dum <- paste(dum,']',sep='')
else
dum <- paste(dum,mybracket,sep='')
a<-table.element(a,dum,header=TRUE)
a<-table.element(a,myhist$mids[i])
a<-table.element(a,myhist$counts[i])
rf <- myhist$counts[i]/n
crf <- crf + rf
a<-table.element(a,round(rf,6))
a<-table.element(a,round(crf,6))
a<-table.element(a,round(myhist$density[i],6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
} else {
mytab
reltab <- mytab / sum(mytab)
n <- length(mytab)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Frequency Table (Categorical Data)',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Category',header=TRUE)
a<-table.element(a,'Abs. Frequency',header=TRUE)
a<-table.element(a,'Rel. Frequency',header=TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,labels(mytab)$x[i],header=TRUE)
a<-table.element(a,mytab[i])
a<-table.element(a,round(reltab[i],4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
}