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 computationWed, 21 Dec 2011 06:56:18 -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/2011/Dec/21/t132446859226u291af6ijxi0v.htm/, Retrieved Tue, 07 May 2024 12:25:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=158542, Retrieved Tue, 07 May 2024 12:25:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact56
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [] [2011-12-21 11:56:18] [bbaf0bbad09b34135f8973992e5d67ea] [Current]
Feedback Forum

Post a new message
Dataseries X:
58,6
33,6
49,0
49,8
34,2
14,7
107,1
9,2
28,2
41,4
46,0
65,9
48,1
37,0
71,9
50,0
90,2
64,2
65,8
37,6
56,4
59,8
95,6
42,8
36,9
48,5
48,4
62,7
62,1
34,7
61,6
58,5
47,3
72,4
23,6
81,8
28,1
59,9
90,3
2,0
46,5
29,6
26,8
73,8
74,9
41,4
48,8
42,5
31,0
32,3
100,6
21,9
50,9
77,2
41,8
46,9
6,7
91,5
18,1
28,1
60,8
67,8
94,9
28,8
64,8
71,2
57,3
86,5
65,5
49,4
57,5
54,6
48,4
39,8
52,1
52,1
33,1
50,6
20,4
54,2
46,5
39,9
76,5
67,6
50,8
37,7
42,3
33,4
96,2
40,5
53,7
22,5
34,1
36,3
31,3
79,6
67,0
41,2
56,9
50,6
39,0
61,3
67,5
45,2
50,7
64,5
73,7
23,8
86,3
62,5
64,5
40,3
12,0
43,3
45,8
56,1
65,4
61,3
27,6
25,7
37,0
17,0
35,0
28,0
62,4
22,9
28,3
28,2
67,6
6,4
11,5
42,4
17,2
27,8
36,8
88,2
5,8
58,2
6,3
8,7
13,0
36,6
25,5
68,0
51,3
22,2
35,7
27,2
10,6
42,0
75,7
47,9
30,0
91,1
69,6
97,5
43,9
27,5
23,7
63,7
97,7
23,4
33,5
90,2
36,4
56,7
46,0
39,4
32,2
69,5
83,3
54,4
48,1
70,7
29,0
37,8
55,4
25,7
62,3
37,7
20,7
22,6
4,1
50,5
75,5
2,0
13,0
4,9
37,0
26,5
42,4
27,3
22,1
16,4
38,9
32,9
20,2
18,2
27,7
20,0
21,5
13,7
37,5
30,1
24,9
12,3
21,6
50,4
37,2
34,5
25,7
33,8
14,7
22,7
16,4
14,9
16,9
15,7
18,2
22,5
21,2
28,9
27,3
18,9
8,6
37,6
20,4
17,5
17,0
20,8
8,8
22,6
24,2
13,9
18,3
15,7
44,0
12,9
20,5
10,7
25,5
38,8
14,5
14,3
19,6
23,6
28,5
24,1
23,8
9,6
41,8
27,7
5,4
27,6
24,0
8,6
8,8
24,9
17,2
11,2
7,7
21,4
10,4
15,0
13,9
23,4
17,8
16,5
33,1
21,3
28,7
19,5
12,1
29,1
17,3
19,3
14,8
5,5
24,1
23,4
21,7
24,8
25,3
11,2
17,8
14,1
15,7
17,4
20,1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 1 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=158542&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158542&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158542&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 time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[0,10[5180.0622840.0622840.006228
[10,20[15470.162630.2249130.016263
[20,30[25680.2352940.4602080.023529
[30,40[35400.1384080.5986160.013841
[40,50[45340.1176470.7162630.011765
[50,60[55270.0934260.8096890.009343
[60,70[65260.0899650.8996540.008997
[70,80[75120.0415220.9411760.004152
[80,90[8550.0173010.9584780.00173
[90,100[95100.0346020.993080.00346
[100,110]10520.0069210.000692

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[0,10[ & 5 & 18 & 0.062284 & 0.062284 & 0.006228 \tabularnewline
[10,20[ & 15 & 47 & 0.16263 & 0.224913 & 0.016263 \tabularnewline
[20,30[ & 25 & 68 & 0.235294 & 0.460208 & 0.023529 \tabularnewline
[30,40[ & 35 & 40 & 0.138408 & 0.598616 & 0.013841 \tabularnewline
[40,50[ & 45 & 34 & 0.117647 & 0.716263 & 0.011765 \tabularnewline
[50,60[ & 55 & 27 & 0.093426 & 0.809689 & 0.009343 \tabularnewline
[60,70[ & 65 & 26 & 0.089965 & 0.899654 & 0.008997 \tabularnewline
[70,80[ & 75 & 12 & 0.041522 & 0.941176 & 0.004152 \tabularnewline
[80,90[ & 85 & 5 & 0.017301 & 0.958478 & 0.00173 \tabularnewline
[90,100[ & 95 & 10 & 0.034602 & 0.99308 & 0.00346 \tabularnewline
[100,110] & 105 & 2 & 0.00692 & 1 & 0.000692 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=158542&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,10[[/C][C]5[/C][C]18[/C][C]0.062284[/C][C]0.062284[/C][C]0.006228[/C][/ROW]
[ROW][C][10,20[[/C][C]15[/C][C]47[/C][C]0.16263[/C][C]0.224913[/C][C]0.016263[/C][/ROW]
[ROW][C][20,30[[/C][C]25[/C][C]68[/C][C]0.235294[/C][C]0.460208[/C][C]0.023529[/C][/ROW]
[ROW][C][30,40[[/C][C]35[/C][C]40[/C][C]0.138408[/C][C]0.598616[/C][C]0.013841[/C][/ROW]
[ROW][C][40,50[[/C][C]45[/C][C]34[/C][C]0.117647[/C][C]0.716263[/C][C]0.011765[/C][/ROW]
[ROW][C][50,60[[/C][C]55[/C][C]27[/C][C]0.093426[/C][C]0.809689[/C][C]0.009343[/C][/ROW]
[ROW][C][60,70[[/C][C]65[/C][C]26[/C][C]0.089965[/C][C]0.899654[/C][C]0.008997[/C][/ROW]
[ROW][C][70,80[[/C][C]75[/C][C]12[/C][C]0.041522[/C][C]0.941176[/C][C]0.004152[/C][/ROW]
[ROW][C][80,90[[/C][C]85[/C][C]5[/C][C]0.017301[/C][C]0.958478[/C][C]0.00173[/C][/ROW]
[ROW][C][90,100[[/C][C]95[/C][C]10[/C][C]0.034602[/C][C]0.99308[/C][C]0.00346[/C][/ROW]
[ROW][C][100,110][/C][C]105[/C][C]2[/C][C]0.00692[/C][C]1[/C][C]0.000692[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=158542&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=158542&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,10[5180.0622840.0622840.006228
[10,20[15470.162630.2249130.016263
[20,30[25680.2352940.4602080.023529
[30,40[35400.1384080.5986160.013841
[40,50[45340.1176470.7162630.011765
[50,60[55270.0934260.8096890.009343
[60,70[65260.0899650.8996540.008997
[70,80[75120.0415220.9411760.004152
[80,90[8550.0173010.9584780.00173
[90,100[95100.0346020.993080.00346
[100,110]10520.0069210.000692



Parameters (Session):
par2 = grey ; par3 = FALSE ; par4 = Unknown ;
Parameters (R input):
par1 = ; 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')
}