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 computationTue, 16 Dec 2014 12:56:52 +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/16/t1418734622znq6e58zn6vx9a4.htm/, Retrieved Thu, 16 May 2024 17:31:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=269451, Retrieved Thu, 16 May 2024 17:31:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact62
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [] [2014-12-16 12:56:52] [6f1b1943390e6908ad1cf28c6ee297e8] [Current]
Feedback Forum

Post a new message
Dataseries X:
2.25892
-1.29359
-0.920014
-5.5369
-3.9301
-3.03206
0.803242
0.144455
0.207334
-4.96333
-3.26506
-5.01001
0.713676
-1.38976
5.29186
-1.50333
-0.645347
-1.22947
-4.36062
-3.04073
-6.41111
2.66673
-3.72189
-1.4437
-0.493127
-6.78728
0.82794
-0.98053
-2.83563
-2.34581
-3.02676
-2.22128
-1.21339
-3.31238
-1.8382
0.967164
-3.39549
-0.592319
-3.32082
-3.69849
-6.88915
-1.20984
-1.07223
-2.2627
-0.73295
-3.4012
-1.45618
-4.87817
1.61385
0.215291
-2.86699
-4.87056
-2.82001
1.30797
1.19333
-1.26289
-5.9648
3.41831
1.42682
2.44028
-1.71846
-1.57223
-6.43929
-0.730622
-2.37195
-1.00497
-3.50056
-2.89783
-0.226356
0.621659
-2.14961
-0.731829
-0.521855
0.560708
0.14111
-1.07223
1.43837
-0.796758
-3.51033
-5.06399
-2.42912
0.485059
-1.80269
-5.55018
-4.44373
-0.863355
0.225464
-2.01033
-3.68598
1.40941
0.741718
-5.71258
-2.58405
-2.55191
-6.31413
-2.48869
-4.31448
-1.06209
1.21339
-6.41604
-0.0229502
-0.710675
-2.30814
-4.18451
0.236184
-2.51068
-0.56445
-5.90941
-3.8701
-4.41413
-1.36526
-0.352548
-6.85416
-1.65857
4.32967
3.97903
3.86117
0.892669
2.22269
5.1284
2.10324
1.66783
3.1531
4.49829
-1.9124
-0.189148
3.50759
1.06244
4.05563
1.56244
0.859353
0.450244
1.10935
-0.317217
1.34258
-0.961596
4.30927
-2.20162
3.07762
3.1599
-0.182806
2.82627
0.603011
2.93143
2.60483
2.45342
0.584425
1.61117
0.656499
3.15016
-5.90039
2.35935
3.55269
2.52618
2.89267
1.61434
1.64788
2.76053
1.96022
-0.984939
2.38065
2.16261
2.75102
6.05313
4.27572
0.496705
2.28002
2.68823
1.71157
-0.70955
0.333504
5.21022
1.0561
3.58036
3.58036
4.83601
0.384742
5.1284
1.6803
-3.62932
-0.412865
-0.69278
5.20388
1.86094
-2.3469
3.33601
4.63633
-1.24151
-2.29183
1.06878
-1.15606
1.10912
-2.10733
2.30676
1.66624
3.01688
0.178487
1.86434
1.38904
2.70999
2.94255
1.96815
0.0560955
1.15785
-1.09192
3.01846
-1.25353
3.67328
2.80359
4.06244
0.922815
0.653328
-2.34056
2.04227
2.47903
-1.73993
3.43823
2.19866
-1.83263
1.28365
3.37976
-5.13136
-0.41399
2.30768
6.65402
0.69048
3.65673
3.43982
3.80722
2.97676
1.99875
5.58125
0.889499
-1.37319
-3.63748
-7.55566
0.64584
-0.0445387
0.81901
-1.28707
0.611169
-1.73358
0.785233
4.27572
-0.184161
1.73538
3.47745
-1.26849
2.93347
0.0325224
-1.71906
0.641314
1.61252
1.56356
-0.196845
4.08601
-3.7567
-3.86027
-0.0130382
-4.7882
0.496705
0.139499
-1.66059
0.785233
2.61071
0.266416
2.81742
-0.142923
3.9099
0.295437
2.33442
1.1429
2.81402
4.2603
-0.542289
1.6599
2.10754





Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ yule.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 'George Udny Yule' @ yule.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=269451&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]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=269451&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269451&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'George Udny Yule' @ yule.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[-8,-6[-780.0288810.0288810.01444
[-6,-4[-5180.0649820.0938630.032491
[-4,-2[-3400.1444040.2382670.072202
[-2,0[-1630.2274370.4657040.113718
[0,2[1740.2671480.7328520.133574
[2,4[3550.1985560.9314080.099278
[4,6[5170.0613720.992780.030686
[6,8]720.0072210.00361

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[-8,-6[ & -7 & 8 & 0.028881 & 0.028881 & 0.01444 \tabularnewline
[-6,-4[ & -5 & 18 & 0.064982 & 0.093863 & 0.032491 \tabularnewline
[-4,-2[ & -3 & 40 & 0.144404 & 0.238267 & 0.072202 \tabularnewline
[-2,0[ & -1 & 63 & 0.227437 & 0.465704 & 0.113718 \tabularnewline
[0,2[ & 1 & 74 & 0.267148 & 0.732852 & 0.133574 \tabularnewline
[2,4[ & 3 & 55 & 0.198556 & 0.931408 & 0.099278 \tabularnewline
[4,6[ & 5 & 17 & 0.061372 & 0.99278 & 0.030686 \tabularnewline
[6,8] & 7 & 2 & 0.00722 & 1 & 0.00361 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=269451&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][-8,-6[[/C][C]-7[/C][C]8[/C][C]0.028881[/C][C]0.028881[/C][C]0.01444[/C][/ROW]
[ROW][C][-6,-4[[/C][C]-5[/C][C]18[/C][C]0.064982[/C][C]0.093863[/C][C]0.032491[/C][/ROW]
[ROW][C][-4,-2[[/C][C]-3[/C][C]40[/C][C]0.144404[/C][C]0.238267[/C][C]0.072202[/C][/ROW]
[ROW][C][-2,0[[/C][C]-1[/C][C]63[/C][C]0.227437[/C][C]0.465704[/C][C]0.113718[/C][/ROW]
[ROW][C][0,2[[/C][C]1[/C][C]74[/C][C]0.267148[/C][C]0.732852[/C][C]0.133574[/C][/ROW]
[ROW][C][2,4[[/C][C]3[/C][C]55[/C][C]0.198556[/C][C]0.931408[/C][C]0.099278[/C][/ROW]
[ROW][C][4,6[[/C][C]5[/C][C]17[/C][C]0.061372[/C][C]0.99278[/C][C]0.030686[/C][/ROW]
[ROW][C][6,8][/C][C]7[/C][C]2[/C][C]0.00722[/C][C]1[/C][C]0.00361[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=269451&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=269451&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
[-8,-6[-780.0288810.0288810.01444
[-6,-4[-5180.0649820.0938630.032491
[-4,-2[-3400.1444040.2382670.072202
[-2,0[-1630.2274370.4657040.113718
[0,2[1740.2671480.7328520.133574
[2,4[3550.1985560.9314080.099278
[4,6[5170.0613720.992780.030686
[6,8]720.0072210.00361



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