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 computationSat, 17 Dec 2016 19:43:52 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/17/t1482000337yvrl65vy3agqsai.htm/, Retrieved Wed, 01 May 2024 23:22:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300909, Retrieved Wed, 01 May 2024 23:22:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact63
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [histogram en freq...] [2016-12-17 18:43:52] [f20c721eaecf28dbff8d9b9768e8b0c7] [Current]
Feedback Forum

Post a new message
Dataseries X:
3904.45
4137.2
4334.5
4188.6
4304.1
4570.45
4178.85
4515.15
4740.55
4582.2
4493.6
4437
4294
4581.35
4780.15
4632
4648.2
4834.85
4465.25
4671.65
4871.3
4707.8
4580.45
4562.25
4329.7
4646.1
4844.1
4623
4707.2
4844.9
4436.75
4680.85
4873.8
4735.15
4681.9
4607
4436.4
4614.1
4619.25
4507.1
4515.85
4725.4
4250.85
4591.6
4898.15
4675.45
4568.95
4531.05
4387.35
4826.1
4954.35
4814.85
4821.55
5148.05
4810.75
4988.05
5322.65
5157
5006.65
4910.2
4764.05
5093.7
5312.2
5157.6
5192.4
5546.6
5092.05
5423.25
5647.2
5450.05
5360.3
5309.25
5181
5488.6
5668.15
5560.8
5590.45
5850.7
5252.2
5626.1
5819.8
5676.35
5525.5
5359.55
5296.85
5623.75
5899.3
5672.6
5724.75
5995.1
5475.2
6143.95
6366.95
6306.1
6077
5672.4
5458.6
5716.9
5828.1
5706.85
5888.3
6007.7
5581.85
5970.95
6190.4
6079.15
5902.2
5554.4
5320.45
5683.1
5987.9
5843.7
5917.5
6299.45
5846.75
5998.1




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time0 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 time0 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300909&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]0 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=300909&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300909&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 time0 seconds
R ServerBig Analytics Cloud Computing Center







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[3500,4000[375010.0086210.0086211.7e-05
[4000,4500[4250140.120690.129310.000241
[4500,5000[4750420.3620690.4913790.000724
[5000,5500[5250210.1810340.6724140.000362
[5500,6000[5750300.2586210.9310340.000517
[6000,6500]625080.06896610.000138

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[3500,4000[ & 3750 & 1 & 0.008621 & 0.008621 & 1.7e-05 \tabularnewline
[4000,4500[ & 4250 & 14 & 0.12069 & 0.12931 & 0.000241 \tabularnewline
[4500,5000[ & 4750 & 42 & 0.362069 & 0.491379 & 0.000724 \tabularnewline
[5000,5500[ & 5250 & 21 & 0.181034 & 0.672414 & 0.000362 \tabularnewline
[5500,6000[ & 5750 & 30 & 0.258621 & 0.931034 & 0.000517 \tabularnewline
[6000,6500] & 6250 & 8 & 0.068966 & 1 & 0.000138 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300909&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][3500,4000[[/C][C]3750[/C][C]1[/C][C]0.008621[/C][C]0.008621[/C][C]1.7e-05[/C][/ROW]
[ROW][C][4000,4500[[/C][C]4250[/C][C]14[/C][C]0.12069[/C][C]0.12931[/C][C]0.000241[/C][/ROW]
[ROW][C][4500,5000[[/C][C]4750[/C][C]42[/C][C]0.362069[/C][C]0.491379[/C][C]0.000724[/C][/ROW]
[ROW][C][5000,5500[[/C][C]5250[/C][C]21[/C][C]0.181034[/C][C]0.672414[/C][C]0.000362[/C][/ROW]
[ROW][C][5500,6000[[/C][C]5750[/C][C]30[/C][C]0.258621[/C][C]0.931034[/C][C]0.000517[/C][/ROW]
[ROW][C][6000,6500][/C][C]6250[/C][C]8[/C][C]0.068966[/C][C]1[/C][C]0.000138[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300909&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300909&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
[3500,4000[375010.0086210.0086211.7e-05
[4000,4500[4250140.120690.129310.000241
[4500,5000[4750420.3620690.4913790.000724
[5000,5500[5250210.1810340.6724140.000362
[5500,6000[5750300.2586210.9310340.000517
[6000,6500]625080.06896610.000138



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 {
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')
}