Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationMon, 02 Feb 2015 11:06:31 +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/2015/Feb/02/t1422875248dmvs9nnmdkwdaei.htm/, Retrieved Sat, 18 May 2024 01:12:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=276438, Retrieved Sat, 18 May 2024 01:12:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact120
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2015-01-29 10:39:51] [43a2f000083f7295d897313060757d3a]
- RMP   [Histogram] [consumentenvertro...] [2015-02-02 11:04:56] [43a2f000083f7295d897313060757d3a]
- R P       [Histogram] [consumentenvertro...] [2015-02-02 11:06:31] [e6344a6a1a33122c0bdf1792ef294740] [Current]
Feedback Forum

Post a new message
Dataseries X:
-4
-5
-6
-6
-7
-12
-16
-18
-19
-20
-24
-17
-23
-25
-24
-17
-14
-16
-13
-10
-10
-12
-12
-20
-16
-12
-14
-7
-9
-9
-4
-3
1
-1
-2
1
-3
-2
0
-2
-4
-4
-7
-9
-13
-8
-13
-15
-15
-15
-10
-12
-11
-11
-17
-18
-19
-22
-24
-24
-20
-25
-22
-17
-9
-11
-13
-11
-9
-7
-3
-3
-6
-4
-8
-1
-2
-2
-1
1
2
2
-1
1
-1
-8
1
2
-2
-2
-2
-2
-6
-4
-5
-2
-1




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=276438&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=276438&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=276438&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
[-25,-24[-24.520.0206190.0206190.020619
[-24,-23[-23.540.0412370.0618560.041237
[-23,-22[-22.510.0103090.0721650.010309
[-22,-21[-21.520.0206190.0927840.020619
[-21,-20[-20.5000.0927840
[-20,-19[-19.530.0309280.1237110.030928
[-19,-18[-18.520.0206190.144330.020619
[-18,-17[-17.520.0206190.1649480.020619
[-17,-16[-16.540.0412370.2061860.041237
[-16,-15[-15.530.0309280.2371130.030928
[-15,-14[-14.530.0309280.2680410.030928
[-14,-13[-13.520.0206190.288660.020619
[-13,-12[-12.540.0412370.3298970.041237
[-12,-11[-11.550.0515460.3814430.051546
[-11,-10[-10.540.0412370.422680.041237
[-10,-9[-9.530.0309280.4536080.030928
[-9,-8[-8.550.0515460.5051550.051546
[-8,-7[-7.530.0309280.5360820.030928
[-7,-6[-6.540.0412370.577320.041237
[-6,-5[-5.540.0412370.6185570.041237
[-5,-4[-4.520.0206190.6391750.020619
[-4,-3[-3.560.0618560.7010310.061856
[-3,-2[-2.540.0412370.7422680.041237
[-2,-1[-1.5100.1030930.8453610.103093
[-1,0[-0.560.0618560.9072160.061856
[0,1[0.510.0103090.9175260.010309
[1,2]1.580.08247410.082474

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[-25,-24[ & -24.5 & 2 & 0.020619 & 0.020619 & 0.020619 \tabularnewline
[-24,-23[ & -23.5 & 4 & 0.041237 & 0.061856 & 0.041237 \tabularnewline
[-23,-22[ & -22.5 & 1 & 0.010309 & 0.072165 & 0.010309 \tabularnewline
[-22,-21[ & -21.5 & 2 & 0.020619 & 0.092784 & 0.020619 \tabularnewline
[-21,-20[ & -20.5 & 0 & 0 & 0.092784 & 0 \tabularnewline
[-20,-19[ & -19.5 & 3 & 0.030928 & 0.123711 & 0.030928 \tabularnewline
[-19,-18[ & -18.5 & 2 & 0.020619 & 0.14433 & 0.020619 \tabularnewline
[-18,-17[ & -17.5 & 2 & 0.020619 & 0.164948 & 0.020619 \tabularnewline
[-17,-16[ & -16.5 & 4 & 0.041237 & 0.206186 & 0.041237 \tabularnewline
[-16,-15[ & -15.5 & 3 & 0.030928 & 0.237113 & 0.030928 \tabularnewline
[-15,-14[ & -14.5 & 3 & 0.030928 & 0.268041 & 0.030928 \tabularnewline
[-14,-13[ & -13.5 & 2 & 0.020619 & 0.28866 & 0.020619 \tabularnewline
[-13,-12[ & -12.5 & 4 & 0.041237 & 0.329897 & 0.041237 \tabularnewline
[-12,-11[ & -11.5 & 5 & 0.051546 & 0.381443 & 0.051546 \tabularnewline
[-11,-10[ & -10.5 & 4 & 0.041237 & 0.42268 & 0.041237 \tabularnewline
[-10,-9[ & -9.5 & 3 & 0.030928 & 0.453608 & 0.030928 \tabularnewline
[-9,-8[ & -8.5 & 5 & 0.051546 & 0.505155 & 0.051546 \tabularnewline
[-8,-7[ & -7.5 & 3 & 0.030928 & 0.536082 & 0.030928 \tabularnewline
[-7,-6[ & -6.5 & 4 & 0.041237 & 0.57732 & 0.041237 \tabularnewline
[-6,-5[ & -5.5 & 4 & 0.041237 & 0.618557 & 0.041237 \tabularnewline
[-5,-4[ & -4.5 & 2 & 0.020619 & 0.639175 & 0.020619 \tabularnewline
[-4,-3[ & -3.5 & 6 & 0.061856 & 0.701031 & 0.061856 \tabularnewline
[-3,-2[ & -2.5 & 4 & 0.041237 & 0.742268 & 0.041237 \tabularnewline
[-2,-1[ & -1.5 & 10 & 0.103093 & 0.845361 & 0.103093 \tabularnewline
[-1,0[ & -0.5 & 6 & 0.061856 & 0.907216 & 0.061856 \tabularnewline
[0,1[ & 0.5 & 1 & 0.010309 & 0.917526 & 0.010309 \tabularnewline
[1,2] & 1.5 & 8 & 0.082474 & 1 & 0.082474 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=276438&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][-25,-24[[/C][C]-24.5[/C][C]2[/C][C]0.020619[/C][C]0.020619[/C][C]0.020619[/C][/ROW]
[ROW][C][-24,-23[[/C][C]-23.5[/C][C]4[/C][C]0.041237[/C][C]0.061856[/C][C]0.041237[/C][/ROW]
[ROW][C][-23,-22[[/C][C]-22.5[/C][C]1[/C][C]0.010309[/C][C]0.072165[/C][C]0.010309[/C][/ROW]
[ROW][C][-22,-21[[/C][C]-21.5[/C][C]2[/C][C]0.020619[/C][C]0.092784[/C][C]0.020619[/C][/ROW]
[ROW][C][-21,-20[[/C][C]-20.5[/C][C]0[/C][C]0[/C][C]0.092784[/C][C]0[/C][/ROW]
[ROW][C][-20,-19[[/C][C]-19.5[/C][C]3[/C][C]0.030928[/C][C]0.123711[/C][C]0.030928[/C][/ROW]
[ROW][C][-19,-18[[/C][C]-18.5[/C][C]2[/C][C]0.020619[/C][C]0.14433[/C][C]0.020619[/C][/ROW]
[ROW][C][-18,-17[[/C][C]-17.5[/C][C]2[/C][C]0.020619[/C][C]0.164948[/C][C]0.020619[/C][/ROW]
[ROW][C][-17,-16[[/C][C]-16.5[/C][C]4[/C][C]0.041237[/C][C]0.206186[/C][C]0.041237[/C][/ROW]
[ROW][C][-16,-15[[/C][C]-15.5[/C][C]3[/C][C]0.030928[/C][C]0.237113[/C][C]0.030928[/C][/ROW]
[ROW][C][-15,-14[[/C][C]-14.5[/C][C]3[/C][C]0.030928[/C][C]0.268041[/C][C]0.030928[/C][/ROW]
[ROW][C][-14,-13[[/C][C]-13.5[/C][C]2[/C][C]0.020619[/C][C]0.28866[/C][C]0.020619[/C][/ROW]
[ROW][C][-13,-12[[/C][C]-12.5[/C][C]4[/C][C]0.041237[/C][C]0.329897[/C][C]0.041237[/C][/ROW]
[ROW][C][-12,-11[[/C][C]-11.5[/C][C]5[/C][C]0.051546[/C][C]0.381443[/C][C]0.051546[/C][/ROW]
[ROW][C][-11,-10[[/C][C]-10.5[/C][C]4[/C][C]0.041237[/C][C]0.42268[/C][C]0.041237[/C][/ROW]
[ROW][C][-10,-9[[/C][C]-9.5[/C][C]3[/C][C]0.030928[/C][C]0.453608[/C][C]0.030928[/C][/ROW]
[ROW][C][-9,-8[[/C][C]-8.5[/C][C]5[/C][C]0.051546[/C][C]0.505155[/C][C]0.051546[/C][/ROW]
[ROW][C][-8,-7[[/C][C]-7.5[/C][C]3[/C][C]0.030928[/C][C]0.536082[/C][C]0.030928[/C][/ROW]
[ROW][C][-7,-6[[/C][C]-6.5[/C][C]4[/C][C]0.041237[/C][C]0.57732[/C][C]0.041237[/C][/ROW]
[ROW][C][-6,-5[[/C][C]-5.5[/C][C]4[/C][C]0.041237[/C][C]0.618557[/C][C]0.041237[/C][/ROW]
[ROW][C][-5,-4[[/C][C]-4.5[/C][C]2[/C][C]0.020619[/C][C]0.639175[/C][C]0.020619[/C][/ROW]
[ROW][C][-4,-3[[/C][C]-3.5[/C][C]6[/C][C]0.061856[/C][C]0.701031[/C][C]0.061856[/C][/ROW]
[ROW][C][-3,-2[[/C][C]-2.5[/C][C]4[/C][C]0.041237[/C][C]0.742268[/C][C]0.041237[/C][/ROW]
[ROW][C][-2,-1[[/C][C]-1.5[/C][C]10[/C][C]0.103093[/C][C]0.845361[/C][C]0.103093[/C][/ROW]
[ROW][C][-1,0[[/C][C]-0.5[/C][C]6[/C][C]0.061856[/C][C]0.907216[/C][C]0.061856[/C][/ROW]
[ROW][C][0,1[[/C][C]0.5[/C][C]1[/C][C]0.010309[/C][C]0.917526[/C][C]0.010309[/C][/ROW]
[ROW][C][1,2][/C][C]1.5[/C][C]8[/C][C]0.082474[/C][C]1[/C][C]0.082474[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=276438&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=276438&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
[-25,-24[-24.520.0206190.0206190.020619
[-24,-23[-23.540.0412370.0618560.041237
[-23,-22[-22.510.0103090.0721650.010309
[-22,-21[-21.520.0206190.0927840.020619
[-21,-20[-20.5000.0927840
[-20,-19[-19.530.0309280.1237110.030928
[-19,-18[-18.520.0206190.144330.020619
[-18,-17[-17.520.0206190.1649480.020619
[-17,-16[-16.540.0412370.2061860.041237
[-16,-15[-15.530.0309280.2371130.030928
[-15,-14[-14.530.0309280.2680410.030928
[-14,-13[-13.520.0206190.288660.020619
[-13,-12[-12.540.0412370.3298970.041237
[-12,-11[-11.550.0515460.3814430.051546
[-11,-10[-10.540.0412370.422680.041237
[-10,-9[-9.530.0309280.4536080.030928
[-9,-8[-8.550.0515460.5051550.051546
[-8,-7[-7.530.0309280.5360820.030928
[-7,-6[-6.540.0412370.577320.041237
[-6,-5[-5.540.0412370.6185570.041237
[-5,-4[-4.520.0206190.6391750.020619
[-4,-3[-3.560.0618560.7010310.061856
[-3,-2[-2.540.0412370.7422680.041237
[-2,-1[-1.5100.1030930.8453610.103093
[-1,0[-0.560.0618560.9072160.061856
[0,1[0.510.0103090.9175260.010309
[1,2]1.580.08247410.082474



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