Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationSat, 19 Jan 2008 04:54:32 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Jan/19/t1200743705j92xzwrcvnbcm0k.htm/, Retrieved Mon, 29 Apr 2024 11:37:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=8021, Retrieved Mon, 29 Apr 2024 11:37:34 +0000
QR Codes:

Original text written by user:Bij de keuze van meerdere klassen, ziet de verdeling er anders uit. In dit voorbeeld zijn er duidelijk twee "bergen", de verdeling is bimodaal.
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact302
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [Verdeling van de ...] [2008-01-19 11:54:32] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
30
30
34
28
29
30
32
32
33
34
33
33
33
33
34
34
34
34
33
33
34
32
32
33
36
38
33
35
36
33
33
34
33
23
25
27
28
39
36
35
34
33
40
33
34
35
32
31
34
34
35
33
36
36
35
35
35
35
35
34
27
28
29
30
31
32
30
30
31
31
31
31
31
32
32
32
32
32
33
33
34
45
45
45
45
45
45
45
45
45
45
45
45
45
45
45
44
44
44
44
44
43
43
43
43
43
42
42
41
40
46
46
46
46
46
46
46
46
46
47
47
47
55
54
53
53
52
52
52
52
51
51
50
50
49
49
49
49
49
49
48
43
43
44
46
47
47
47
47
47
47
47
48
48
48
48
48
48
50
50
50
51




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8021&T=0

