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 18:27:55 +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/t1418236095y9onfdcjw8a7zfa.htm/, Retrieved Sun, 19 May 2024 16:09:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=265568, Retrieved Sun, 19 May 2024 16:09:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact57
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [] [2014-12-10 18:27:55] [18673d63f90870b9c004059cd6229007] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.46725
1.25808
1.48609
-3.80196
-3.73682
-0.107468
4.00258
2.01469
0.115039
-2.69754
-0.183912
-4.034
1.42388
-0.528811
0.295863
2.28985
-0.0672764
-0.632679
-2.19063
0.874613
-2.91574
2.36713
-0.43871
1.97684
1.09285
-2.09035
1.38979
2.26563
-0.93194
1.38673
-0.949309
1.18481
-0.831287
-2.08574
0.718134
0.688451
0.138472
1.92793
-2.56972
-0.400069
-4.31306
-0.276966
2.36745
-0.0199196
2.47995
-1.08587
1.58175
-3.56155
3.74588
2.14092
0.0363765
-2.26599
0.574453
1.56534
3.06188
-0.183333
-3.98306
4.40275
0.438997
2.08526
-2.16024
1.39036
-1.90682
3.09344
-1.19661
-0.45818
-1.25839
0.0307449
2.73606
0.834976
-0.284825
1.66753
-1.06635
1.74734
1.86457
1.58452
1.36444
1.53725
-0.356276
-2.70724
-0.860394
3.23067
-0.292371
-4.05405
-0.915332
0.331324
0.895671
0.681008
-2.07664
2.12997
2.9942
-4.45635
-1.06387
-1.56911
-3.2511
-0.667202
-2.61882
1.70307
2.93755
-3.5992
1.169
0.0808492
-1.39873
-1.65383
2.94775
-1.4546
2.96372
-3.99759
-2.33545
-1.65808
0.885525
0.554089
-4.70651
0.929584
1.70305
1.57064
-1.51857
1.29769
-2.18564
1.46429
-2.44851
2.4724
0.232374
4.26384
-2.82685
-0.481493
0.91273
-1.12433
1.12069
1.13881
0.315118
-1.0399
1.86808
1.13018
0.517212
-0.691253
2.81737
-2.67306
0.901967
0.568533
-0.626189
1.49991
0.0538636
1.76699
0.178477
0.582032
-1.20109
0.315794
-1.64319
0.794419
-4.96891
1.40685
0.967728
-0.212793
2.24782
-0.311363
1.32906
1.8133
-1.90113
-1.32368
1.66076
1.06083
-0.280814
5.31957
0.391003
0.964578
0.609691
1.78905
-0.60428
-2.22239
0.480997
2.21674
-1.35063
-0.51833
-0.475404
1.57454
-0.853579
1.76932
-1.39598
-2.30767
-2.50822
-0.967128
1.67306
-0.708567
-3.75511
-0.288623
2.48329
-2.31911
-0.831442
0.366523
-0.619829
1.61201
-2.85098
2.30315
0.216015
1.07882
-2.72074
0.355582
2.2272
0.403158
1.21141
0.8405
-1.1345
0.0395547
-1.55879
2.08404
-0.399052
1.65532
1.22025
0.216811
1.04539
0.443068
-1.64247
-0.921328
-0.657992
-0.679022
0.829108
1.95223
0.397846
-1.19914
1.41165
-1.98985
-0.173054
0.301597
2.49234
2.13301
1.04074
2.81395
2.23319
1.79316
2.938
1.63497
1.10019
-2.6987
-0.591428
-4.97063
0.491887
-2.32414
-0.726471
-1.51561
-1.29697
-2.45473
0.678283
0.927435
-1.27779
-0.355455
0.084752
-1.14388
-0.972681
-1.77171
-3.42906
-1.99882
1.0288
1.48878
-2.5845
0.874212
-3.44218
-4.34549
-1.55994
-6.93014
0.327746
-0.225929
-2.03262
0.946343
1.24344
0.109968
0.647432
0.646892
1.77538
0.0551093
3.12906
-0.0281069
1.13054
0.777102
0.663512
0.912215
0.84657
-0.855017




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=265568&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
[-7,-6[-6.510.0035970.0035970.003597
[-6,-5[-5.5000.0035970
[-5,-4[-4.580.0287770.0323740.028777
[-4,-3[-3.5100.0359710.0683450.035971
[-3,-2[-2.5270.0971220.1654680.097122
[-2,-1[-1.5320.1151080.2805760.115108
[-1,0[-0.5470.1690650.449640.169065
[0,1[0.5600.2158270.6654680.215827
[1,2[1.5570.2050360.8705040.205036
[2,3[2.5270.0971220.9676260.097122
[3,4[3.550.0179860.9856120.017986
[4,5[4.530.0107910.9964030.010791
[5,6]5.510.00359710.003597

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[-7,-6[ & -6.5 & 1 & 0.003597 & 0.003597 & 0.003597 \tabularnewline
[-6,-5[ & -5.5 & 0 & 0 & 0.003597 & 0 \tabularnewline
[-5,-4[ & -4.5 & 8 & 0.028777 & 0.032374 & 0.028777 \tabularnewline
[-4,-3[ & -3.5 & 10 & 0.035971 & 0.068345 & 0.035971 \tabularnewline
[-3,-2[ & -2.5 & 27 & 0.097122 & 0.165468 & 0.097122 \tabularnewline
[-2,-1[ & -1.5 & 32 & 0.115108 & 0.280576 & 0.115108 \tabularnewline
[-1,0[ & -0.5 & 47 & 0.169065 & 0.44964 & 0.169065 \tabularnewline
[0,1[ & 0.5 & 60 & 0.215827 & 0.665468 & 0.215827 \tabularnewline
[1,2[ & 1.5 & 57 & 0.205036 & 0.870504 & 0.205036 \tabularnewline
[2,3[ & 2.5 & 27 & 0.097122 & 0.967626 & 0.097122 \tabularnewline
[3,4[ & 3.5 & 5 & 0.017986 & 0.985612 & 0.017986 \tabularnewline
[4,5[ & 4.5 & 3 & 0.010791 & 0.996403 & 0.010791 \tabularnewline
[5,6] & 5.5 & 1 & 0.003597 & 1 & 0.003597 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=265568&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][-7,-6[[/C][C]-6.5[/C][C]1[/C][C]0.003597[/C][C]0.003597[/C][C]0.003597[/C][/ROW]
[ROW][C][-6,-5[[/C][C]-5.5[/C][C]0[/C][C]0[/C][C]0.003597[/C][C]0[/C][/ROW]
[ROW][C][-5,-4[[/C][C]-4.5[/C][C]8[/C][C]0.028777[/C][C]0.032374[/C][C]0.028777[/C][/ROW]
[ROW][C][-4,-3[[/C][C]-3.5[/C][C]10[/C][C]0.035971[/C][C]0.068345[/C][C]0.035971[/C][/ROW]
[ROW][C][-3,-2[[/C][C]-2.5[/C][C]27[/C][C]0.097122[/C][C]0.165468[/C][C]0.097122[/C][/ROW]
[ROW][C][-2,-1[[/C][C]-1.5[/C][C]32[/C][C]0.115108[/C][C]0.280576[/C][C]0.115108[/C][/ROW]
[ROW][C][-1,0[[/C][C]-0.5[/C][C]47[/C][C]0.169065[/C][C]0.44964[/C][C]0.169065[/C][/ROW]
[ROW][C][0,1[[/C][C]0.5[/C][C]60[/C][C]0.215827[/C][C]0.665468[/C][C]0.215827[/C][/ROW]
[ROW][C][1,2[[/C][C]1.5[/C][C]57[/C][C]0.205036[/C][C]0.870504[/C][C]0.205036[/C][/ROW]
[ROW][C][2,3[[/C][C]2.5[/C][C]27[/C][C]0.097122[/C][C]0.967626[/C][C]0.097122[/C][/ROW]
[ROW][C][3,4[[/C][C]3.5[/C][C]5[/C][C]0.017986[/C][C]0.985612[/C][C]0.017986[/C][/ROW]
[ROW][C][4,5[[/C][C]4.5[/C][C]3[/C][C]0.010791[/C][C]0.996403[/C][C]0.010791[/C][/ROW]
[ROW][C][5,6][/C][C]5.5[/C][C]1[/C][C]0.003597[/C][C]1[/C][C]0.003597[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=265568&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=265568&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
[-7,-6[-6.510.0035970.0035970.003597
[-6,-5[-5.5000.0035970
[-5,-4[-4.580.0287770.0323740.028777
[-4,-3[-3.5100.0359710.0683450.035971
[-3,-2[-2.5270.0971220.1654680.097122
[-2,-1[-1.5320.1151080.2805760.115108
[-1,0[-0.5470.1690650.449640.169065
[0,1[0.5600.2158270.6654680.215827
[1,2[1.5570.2050360.8705040.205036
[2,3[2.5270.0971220.9676260.097122
[3,4[3.550.0179860.9856120.017986
[4,5[4.530.0107910.9964030.010791
[5,6]5.510.00359710.003597



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