Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationWed, 03 Oct 2018 01:55:15 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2018/Oct/03/t1538524542lngcc6i78gdt77k.htm/, Retrieved Sun, 05 May 2024 19:21:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=315551, Retrieved Sun, 05 May 2024 19:21:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact108
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [] [2018-10-02 23:55:15] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0
1
2
2
2
3
3
3
3
4
4
4
4
4
5
5
5
5
5
6
6
6
6
7
7
7
8
8
8
9
9
9
10
10
10
10
10
11
11
11
11
11
11
12
12
13
13
13
14
14
14
14
15
15
15
15
16
16
16
16
16
18
18
18
18
19
19
19
20
20
21
21
21
21
21
21
21
22
23
24
24
25
25
26
26
27
27
28
28
29
29
30
30
31
33
35
35
38
38
40




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=315551&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=315551&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=315551&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[0,1[0.510.010.010.01
[1,2[1.510.010.020.01
[2,3[2.530.030.050.03
[3,4[3.540.040.090.04
[4,5[4.550.050.140.05
[5,6[5.550.050.190.05
[6,7[6.540.040.230.04
[7,8[7.530.030.260.03
[8,9[8.530.030.290.03
[9,10[9.530.030.320.03
[10,11[10.550.050.370.05
[11,12[11.560.060.430.06
[12,13[12.520.020.450.02
[13,14[13.530.030.480.03
[14,15[14.540.040.520.04
[15,16[15.540.040.560.04
[16,17[16.550.050.610.05
[17,18[17.5000.610
[18,19[18.540.040.650.04
[19,20[19.530.030.680.03
[20,21[20.520.020.70.02
[21,22[21.570.070.770.07
[22,23[22.510.010.780.01
[23,24[23.510.010.790.01
[24,25[24.520.020.810.02
[25,26[25.520.020.830.02
[26,27[26.520.020.850.02
[27,28[27.520.020.870.02
[28,29[28.520.020.890.02
[29,30[29.520.020.910.02
[30,31[30.520.020.930.02
[31,32[31.510.010.940.01
[32,33[32.5000.940
[33,34[33.510.010.950.01
[34,35[34.5000.950
[35,36[35.520.020.970.02
[36,37[36.5000.970
[37,38[37.5000.970
[38,39[38.520.020.990.02
[39,40]39.510.0110.01

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[0,1[ & 0.5 & 1 & 0.01 & 0.01 & 0.01 \tabularnewline
[1,2[ & 1.5 & 1 & 0.01 & 0.02 & 0.01 \tabularnewline
[2,3[ & 2.5 & 3 & 0.03 & 0.05 & 0.03 \tabularnewline
[3,4[ & 3.5 & 4 & 0.04 & 0.09 & 0.04 \tabularnewline
[4,5[ & 4.5 & 5 & 0.05 & 0.14 & 0.05 \tabularnewline
[5,6[ & 5.5 & 5 & 0.05 & 0.19 & 0.05 \tabularnewline
[6,7[ & 6.5 & 4 & 0.04 & 0.23 & 0.04 \tabularnewline
[7,8[ & 7.5 & 3 & 0.03 & 0.26 & 0.03 \tabularnewline
[8,9[ & 8.5 & 3 & 0.03 & 0.29 & 0.03 \tabularnewline
[9,10[ & 9.5 & 3 & 0.03 & 0.32 & 0.03 \tabularnewline
[10,11[ & 10.5 & 5 & 0.05 & 0.37 & 0.05 \tabularnewline
[11,12[ & 11.5 & 6 & 0.06 & 0.43 & 0.06 \tabularnewline
[12,13[ & 12.5 & 2 & 0.02 & 0.45 & 0.02 \tabularnewline
[13,14[ & 13.5 & 3 & 0.03 & 0.48 & 0.03 \tabularnewline
[14,15[ & 14.5 & 4 & 0.04 & 0.52 & 0.04 \tabularnewline
[15,16[ & 15.5 & 4 & 0.04 & 0.56 & 0.04 \tabularnewline
[16,17[ & 16.5 & 5 & 0.05 & 0.61 & 0.05 \tabularnewline
[17,18[ & 17.5 & 0 & 0 & 0.61 & 0 \tabularnewline
[18,19[ & 18.5 & 4 & 0.04 & 0.65 & 0.04 \tabularnewline
[19,20[ & 19.5 & 3 & 0.03 & 0.68 & 0.03 \tabularnewline
[20,21[ & 20.5 & 2 & 0.02 & 0.7 & 0.02 \tabularnewline
[21,22[ & 21.5 & 7 & 0.07 & 0.77 & 0.07 \tabularnewline
[22,23[ & 22.5 & 1 & 0.01 & 0.78 & 0.01 \tabularnewline
[23,24[ & 23.5 & 1 & 0.01 & 0.79 & 0.01 \tabularnewline
[24,25[ & 24.5 & 2 & 0.02 & 0.81 & 0.02 \tabularnewline
[25,26[ & 25.5 & 2 & 0.02 & 0.83 & 0.02 \tabularnewline
[26,27[ & 26.5 & 2 & 0.02 & 0.85 & 0.02 \tabularnewline
[27,28[ & 27.5 & 2 & 0.02 & 0.87 & 0.02 \tabularnewline
[28,29[ & 28.5 & 2 & 0.02 & 0.89 & 0.02 \tabularnewline
[29,30[ & 29.5 & 2 & 0.02 & 0.91 & 0.02 \tabularnewline
[30,31[ & 30.5 & 2 & 0.02 & 0.93 & 0.02 \tabularnewline
[31,32[ & 31.5 & 1 & 0.01 & 0.94 & 0.01 \tabularnewline
[32,33[ & 32.5 & 0 & 0 & 0.94 & 0 \tabularnewline
[33,34[ & 33.5 & 1 & 0.01 & 0.95 & 0.01 \tabularnewline
[34,35[ & 34.5 & 0 & 0 & 0.95 & 0 \tabularnewline
[35,36[ & 35.5 & 2 & 0.02 & 0.97 & 0.02 \tabularnewline
[36,37[ & 36.5 & 0 & 0 & 0.97 & 0 \tabularnewline
[37,38[ & 37.5 & 0 & 0 & 0.97 & 0 \tabularnewline
[38,39[ & 38.5 & 2 & 0.02 & 0.99 & 0.02 \tabularnewline
[39,40] & 39.5 & 1 & 0.01 & 1 & 0.01 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=315551&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][0,1[[/C][C]0.5[/C][C]1[/C][C]0.01[/C][C]0.01[/C][C]0.01[/C][/ROW]
[ROW][C][1,2[[/C][C]1.5[/C][C]1[/C][C]0.01[/C][C]0.02[/C][C]0.01[/C][/ROW]
[ROW][C][2,3[[/C][C]2.5[/C][C]3[/C][C]0.03[/C][C]0.05[/C][C]0.03[/C][/ROW]
[ROW][C][3,4[[/C][C]3.5[/C][C]4[/C][C]0.04[/C][C]0.09[/C][C]0.04[/C][/ROW]
[ROW][C][4,5[[/C][C]4.5[/C][C]5[/C][C]0.05[/C][C]0.14[/C][C]0.05[/C][/ROW]
[ROW][C][5,6[[/C][C]5.5[/C][C]5[/C][C]0.05[/C][C]0.19[/C][C]0.05[/C][/ROW]
[ROW][C][6,7[[/C][C]6.5[/C][C]4[/C][C]0.04[/C][C]0.23[/C][C]0.04[/C][/ROW]
[ROW][C][7,8[[/C][C]7.5[/C][C]3[/C][C]0.03[/C][C]0.26[/C][C]0.03[/C][/ROW]
[ROW][C][8,9[[/C][C]8.5[/C][C]3[/C][C]0.03[/C][C]0.29[/C][C]0.03[/C][/ROW]
[ROW][C][9,10[[/C][C]9.5[/C][C]3[/C][C]0.03[/C][C]0.32[/C][C]0.03[/C][/ROW]
[ROW][C][10,11[[/C][C]10.5[/C][C]5[/C][C]0.05[/C][C]0.37[/C][C]0.05[/C][/ROW]
[ROW][C][11,12[[/C][C]11.5[/C][C]6[/C][C]0.06[/C][C]0.43[/C][C]0.06[/C][/ROW]
[ROW][C][12,13[[/C][C]12.5[/C][C]2[/C][C]0.02[/C][C]0.45[/C][C]0.02[/C][/ROW]
[ROW][C][13,14[[/C][C]13.5[/C][C]3[/C][C]0.03[/C][C]0.48[/C][C]0.03[/C][/ROW]
[ROW][C][14,15[[/C][C]14.5[/C][C]4[/C][C]0.04[/C][C]0.52[/C][C]0.04[/C][/ROW]
[ROW][C][15,16[[/C][C]15.5[/C][C]4[/C][C]0.04[/C][C]0.56[/C][C]0.04[/C][/ROW]
[ROW][C][16,17[[/C][C]16.5[/C][C]5[/C][C]0.05[/C][C]0.61[/C][C]0.05[/C][/ROW]
[ROW][C][17,18[[/C][C]17.5[/C][C]0[/C][C]0[/C][C]0.61[/C][C]0[/C][/ROW]
[ROW][C][18,19[[/C][C]18.5[/C][C]4[/C][C]0.04[/C][C]0.65[/C][C]0.04[/C][/ROW]
[ROW][C][19,20[[/C][C]19.5[/C][C]3[/C][C]0.03[/C][C]0.68[/C][C]0.03[/C][/ROW]
[ROW][C][20,21[[/C][C]20.5[/C][C]2[/C][C]0.02[/C][C]0.7[/C][C]0.02[/C][/ROW]
[ROW][C][21,22[[/C][C]21.5[/C][C]7[/C][C]0.07[/C][C]0.77[/C][C]0.07[/C][/ROW]
[ROW][C][22,23[[/C][C]22.5[/C][C]1[/C][C]0.01[/C][C]0.78[/C][C]0.01[/C][/ROW]
[ROW][C][23,24[[/C][C]23.5[/C][C]1[/C][C]0.01[/C][C]0.79[/C][C]0.01[/C][/ROW]
[ROW][C][24,25[[/C][C]24.5[/C][C]2[/C][C]0.02[/C][C]0.81[/C][C]0.02[/C][/ROW]
[ROW][C][25,26[[/C][C]25.5[/C][C]2[/C][C]0.02[/C][C]0.83[/C][C]0.02[/C][/ROW]
[ROW][C][26,27[[/C][C]26.5[/C][C]2[/C][C]0.02[/C][C]0.85[/C][C]0.02[/C][/ROW]
[ROW][C][27,28[[/C][C]27.5[/C][C]2[/C][C]0.02[/C][C]0.87[/C][C]0.02[/C][/ROW]
[ROW][C][28,29[[/C][C]28.5[/C][C]2[/C][C]0.02[/C][C]0.89[/C][C]0.02[/C][/ROW]
[ROW][C][29,30[[/C][C]29.5[/C][C]2[/C][C]0.02[/C][C]0.91[/C][C]0.02[/C][/ROW]
[ROW][C][30,31[[/C][C]30.5[/C][C]2[/C][C]0.02[/C][C]0.93[/C][C]0.02[/C][/ROW]
[ROW][C][31,32[[/C][C]31.5[/C][C]1[/C][C]0.01[/C][C]0.94[/C][C]0.01[/C][/ROW]
[ROW][C][32,33[[/C][C]32.5[/C][C]0[/C][C]0[/C][C]0.94[/C][C]0[/C][/ROW]
[ROW][C][33,34[[/C][C]33.5[/C][C]1[/C][C]0.01[/C][C]0.95[/C][C]0.01[/C][/ROW]
[ROW][C][34,35[[/C][C]34.5[/C][C]0[/C][C]0[/C][C]0.95[/C][C]0[/C][/ROW]
[ROW][C][35,36[[/C][C]35.5[/C][C]2[/C][C]0.02[/C][C]0.97[/C][C]0.02[/C][/ROW]
[ROW][C][36,37[[/C][C]36.5[/C][C]0[/C][C]0[/C][C]0.97[/C][C]0[/C][/ROW]
[ROW][C][37,38[[/C][C]37.5[/C][C]0[/C][C]0[/C][C]0.97[/C][C]0[/C][/ROW]
[ROW][C][38,39[[/C][C]38.5[/C][C]2[/C][C]0.02[/C][C]0.99[/C][C]0.02[/C][/ROW]
[ROW][C][39,40][/C][C]39.5[/C][C]1[/C][C]0.01[/C][C]1[/C][C]0.01[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=315551&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=315551&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
[0,1[0.510.010.010.01
[1,2[1.510.010.020.01
[2,3[2.530.030.050.03
[3,4[3.540.040.090.04
[4,5[4.550.050.140.05
[5,6[5.550.050.190.05
[6,7[6.540.040.230.04
[7,8[7.530.030.260.03
[8,9[8.530.030.290.03
[9,10[9.530.030.320.03
[10,11[10.550.050.370.05
[11,12[11.560.060.430.06
[12,13[12.520.020.450.02
[13,14[13.530.030.480.03
[14,15[14.540.040.520.04
[15,16[15.540.040.560.04
[16,17[16.550.050.610.05
[17,18[17.5000.610
[18,19[18.540.040.650.04
[19,20[19.530.030.680.03
[20,21[20.520.020.70.02
[21,22[21.570.070.770.07
[22,23[22.510.010.780.01
[23,24[23.510.010.790.01
[24,25[24.520.020.810.02
[25,26[25.520.020.830.02
[26,27[26.520.020.850.02
[27,28[27.520.020.870.02
[28,29[28.520.020.890.02
[29,30[29.520.020.910.02
[30,31[30.520.020.930.02
[31,32[31.510.010.940.01
[32,33[32.5000.940
[33,34[33.510.010.950.01
[34,35[34.5000.950
[35,36[35.520.020.970.02
[36,37[36.5000.970
[37,38[37.5000.970
[38,39[38.520.020.990.02
[39,40]39.510.0110.01



Parameters (Session):
par1 = 40 ; par2 = white ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = 40 ; par2 = white ; par3 = FALSE ; par4 = Unknown ;
R code (references can be found in the software module):
par4 <- 'Unknown'
par3 <- 'FALSE'
par2 <- 'white'
par1 <- '40'
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 {
barplot(mytab <- sort(table(x),T),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,'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')
}