[TABLE]
[ROW][C]Summary of compuational 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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8021&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8021&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[22,24[2310.0061730.0061730.003086
[24,26[2510.0061730.0123460.003086
[26,28[2750.0308640.043210.015432
[28,30[2980.0493830.0925930.024691
[30,32[31180.1111110.2037040.055556
[32,34[33310.1913580.3950620.095679
[34,36[35140.086420.4814810.04321
[36,38[3710.0061730.4876540.003086
[38,40[3930.0185190.5061730.009259
[40,42[4130.0185190.5246910.009259
[42,44[43130.0802470.6049380.040123
[44,46[45250.1543210.7592590.07716
[46,48[47170.1049380.8641980.052469
[48,50[49110.0679010.9320990.033951
[50,52[5170.043210.9753090.021605
[52,54[5330.0185190.9938270.009259
[54,56[5510.00617310.003086

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[22,24[ & 23 & 1 & 0.006173 & 0.006173 & 0.003086 \tabularnewline
[24,26[ & 25 & 1 & 0.006173 & 0.012346 & 0.003086 \tabularnewline
[26,28[ & 27 & 5 & 0.030864 & 0.04321 & 0.015432 \tabularnewline
[28,30[ & 29 & 8 & 0.049383 & 0.092593 & 0.024691 \tabularnewline
[30,32[ & 31 & 18 & 0.111111 & 0.203704 & 0.055556 \tabularnewline
[32,34[ & 33 & 31 & 0.191358 & 0.395062 & 0.095679 \tabularnewline
[34,36[ & 35 & 14 & 0.08642 & 0.481481 & 0.04321 \tabularnewline
[36,38[ & 37 & 1 & 0.006173 & 0.487654 & 0.003086 \tabularnewline
[38,40[ & 39 & 3 & 0.018519 & 0.506173 & 0.009259 \tabularnewline
[40,42[ & 41 & 3 & 0.018519 & 0.524691 & 0.009259 \tabularnewline
[42,44[ & 43 & 13 & 0.080247 & 0.604938 & 0.040123 \tabularnewline
[44,46[ & 45 & 25 & 0.154321 & 0.759259 & 0.07716 \tabularnewline
[46,48[ & 47 & 17 & 0.104938 & 0.864198 & 0.052469 \tabularnewline
[48,50[ & 49 & 11 & 0.067901 & 0.932099 & 0.033951 \tabularnewline
[50,52[ & 51 & 7 & 0.04321 & 0.975309 & 0.021605 \tabularnewline
[52,54[ & 53 & 3 & 0.018519 & 0.993827 & 0.009259 \tabularnewline
[54,56[ & 55 & 1 & 0.006173 & 1 & 0.003086 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=8021&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][22,24[[/C][C]23[/C][C]1[/C][C]0.006173[/C][C]0.006173[/C][C]0.003086[/C][/ROW]
[ROW][C][24,26[[/C][C]25[/C][C]1[/C][C]0.006173[/C][C]0.012346[/C][C]0.003086[/C][/ROW]
[ROW][C][26,28[[/C][C]27[/C][C]5[/C][C]0.030864[/C][C]0.04321[/C][C]0.015432[/C][/ROW]
[ROW][C][28,30[[/C][C]29[/C][C]8[/C][C]0.049383[/C][C]0.092593[/C][C]0.024691[/C][/ROW]
[ROW][C][30,32[[/C][C]31[/C][C]18[/C][C]0.111111[/C][C]0.203704[/C][C]0.055556[/C][/ROW]
[ROW][C][32,34[[/C][C]33[/C][C]31[/C][C]0.191358[/C][C]0.395062[/C][C]0.095679[/C][/ROW]
[ROW][C][34,36[[/C][C]35[/C][C]14[/C][C]0.08642[/C][C]0.481481[/C][C]0.04321[/C][/ROW]
[ROW][C][36,38[[/C][C]37[/C][C]1[/C][C]0.006173[/C][C]0.487654[/C][C]0.003086[/C][/ROW]
[ROW][C][38,40[[/C][C]39[/C][C]3[/C][C]0.018519[/C][C]0.506173[/C][C]0.009259[/C][/ROW]
[ROW][C][40,42[[/C][C]41[/C][C]3[/C][C]0.018519[/C][C]0.524691[/C][C]0.009259[/C][/ROW]
[ROW][C][42,44[[/C][C]43[/C][C]13[/C][C]0.080247[/C][C]0.604938[/C][C]0.040123[/C][/ROW]
[ROW][C][44,46[[/C][C]45[/C][C]25[/C][C]0.154321[/C][C]0.759259[/C][C]0.07716[/C][/ROW]
[ROW][C][46,48[[/C][C]47[/C][C]17[/C][C]0.104938[/C][C]0.864198[/C][C]0.052469[/C][/ROW]
[ROW][C][48,50[[/C][C]49[/C][C]11[/C][C]0.067901[/C][C]0.932099[/C][C]0.033951[/C][/ROW]
[ROW][C][50,52[[/C][C]51[/C][C]7[/C][C]0.04321[/C][C]0.975309[/C][C]0.021605[/C][/ROW]
[ROW][C][52,54[[/C][C]53[/C][C]3[/C][C]0.018519[/C][C]0.993827[/C][C]0.009259[/C][/ROW]
[ROW][C][54,56[[/C][C]55[/C][C]1[/C][C]0.006173[/C][C]1[/C][C]0.003086[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=8021&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=8021&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
[22,24[2310.0061730.0061730.003086
[24,26[2510.0061730.0123460.003086
[26,28[2750.0308640.043210.015432
[28,30[2980.0493830.0925930.024691
[30,32[31180.1111110.2037040.055556
[32,34[33310.1913580.3950620.095679
[34,36[35140.086420.4814810.04321
[36,38[3710.0061730.4876540.003086
[38,40[3930.0185190.5061730.009259
[40,42[4130.0185190.5246910.009259
[42,44[43130.0802470.6049380.040123
[44,46[45250.1543210.7592590.07716
[46,48[47170.1049380.8641980.052469
[48,50[49110.0679010.9320990.033951
[50,52[5170.043210.9753090.021605
[52,54[5330.0185190.9938270.009259
[54,56[5510.00617310.003086



Parameters (Session):
par1 = 15 ; par2 = grey ;
Parameters (R input):
par1 = 15 ; par2 = grey ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
bitmap(file='test1.png')
if (is.na(par1)) {
myhist<-hist(x,col=par2,main=main,xlab=xlab)
} else {
if (par1 < 0) par1 <- 3
if (par1 > 50) par1 <- 50
myhist<-hist(x,breaks=par1,col=par2,main=main,xlab=xlab)
}
dev.off()
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
for (i in 1:(length(myhist$breaks)-1)) {
a<-table.row.start(a)
dum <- paste('[',myhist$breaks[i],sep='')
dum <- paste(dum,myhist$breaks[i+1],sep=',')
dum <- paste(dum,'[',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')