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 computationThu, 20 Dec 2012 09:57:54 -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/20/t1356015486ch6gldq1e22twh9.htm/, Retrieved Sat, 20 Apr 2024 06:49:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=202736, Retrieved Sat, 20 Apr 2024 06:49:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [Bad example of Hi...] [2010-09-25 09:28:23] [b98453cac15ba1066b407e146608df68]
F   PD  [Histogram] [Histogram] [2010-10-03 19:30:53] [afe9379cca749d06b3d6872e02cc47ed]
-   PD    [Histogram] [Apple Inc - Histo...] [2010-12-13 18:52:49] [afe9379cca749d06b3d6872e02cc47ed]
- R PD      [Histogram] [RIM - Dollar per ...] [2012-12-10 15:31:40] [d1865ed705b6ad9ba3d459a02c528b22]
- R  D        [Histogram] [] [2012-12-15 12:33:52] [74be16979710d4c4e7c6647856088456]
-    D          [Histogram] [] [2012-12-20 14:52:48] [d1865ed705b6ad9ba3d459a02c528b22]
-    D              [Histogram] [] [2012-12-20 14:57:54] [14d0a7ecb926325afa0eb6a607fbc7a0] [Current]
Feedback Forum

Post a new message
Dataseries X:
27.72
26.90
25.86
26.81
26.31
27.10
27.00
27.40
27.27
28.29
30.01
31.41
31.91
31.60
31.84
33.05
32.06
33.10
32.23
31.36
31.09
30.77
31.20
31.47
31.73
32.17
31.47
30.97
30.81
30.72
28.24
28.09
29.11
29.00
28.76
28.75
28.45
29.34
26.84
23.70
23.15
21.71
20.88
20.04
21.09
21.92
20.72
20.72
21.01
21.80
21.60
20.38
21.20
19.87
19.05
20.01
19.15
19.43
19.44
19.40
19.15
19.34
19.10
19.08
18.05
17.72
18.58
18.96
18.98
18.81
19.43
20.93
20.71
22.00
21.52
21.87
23.29
22.59
22.86
20.79
20.28
20.62
20.32
21.66
21.99
22.27
21.83
21.94
20.91
20.40
20.22
19.64
19.75
19.51
19.52
19.48
19.88
18.97
19.00
19.32
19.50
23.22
22.56
21.94
21.11
21.21
21.18
21.25
21.17
20.47
19.99
19.21
20.07
19.86
22.36
22.17
23.56
22.92
23.10
24.32
23.99
25.94
26.15
26.36
27.32
28.00




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=202736&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]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=202736&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=202736&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'Sir Maurice George Kendall' @ kendall.wessa.net







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[17.5,18[17.7510.0079370.0079370.015873
[18,18.5[18.2510.0079370.0158730.015873
[18.5,19[18.7550.0396830.0555560.079365
[19,19.5[19.25140.1111110.1666670.222222
[19.5,20[19.7590.0714290.2380950.142857
[20,20.5[20.2590.0714290.3095240.142857
[20.5,21[20.7580.0634920.3730160.126984
[21,21.5[21.2580.0634920.4365080.126984
[21.5,22[21.75110.0873020.523810.174603
[22,22.5[22.2540.0317460.5555560.063492
[22.5,23[22.7540.0317460.5873020.063492
[23,23.5[23.2540.0317460.6190480.063492
[23.5,24[23.7530.023810.6428570.047619
[24,24.5[24.2510.0079370.6507940.015873
[24.5,25[24.75000.6507940
[25,25.5[25.25000.6507940
[25.5,26[25.7520.0158730.6666670.031746
[26,26.5[26.2530.023810.6904760.047619
[26.5,27[26.7530.023810.7142860.047619
[27,27.5[27.2550.0396830.7539680.079365
[27.5,28[27.7510.0079370.7619050.015873
[28,28.5[28.2550.0396830.8015870.079365
[28.5,29[28.7520.0158730.817460.031746
[29,29.5[29.2530.023810.841270.047619
[29.5,30[29.75000.841270
[30,30.5[30.2510.0079370.8492060.015873
[30.5,31[30.7540.0317460.8809520.063492
[31,31.5[31.2560.0476190.9285710.095238
[31.5,32[31.7540.0317460.9603170.063492
[32,32.5[32.2530.023810.9841270.047619
[32.5,33[32.75000.9841270
[33,33.5]33.2520.01587310.031746

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[17.5,18[ & 17.75 & 1 & 0.007937 & 0.007937 & 0.015873 \tabularnewline
[18,18.5[ & 18.25 & 1 & 0.007937 & 0.015873 & 0.015873 \tabularnewline
[18.5,19[ & 18.75 & 5 & 0.039683 & 0.055556 & 0.079365 \tabularnewline
[19,19.5[ & 19.25 & 14 & 0.111111 & 0.166667 & 0.222222 \tabularnewline
[19.5,20[ & 19.75 & 9 & 0.071429 & 0.238095 & 0.142857 \tabularnewline
[20,20.5[ & 20.25 & 9 & 0.071429 & 0.309524 & 0.142857 \tabularnewline
[20.5,21[ & 20.75 & 8 & 0.063492 & 0.373016 & 0.126984 \tabularnewline
[21,21.5[ & 21.25 & 8 & 0.063492 & 0.436508 & 0.126984 \tabularnewline
[21.5,22[ & 21.75 & 11 & 0.087302 & 0.52381 & 0.174603 \tabularnewline
[22,22.5[ & 22.25 & 4 & 0.031746 & 0.555556 & 0.063492 \tabularnewline
[22.5,23[ & 22.75 & 4 & 0.031746 & 0.587302 & 0.063492 \tabularnewline
[23,23.5[ & 23.25 & 4 & 0.031746 & 0.619048 & 0.063492 \tabularnewline
[23.5,24[ & 23.75 & 3 & 0.02381 & 0.642857 & 0.047619 \tabularnewline
[24,24.5[ & 24.25 & 1 & 0.007937 & 0.650794 & 0.015873 \tabularnewline
[24.5,25[ & 24.75 & 0 & 0 & 0.650794 & 0 \tabularnewline
[25,25.5[ & 25.25 & 0 & 0 & 0.650794 & 0 \tabularnewline
[25.5,26[ & 25.75 & 2 & 0.015873 & 0.666667 & 0.031746 \tabularnewline
[26,26.5[ & 26.25 & 3 & 0.02381 & 0.690476 & 0.047619 \tabularnewline
[26.5,27[ & 26.75 & 3 & 0.02381 & 0.714286 & 0.047619 \tabularnewline
[27,27.5[ & 27.25 & 5 & 0.039683 & 0.753968 & 0.079365 \tabularnewline
[27.5,28[ & 27.75 & 1 & 0.007937 & 0.761905 & 0.015873 \tabularnewline
[28,28.5[ & 28.25 & 5 & 0.039683 & 0.801587 & 0.079365 \tabularnewline
[28.5,29[ & 28.75 & 2 & 0.015873 & 0.81746 & 0.031746 \tabularnewline
[29,29.5[ & 29.25 & 3 & 0.02381 & 0.84127 & 0.047619 \tabularnewline
[29.5,30[ & 29.75 & 0 & 0 & 0.84127 & 0 \tabularnewline
[30,30.5[ & 30.25 & 1 & 0.007937 & 0.849206 & 0.015873 \tabularnewline
[30.5,31[ & 30.75 & 4 & 0.031746 & 0.880952 & 0.063492 \tabularnewline
[31,31.5[ & 31.25 & 6 & 0.047619 & 0.928571 & 0.095238 \tabularnewline
[31.5,32[ & 31.75 & 4 & 0.031746 & 0.960317 & 0.063492 \tabularnewline
[32,32.5[ & 32.25 & 3 & 0.02381 & 0.984127 & 0.047619 \tabularnewline
[32.5,33[ & 32.75 & 0 & 0 & 0.984127 & 0 \tabularnewline
[33,33.5] & 33.25 & 2 & 0.015873 & 1 & 0.031746 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=202736&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][17.5,18[[/C][C]17.75[/C][C]1[/C][C]0.007937[/C][C]0.007937[/C][C]0.015873[/C][/ROW]
[ROW][C][18,18.5[[/C][C]18.25[/C][C]1[/C][C]0.007937[/C][C]0.015873[/C][C]0.015873[/C][/ROW]
[ROW][C][18.5,19[[/C][C]18.75[/C][C]5[/C][C]0.039683[/C][C]0.055556[/C][C]0.079365[/C][/ROW]
[ROW][C][19,19.5[[/C][C]19.25[/C][C]14[/C][C]0.111111[/C][C]0.166667[/C][C]0.222222[/C][/ROW]
[ROW][C][19.5,20[[/C][C]19.75[/C][C]9[/C][C]0.071429[/C][C]0.238095[/C][C]0.142857[/C][/ROW]
[ROW][C][20,20.5[[/C][C]20.25[/C][C]9[/C][C]0.071429[/C][C]0.309524[/C][C]0.142857[/C][/ROW]
[ROW][C][20.5,21[[/C][C]20.75[/C][C]8[/C][C]0.063492[/C][C]0.373016[/C][C]0.126984[/C][/ROW]
[ROW][C][21,21.5[[/C][C]21.25[/C][C]8[/C][C]0.063492[/C][C]0.436508[/C][C]0.126984[/C][/ROW]
[ROW][C][21.5,22[[/C][C]21.75[/C][C]11[/C][C]0.087302[/C][C]0.52381[/C][C]0.174603[/C][/ROW]
[ROW][C][22,22.5[[/C][C]22.25[/C][C]4[/C][C]0.031746[/C][C]0.555556[/C][C]0.063492[/C][/ROW]
[ROW][C][22.5,23[[/C][C]22.75[/C][C]4[/C][C]0.031746[/C][C]0.587302[/C][C]0.063492[/C][/ROW]
[ROW][C][23,23.5[[/C][C]23.25[/C][C]4[/C][C]0.031746[/C][C]0.619048[/C][C]0.063492[/C][/ROW]
[ROW][C][23.5,24[[/C][C]23.75[/C][C]3[/C][C]0.02381[/C][C]0.642857[/C][C]0.047619[/C][/ROW]
[ROW][C][24,24.5[[/C][C]24.25[/C][C]1[/C][C]0.007937[/C][C]0.650794[/C][C]0.015873[/C][/ROW]
[ROW][C][24.5,25[[/C][C]24.75[/C][C]0[/C][C]0[/C][C]0.650794[/C][C]0[/C][/ROW]
[ROW][C][25,25.5[[/C][C]25.25[/C][C]0[/C][C]0[/C][C]0.650794[/C][C]0[/C][/ROW]
[ROW][C][25.5,26[[/C][C]25.75[/C][C]2[/C][C]0.015873[/C][C]0.666667[/C][C]0.031746[/C][/ROW]
[ROW][C][26,26.5[[/C][C]26.25[/C][C]3[/C][C]0.02381[/C][C]0.690476[/C][C]0.047619[/C][/ROW]
[ROW][C][26.5,27[[/C][C]26.75[/C][C]3[/C][C]0.02381[/C][C]0.714286[/C][C]0.047619[/C][/ROW]
[ROW][C][27,27.5[[/C][C]27.25[/C][C]5[/C][C]0.039683[/C][C]0.753968[/C][C]0.079365[/C][/ROW]
[ROW][C][27.5,28[[/C][C]27.75[/C][C]1[/C][C]0.007937[/C][C]0.761905[/C][C]0.015873[/C][/ROW]
[ROW][C][28,28.5[[/C][C]28.25[/C][C]5[/C][C]0.039683[/C][C]0.801587[/C][C]0.079365[/C][/ROW]
[ROW][C][28.5,29[[/C][C]28.75[/C][C]2[/C][C]0.015873[/C][C]0.81746[/C][C]0.031746[/C][/ROW]
[ROW][C][29,29.5[[/C][C]29.25[/C][C]3[/C][C]0.02381[/C][C]0.84127[/C][C]0.047619[/C][/ROW]
[ROW][C][29.5,30[[/C][C]29.75[/C][C]0[/C][C]0[/C][C]0.84127[/C][C]0[/C][/ROW]
[ROW][C][30,30.5[[/C][C]30.25[/C][C]1[/C][C]0.007937[/C][C]0.849206[/C][C]0.015873[/C][/ROW]
[ROW][C][30.5,31[[/C][C]30.75[/C][C]4[/C][C]0.031746[/C][C]0.880952[/C][C]0.063492[/C][/ROW]
[ROW][C][31,31.5[[/C][C]31.25[/C][C]6[/C][C]0.047619[/C][C]0.928571[/C][C]0.095238[/C][/ROW]
[ROW][C][31.5,32[[/C][C]31.75[/C][C]4[/C][C]0.031746[/C][C]0.960317[/C][C]0.063492[/C][/ROW]
[ROW][C][32,32.5[[/C][C]32.25[/C][C]3[/C][C]0.02381[/C][C]0.984127[/C][C]0.047619[/C][/ROW]
[ROW][C][32.5,33[[/C][C]32.75[/C][C]0[/C][C]0[/C][C]0.984127[/C][C]0[/C][/ROW]
[ROW][C][33,33.5][/C][C]33.25[/C][C]2[/C][C]0.015873[/C][C]1[/C][C]0.031746[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=202736&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=202736&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
[17.5,18[17.7510.0079370.0079370.015873
[18,18.5[18.2510.0079370.0158730.015873
[18.5,19[18.7550.0396830.0555560.079365
[19,19.5[19.25140.1111110.1666670.222222
[19.5,20[19.7590.0714290.2380950.142857
[20,20.5[20.2590.0714290.3095240.142857
[20.5,21[20.7580.0634920.3730160.126984
[21,21.5[21.2580.0634920.4365080.126984
[21.5,22[21.75110.0873020.523810.174603
[22,22.5[22.2540.0317460.5555560.063492
[22.5,23[22.7540.0317460.5873020.063492
[23,23.5[23.2540.0317460.6190480.063492
[23.5,24[23.7530.023810.6428570.047619
[24,24.5[24.2510.0079370.6507940.015873
[24.5,25[24.75000.6507940
[25,25.5[25.25000.6507940
[25.5,26[25.7520.0158730.6666670.031746
[26,26.5[26.2530.023810.6904760.047619
[26.5,27[26.7530.023810.7142860.047619
[27,27.5[27.2550.0396830.7539680.079365
[27.5,28[27.7510.0079370.7619050.015873
[28,28.5[28.2550.0396830.8015870.079365
[28.5,29[28.7520.0158730.817460.031746
[29,29.5[29.2530.023810.841270.047619
[29.5,30[29.75000.841270
[30,30.5[30.2510.0079370.8492060.015873
[30.5,31[30.7540.0317460.8809520.063492
[31,31.5[31.2560.0476190.9285710.095238
[31.5,32[31.7540.0317460.9603170.063492
[32,32.5[32.2530.023810.9841270.047619
[32.5,33[32.75000.9841270
[33,33.5]33.2520.01587310.031746



Parameters (Session):
par1 = 30 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 30 ; par2 = grey ; par3 = FALSE ; par4 = Unknown ;
R code (references can be found in the software module):
par4 <- 'Unknown'
par3 <- 'FALSE'
par2 <- 'grey'
par1 <- '30'
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')
}