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 computationThu, 13 Dec 2012 03:32:32 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/13/t135538767240a5p0rr58mfn47.htm/, Retrieved Sun, 28 Apr 2024 23:02:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=199105, Retrieved Sun, 28 Apr 2024 23:02:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact125
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Histogram] [Histogram_Kwantit...] [2012-12-13 08:32:32] [7338cd26db379c04f0557b08db763c32] [Current]
Feedback Forum

Post a new message
Dataseries X:
-0.022233741935946
-0.0337049618302789
0.0483091173022536
-0.0328230112698192
-0.00129211833139745
0.0493110612449295
0.0546224665122492
-0.117861816687168
0.0964634691039859
-0.057206691269101
0.0169055095472312
0.000418453742588826
-0.0332118403822401
0.0549981998657286
0.0127322326541685
0.0610913283233975
-0.0019111424907391
0.0429458684670947
0.0883744311870188
-0.0253372305781694
0.0442751936347496
-0.0498065743387287
-0.115577586197062
0.0482822007571424
-0.0269254394285212
0.0417421106977919
0.121288318284434
0.0506920605675248
-0.0452100830718099
0.0262370611392832
-0.114723096048744
-0.0508642347280115
0.0633687372187966
-0.0541211052632598
0.0407749763734133
-0.0941128595786898
0.015435653543991
-0.055324663916535
-0.00950078905111242
-0.0107386844092742
0.0648371464786483
0.11783327215929
-0.0699628235512219
-0.0169086371785917
0.0125207069884029
-0.117606708120584
-0.12614630195538
-0.0120468227653684
0.101403460910754
0.0406400849913568
-0.0998269376329929
-0.0840652332813605
0.067433385830686
-0.0265257998508688
-0.132208402109275
-0.0634075932392397
-0.074637185996262
0.00439331775862862
0.0714154313280112
-0.00840885782343924
-0.0197141074033701
-0.0151630828547778
0.0023018283282845
0.0626848114865405
-0.0375980238509903
-0.00672354088742954
-0.0634845532183547
0.0080777000853584
0.0532357321344355
0.156246992095981
0.00428156239990805
-0.0907271168789632
0.0149871900305455
-0.0654535629443536
-0.0436503883976878
0.114006133819454
-0.0464039946737136
0.163564705337558
0.196650273011862
-0.0365294743495848
0.0551816376522701
0.0193293408632397
-0.00119475807828245
0.13824857305317
0.0326052113167632
0.0345141739983188
0.163559451703034
0.0519730070697135
-0.0978115986661146
-0.0343292816406266
0.021378350032612
-0.066554633721728
0.0439363847934594
-0.0372268476233024
0.129504606838199
-0.0475261499399805
-0.0252802111384205
-0.0255631547951124
0.0621350132274366
-0.00616652765913827
-0.036725766927999
0.0146705008550498
0.122403575135419
0.0190496624176541
0.0194296827557652
-0.0830623797931113
-0.0579912101991109
-0.0912263140235452
-0.066820349773012
0.0570150520255438
0.105734369136635
-0.0731390574093828
0.163256913206732
-0.0919587164866352
0.0533918381211822
-0.032307594418593
0.101959726283765
0.126263056913576
-0.0253694810886072
-0.00381195416068994




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199105&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
[-0.15,-0.1[-0.12560.050.051
[-0.1,-0.05[-0.075210.1750.2253.5
[-0.05,0[-0.025340.2833330.5083335.666667
[0,0.05[0.025270.2250.7333334.5
[0.05,0.1[0.075170.1416670.8752.833333
[0.1,0.15[0.125100.0833330.9583331.666667
[0.15,0.2]0.17550.04166710.833333

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[-0.15,-0.1[ & -0.125 & 6 & 0.05 & 0.05 & 1 \tabularnewline
[-0.1,-0.05[ & -0.075 & 21 & 0.175 & 0.225 & 3.5 \tabularnewline
[-0.05,0[ & -0.025 & 34 & 0.283333 & 0.508333 & 5.666667 \tabularnewline
[0,0.05[ & 0.025 & 27 & 0.225 & 0.733333 & 4.5 \tabularnewline
[0.05,0.1[ & 0.075 & 17 & 0.141667 & 0.875 & 2.833333 \tabularnewline
[0.1,0.15[ & 0.125 & 10 & 0.083333 & 0.958333 & 1.666667 \tabularnewline
[0.15,0.2] & 0.175 & 5 & 0.041667 & 1 & 0.833333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199105&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][-0.15,-0.1[[/C][C]-0.125[/C][C]6[/C][C]0.05[/C][C]0.05[/C][C]1[/C][/ROW]
[ROW][C][-0.1,-0.05[[/C][C]-0.075[/C][C]21[/C][C]0.175[/C][C]0.225[/C][C]3.5[/C][/ROW]
[ROW][C][-0.05,0[[/C][C]-0.025[/C][C]34[/C][C]0.283333[/C][C]0.508333[/C][C]5.666667[/C][/ROW]
[ROW][C][0,0.05[[/C][C]0.025[/C][C]27[/C][C]0.225[/C][C]0.733333[/C][C]4.5[/C][/ROW]
[ROW][C][0.05,0.1[[/C][C]0.075[/C][C]17[/C][C]0.141667[/C][C]0.875[/C][C]2.833333[/C][/ROW]
[ROW][C][0.1,0.15[[/C][C]0.125[/C][C]10[/C][C]0.083333[/C][C]0.958333[/C][C]1.666667[/C][/ROW]
[ROW][C][0.15,0.2][/C][C]0.175[/C][C]5[/C][C]0.041667[/C][C]1[/C][C]0.833333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199105&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199105&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
[-0.15,-0.1[-0.12560.050.051
[-0.1,-0.05[-0.075210.1750.2253.5
[-0.05,0[-0.025340.2833330.5083335.666667
[0,0.05[0.025270.2250.7333334.5
[0.05,0.1[0.075170.1416670.8752.833333
[0.1,0.15[0.125100.0833330.9583331.666667
[0.15,0.2]0.17550.04166710.833333



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