Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationTue, 22 Feb 2011 18:20:22 +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/2011/Feb/22/t12983987354q1pco0s92lc4jz.htm/, Retrieved Sun, 19 May 2024 16:35:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=118918, Retrieved Sun, 19 May 2024 16:35:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP1W22
Estimated Impact145
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram] [Marina Cabraja: f...] [2011-02-11 11:36:40] [37062003e6da247d5c55c7deff68feac]
-         [Histogram] [marina cabraja: o...] [2011-02-22 18:20:22] [cf9fb0209173b95c2c219e792a280e54] [Current]
Feedback Forum

Post a new message
Dataseries X:
106.42
106.22
106.32
105.81
105.92
107.54
107.34
107.24
107.74
105.71
105.41
106.22
106.32
106.12
106.22
105.92
105.71
105.71
105.92
105.71
105.41
104.49
101.35
99.72
99.01
97.89
95.86
94.95
95.35
95.15
95.46
95.56
95.05
94.64
93.63
93.12
93.53
97.18
96.27
95.15
97.08
101.95
103.07
103.68
102.87
102.56
103.38
103.27
102.89
102.69
101.54
102.9
101.53
101.96
101.99
101.11
101.75
101.71
104.11
103.57
103.32
103.64
103.68
103.79
103.01
101.54
101.9
103.68
104.62
104.11
105.04
104.83
105.05
104.68
107.32
109.9
109.77
110.69
110.54
110.89
110.95
109.73
110.85
110.39
110.58
110.4
111.07
110.86
111.38
111.44
110.36
110.06
108.34
107.94
107.39
107.1
107.61
107.74
106.9
106.71
106.6
108.21
110.54
110.91
109.51
110.27
111.39
112.13
111.64




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' @ www.yougetit.org

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

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







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[92,94[9330.0275230.0275230.013761
[94,96[9590.0825690.1100920.041284
[96,98[9740.0366970.1467890.018349
[98,100[9920.0183490.1651380.009174
[100,102[101110.1009170.2660550.050459
[102,104[103160.1467890.4128440.073394
[104,106[105180.1651380.5779820.082569
[106,108[107200.1834860.7614680.091743
[108,110[10960.0550460.8165140.027523
[110,112[111190.1743120.9908260.087156
[112,114]11310.00917410.004587

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[92,94[ & 93 & 3 & 0.027523 & 0.027523 & 0.013761 \tabularnewline
[94,96[ & 95 & 9 & 0.082569 & 0.110092 & 0.041284 \tabularnewline
[96,98[ & 97 & 4 & 0.036697 & 0.146789 & 0.018349 \tabularnewline
[98,100[ & 99 & 2 & 0.018349 & 0.165138 & 0.009174 \tabularnewline
[100,102[ & 101 & 11 & 0.100917 & 0.266055 & 0.050459 \tabularnewline
[102,104[ & 103 & 16 & 0.146789 & 0.412844 & 0.073394 \tabularnewline
[104,106[ & 105 & 18 & 0.165138 & 0.577982 & 0.082569 \tabularnewline
[106,108[ & 107 & 20 & 0.183486 & 0.761468 & 0.091743 \tabularnewline
[108,110[ & 109 & 6 & 0.055046 & 0.816514 & 0.027523 \tabularnewline
[110,112[ & 111 & 19 & 0.174312 & 0.990826 & 0.087156 \tabularnewline
[112,114] & 113 & 1 & 0.009174 & 1 & 0.004587 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=118918&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][92,94[[/C][C]93[/C][C]3[/C][C]0.027523[/C][C]0.027523[/C][C]0.013761[/C][/ROW]
[ROW][C][94,96[[/C][C]95[/C][C]9[/C][C]0.082569[/C][C]0.110092[/C][C]0.041284[/C][/ROW]
[ROW][C][96,98[[/C][C]97[/C][C]4[/C][C]0.036697[/C][C]0.146789[/C][C]0.018349[/C][/ROW]
[ROW][C][98,100[[/C][C]99[/C][C]2[/C][C]0.018349[/C][C]0.165138[/C][C]0.009174[/C][/ROW]
[ROW][C][100,102[[/C][C]101[/C][C]11[/C][C]0.100917[/C][C]0.266055[/C][C]0.050459[/C][/ROW]
[ROW][C][102,104[[/C][C]103[/C][C]16[/C][C]0.146789[/C][C]0.412844[/C][C]0.073394[/C][/ROW]
[ROW][C][104,106[[/C][C]105[/C][C]18[/C][C]0.165138[/C][C]0.577982[/C][C]0.082569[/C][/ROW]
[ROW][C][106,108[[/C][C]107[/C][C]20[/C][C]0.183486[/C][C]0.761468[/C][C]0.091743[/C][/ROW]
[ROW][C][108,110[[/C][C]109[/C][C]6[/C][C]0.055046[/C][C]0.816514[/C][C]0.027523[/C][/ROW]
[ROW][C][110,112[[/C][C]111[/C][C]19[/C][C]0.174312[/C][C]0.990826[/C][C]0.087156[/C][/ROW]
[ROW][C][112,114][/C][C]113[/C][C]1[/C][C]0.009174[/C][C]1[/C][C]0.004587[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=118918&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=118918&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
[92,94[9330.0275230.0275230.013761
[94,96[9590.0825690.1100920.041284
[96,98[9740.0366970.1467890.018349
[98,100[9920.0183490.1651380.009174
[100,102[101110.1009170.2660550.050459
[102,104[103160.1467890.4128440.073394
[104,106[105180.1651380.5779820.082569
[106,108[107200.1834860.7614680.091743
[108,110[10960.0550460.8165140.027523
[110,112[111190.1743120.9908260.087156
[112,114]11310.00917410.004587



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