Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationTue, 05 Oct 2010 19:24:45 +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/2010/Oct/05/t12863068561niv4gkj9b1p2j2.htm/, Retrieved Sat, 27 Apr 2024 21:42:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=81526, Retrieved Sat, 27 Apr 2024 21:42:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP1W22
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [TAAK 1] [2010-09-28 20:29:28] [93ec68c5682eec497a4d6a03b647d2dc]
-   P     [Histogram] [Frequentietabel e...] [2010-10-05 19:24:45] [907ff08aa543b935e12b9ef122e80b4e] [Current]
Feedback Forum

Post a new message
Dataseries X:
545.33
545.61
548.22
559.38
568.86
569.92
569.92
577.08
580.7
584.72
593.34
593.05
593.05
594.05
598.98
604.55
614.43
615.08
615.08
614.7
614.57
630.28
639.64
640.14
640.14
642.71
644.67
645.84
648.2
652.59
652.59
655.43
659.02
661.41
662.23
660.69
660.69
660.4
660.76
664.45
666.27
666.04
666.04
667.91
669.98
672.32
681.21
679.7
679.69
679.69
679.98
682.23
681.14
671.18
671.18
671.96
671.6
672.28
669.35
668.85
668.85
670.28
674.71
678.77
683.52
683.7
683.74
684.48
686.58
696.44
701.93
704.36
704.36
704.11
707.08
713.6
713.15
713.16
713.18
714.84
716.81
724.19
730.08
731.48
731.58
732.77
736.74
738.89
743.79
744.29
744.5
746.59
747.73
757.59
766.78
771.28




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' @ 72.249.76.132

\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' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=81526&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' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=81526&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=81526&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' @ 72.249.76.132







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[540,560[55040.0416670.0416670.002083
[560,580[57040.0416670.0833330.002083
[580,600[59070.0729170.156250.003646
[600,620[61060.06250.218750.003125
[620,640[63020.0208330.2395830.001042
[640,660[650100.1041670.343750.005208
[660,680[670280.2916670.6354170.014583
[680,700[69090.093750.7291670.004688
[700,720[710110.1145830.843750.005729
[720,740[73070.0729170.9166670.003646
[740,760[75060.06250.9791670.003125
[760,780]77020.02083310.001042

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[540,560[ & 550 & 4 & 0.041667 & 0.041667 & 0.002083 \tabularnewline
[560,580[ & 570 & 4 & 0.041667 & 0.083333 & 0.002083 \tabularnewline
[580,600[ & 590 & 7 & 0.072917 & 0.15625 & 0.003646 \tabularnewline
[600,620[ & 610 & 6 & 0.0625 & 0.21875 & 0.003125 \tabularnewline
[620,640[ & 630 & 2 & 0.020833 & 0.239583 & 0.001042 \tabularnewline
[640,660[ & 650 & 10 & 0.104167 & 0.34375 & 0.005208 \tabularnewline
[660,680[ & 670 & 28 & 0.291667 & 0.635417 & 0.014583 \tabularnewline
[680,700[ & 690 & 9 & 0.09375 & 0.729167 & 0.004688 \tabularnewline
[700,720[ & 710 & 11 & 0.114583 & 0.84375 & 0.005729 \tabularnewline
[720,740[ & 730 & 7 & 0.072917 & 0.916667 & 0.003646 \tabularnewline
[740,760[ & 750 & 6 & 0.0625 & 0.979167 & 0.003125 \tabularnewline
[760,780] & 770 & 2 & 0.020833 & 1 & 0.001042 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=81526&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][540,560[[/C][C]550[/C][C]4[/C][C]0.041667[/C][C]0.041667[/C][C]0.002083[/C][/ROW]
[ROW][C][560,580[[/C][C]570[/C][C]4[/C][C]0.041667[/C][C]0.083333[/C][C]0.002083[/C][/ROW]
[ROW][C][580,600[[/C][C]590[/C][C]7[/C][C]0.072917[/C][C]0.15625[/C][C]0.003646[/C][/ROW]
[ROW][C][600,620[[/C][C]610[/C][C]6[/C][C]0.0625[/C][C]0.21875[/C][C]0.003125[/C][/ROW]
[ROW][C][620,640[[/C][C]630[/C][C]2[/C][C]0.020833[/C][C]0.239583[/C][C]0.001042[/C][/ROW]
[ROW][C][640,660[[/C][C]650[/C][C]10[/C][C]0.104167[/C][C]0.34375[/C][C]0.005208[/C][/ROW]
[ROW][C][660,680[[/C][C]670[/C][C]28[/C][C]0.291667[/C][C]0.635417[/C][C]0.014583[/C][/ROW]
[ROW][C][680,700[[/C][C]690[/C][C]9[/C][C]0.09375[/C][C]0.729167[/C][C]0.004688[/C][/ROW]
[ROW][C][700,720[[/C][C]710[/C][C]11[/C][C]0.114583[/C][C]0.84375[/C][C]0.005729[/C][/ROW]
[ROW][C][720,740[[/C][C]730[/C][C]7[/C][C]0.072917[/C][C]0.916667[/C][C]0.003646[/C][/ROW]
[ROW][C][740,760[[/C][C]750[/C][C]6[/C][C]0.0625[/C][C]0.979167[/C][C]0.003125[/C][/ROW]
[ROW][C][760,780][/C][C]770[/C][C]2[/C][C]0.020833[/C][C]1[/C][C]0.001042[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=81526&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=81526&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
[540,560[55040.0416670.0416670.002083
[560,580[57040.0416670.0833330.002083
[580,600[59070.0729170.156250.003646
[600,620[61060.06250.218750.003125
[620,640[63020.0208330.2395830.001042
[640,660[650100.1041670.343750.005208
[660,680[670280.2916670.6354170.014583
[680,700[69090.093750.7291670.004688
[700,720[710110.1145830.843750.005729
[720,740[73070.0729170.9166670.003646
[740,760[75060.06250.9791670.003125
[760,780]77020.02083310.001042



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