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, 10 Dec 2014 16:48:14 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Dec/10/t1418230131xm1tixw3wae390q.htm/, Retrieved Sun, 19 May 2024 15:54:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=265504, Retrieved Sun, 19 May 2024 15:54:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact60
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [] [2014-12-10 16:48:14] [1f9cde3fd5a46d58696c891290fd755a] [Current]
Feedback Forum

Post a new message
Dataseries X:
-0.886662
-0.636593
-0.986662
-5.43659
-6.13659
-0.236593
1.01334
0.463407
-1.73659
-4.63659
-1.43659
-6.43659
-2.23659
-1.78666
-7.48666
-1.93129
-0.936593
-4.48666
-2.68122
-3.78666
-6.43659
0.963407
-2.98666
0.963407
-1.13659
-1.93659
3.81878
0.168714
-2.93659
-2.28666
-5.48666
-2.08666
-3.83659
-3.13659
-2.03659
-2.53659
-3.38666
0.418783
-3.53659
-1.98666
-6.93659
-1.43659
0.163407
-2.03659
0.018783
-2.48666
-1.03659
-4.38122
-1.08666
0.018783
-0.681217
-5.58122
-1.93659
-0.181217
0.463407
-2.73659
-7.53129
1.46341
-5.23129
1.01878
-3.53659
-1.28666
-6.18666
3.06341
-4.58666
-3.18122
-2.68666
0.163407
1.66341
-1.03129
-1.48666
-2.38666
-4.43129
2.31878
-1.18666
-0.786662
0.318783
-0.586662
-3.33129
-5.13659
-2.73129
0.168714
-2.33129
-7.98122
-2.93129
-0.481217
-1.08122
-1.83129
-4.63129
-0.031286
0.318783
-6.68122
-2.38122
-4.43129
-4.58122
-4.23129
-4.98122
-0.881217
1.31878
-4.38122
-1.58122
-2.93129
-3.98122
-2.68122
1.91878
-4.73129
0.268714
-8.33129
-6.83129
-3.63129
-1.63129
-1.18122
-8.48659
-0.136593
5.26341
5.01341
3.36871
0.318783
4.26341
5.31334
3.26341
-0.436662
4.61334
1.86341
-2.23659
-0.236593
3.36341
0.763407
6.61878
1.26341
1.66341
2.36334
1.91341
1.96341
-0.386593
-0.186593
4.51341
-4.23659
4.61334
3.26341
-0.681217
4.91341
2.41341
4.81341
2.56334
3.86334
0.763407
0.563338
0.963338
5.41341
-3.88666
3.16341
5.41341
3.06334
2.31878
1.56878
6.11341
1.81334
1.61871
-1.48129
5.21871
3.61878
3.31334
3.26341
6.66871
-1.33122
5.21871
2.81878
1.76871
-1.88129
3.66878
4.86871
2.31878
2.56341
2.56341
5.31878
0.513407
5.31334
3.06878
-6.18666
0.168714
0.668714
6.26341
2.01871
0.618783
2.86871
4.11871
-0.081286
-1.08129
0.318783
-1.93122
3.11878
-2.68122
4.96871
0.368714
2.56878
0.963338
0.868714
1.66871
3.01871
6.41341
1.31878
-0.186662
2.41871
-0.086593
1.36871
-2.98659
0.368783
5.96871
4.31878
-1.08122
2.41341
-1.88666
-0.031286
2.56334
-0.436593
3.56878
5.31341
-1.13122
2.41871
3.96334
-5.58129
-0.486593
2.76341
5.51334
1.96871
3.31334
3.31878
5.56341
5.26334
4.76334
5.31334
0.818783
0.013407
-3.33659
-8.33659
-1.38129
0.763407
-1.13659
0.118783
-0.436662
-1.83129
2.61878
6.66871
-1.08122
2.31878
3.81334
1.21341
2.31334
0.513407
-0.986593
-1.83666
2.46878
1.91871
0.363407
3.61871
-4.43122
-6.08666
-0.631286
-4.43122
-1.33122
-0.881286
-2.33122
2.61878
3.41871
1.11878
0.718714
2.46871
4.56878
-1.33122
2.11871
-0.081217
1.86871
4.51871
2.91878
0.813338
3.41871
-4.18122




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=265504&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'Gwilym Jenkins' @ jenkins.wessa.net







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[-10,-8[-930.0107910.0107910.005396
[-8,-6[-7120.0431650.0539570.021583
[-6,-4[-5220.0791370.1330940.039568
[-4,-2[-3350.1258990.2589930.06295
[-2,0[-1640.2302160.4892090.115108
[0,2[1590.212230.7014390.106115
[2,4[3490.1762590.8776980.088129
[4,6[5280.1007190.9784170.05036
[6,8]760.02158310.010791

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[-10,-8[ & -9 & 3 & 0.010791 & 0.010791 & 0.005396 \tabularnewline
[-8,-6[ & -7 & 12 & 0.043165 & 0.053957 & 0.021583 \tabularnewline
[-6,-4[ & -5 & 22 & 0.079137 & 0.133094 & 0.039568 \tabularnewline
[-4,-2[ & -3 & 35 & 0.125899 & 0.258993 & 0.06295 \tabularnewline
[-2,0[ & -1 & 64 & 0.230216 & 0.489209 & 0.115108 \tabularnewline
[0,2[ & 1 & 59 & 0.21223 & 0.701439 & 0.106115 \tabularnewline
[2,4[ & 3 & 49 & 0.176259 & 0.877698 & 0.088129 \tabularnewline
[4,6[ & 5 & 28 & 0.100719 & 0.978417 & 0.05036 \tabularnewline
[6,8] & 7 & 6 & 0.021583 & 1 & 0.010791 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=265504&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][-10,-8[[/C][C]-9[/C][C]3[/C][C]0.010791[/C][C]0.010791[/C][C]0.005396[/C][/ROW]
[ROW][C][-8,-6[[/C][C]-7[/C][C]12[/C][C]0.043165[/C][C]0.053957[/C][C]0.021583[/C][/ROW]
[ROW][C][-6,-4[[/C][C]-5[/C][C]22[/C][C]0.079137[/C][C]0.133094[/C][C]0.039568[/C][/ROW]
[ROW][C][-4,-2[[/C][C]-3[/C][C]35[/C][C]0.125899[/C][C]0.258993[/C][C]0.06295[/C][/ROW]
[ROW][C][-2,0[[/C][C]-1[/C][C]64[/C][C]0.230216[/C][C]0.489209[/C][C]0.115108[/C][/ROW]
[ROW][C][0,2[[/C][C]1[/C][C]59[/C][C]0.21223[/C][C]0.701439[/C][C]0.106115[/C][/ROW]
[ROW][C][2,4[[/C][C]3[/C][C]49[/C][C]0.176259[/C][C]0.877698[/C][C]0.088129[/C][/ROW]
[ROW][C][4,6[[/C][C]5[/C][C]28[/C][C]0.100719[/C][C]0.978417[/C][C]0.05036[/C][/ROW]
[ROW][C][6,8][/C][C]7[/C][C]6[/C][C]0.021583[/C][C]1[/C][C]0.010791[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=265504&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=265504&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
[-10,-8[-930.0107910.0107910.005396
[-8,-6[-7120.0431650.0539570.021583
[-6,-4[-5220.0791370.1330940.039568
[-4,-2[-3350.1258990.2589930.06295
[-2,0[-1640.2302160.4892090.115108
[0,2[1590.212230.7014390.106115
[2,4[3490.1762590.8776980.088129
[4,6[5280.1007190.9784170.05036
[6,8]760.02158310.010791



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