Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationSun, 03 Oct 2010 07:25:13 +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/03/t1286090655iyb67kuhtgx1xco.htm/, Retrieved Fri, 03 May 2024 12:28:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=80133, Retrieved Fri, 03 May 2024 12:28:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact164
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F       [Histogram] [Histogram] [2010-10-03 07:25:13] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum
2010-10-10 12:39:38 [73b763ab03a59f488b4c9e04fda397bb] [reply
Ondanks het gebruik van verkeerde data heeft de student wel een poging gedaan tot verduidelijking van de grafiek. De uitschieters zijn verwijderd. Hij zou het aantal bins wel moeten wijzigingen om de grafiek te verduidelijken.

Eventuele aanpassing van de R-Code kan ook.

(zie: http://www.freestatistics.org/blog/date/2010/Oct/02/t1286051251taojojcdk6ourdj.htm)

Post a new message
Dataseries X:
426.11
383.7
232.44
70.94
226.73
611.28
158.05
34
37.03
388.3
506.65
392.25
180.82
198.3
217.47
275.56
57.47
136.45
556.28
213.36
274.48
220.55
236.71
260.64
213.92
169.86
403.06
449.59
406.17
206.89
156.19
257.1
62.16
662.88
251.42
171.33
350.09
221.59
4.81
183.19
190.38
223.17
232.67
356.73
109.22
475.83
315.96
694.87
8.95
278.74
308.16
207.53
192.8
601.16
289.71
293.67
386.69
699.65
85.09
131.81
645.29
197.55
308.17
86.58
242.21
238.5
187.88
140.32
440.31
421.4
218.76
137.55
262.52
348.82
150.03
64.02
261.6
259.7
171.26
203.08
249.15
211.66
252.64
438.56
239.89
401.92
216.89
184.64
380.16
653.64
313.91
366.94
236.3
229.64
235.58
103.9
263.91
241.17
216.55
295.28
193.3
204.39
257.57
136.81
240.76
59.61
213.51
380.53
242.34
250.41
183.61
191.84
266.79
246.54
330.56
403.56
208.11
324.04
308.53
199.3
200.16
262.88
287.07
190.16
199.75
265.78
435.96
72.84
756.46
206.77
401.42
216.05
39.05
441.44




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=80133&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]5 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=80133&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=80133&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 time5 seconds
R Server'George Udny Yule' @ 72.249.76.132







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[0,100[50130.0970150.0970150.00097
[100,200[150270.2014930.2985070.002015
[200,300[250540.4029850.7014930.00403
[300,400[350170.1268660.8283580.001269
[400,500[450130.0970150.9253730.00097
[500,600[55020.0149250.9402990.000149
[600,700[65070.0522390.9925370.000522
[700,800]75010.00746317.5e-05

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[0,100[ & 50 & 13 & 0.097015 & 0.097015 & 0.00097 \tabularnewline
[100,200[ & 150 & 27 & 0.201493 & 0.298507 & 0.002015 \tabularnewline
[200,300[ & 250 & 54 & 0.402985 & 0.701493 & 0.00403 \tabularnewline
[300,400[ & 350 & 17 & 0.126866 & 0.828358 & 0.001269 \tabularnewline
[400,500[ & 450 & 13 & 0.097015 & 0.925373 & 0.00097 \tabularnewline
[500,600[ & 550 & 2 & 0.014925 & 0.940299 & 0.000149 \tabularnewline
[600,700[ & 650 & 7 & 0.052239 & 0.992537 & 0.000522 \tabularnewline
[700,800] & 750 & 1 & 0.007463 & 1 & 7.5e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=80133&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,100[[/C][C]50[/C][C]13[/C][C]0.097015[/C][C]0.097015[/C][C]0.00097[/C][/ROW]
[ROW][C][100,200[[/C][C]150[/C][C]27[/C][C]0.201493[/C][C]0.298507[/C][C]0.002015[/C][/ROW]
[ROW][C][200,300[[/C][C]250[/C][C]54[/C][C]0.402985[/C][C]0.701493[/C][C]0.00403[/C][/ROW]
[ROW][C][300,400[[/C][C]350[/C][C]17[/C][C]0.126866[/C][C]0.828358[/C][C]0.001269[/C][/ROW]
[ROW][C][400,500[[/C][C]450[/C][C]13[/C][C]0.097015[/C][C]0.925373[/C][C]0.00097[/C][/ROW]
[ROW][C][500,600[[/C][C]550[/C][C]2[/C][C]0.014925[/C][C]0.940299[/C][C]0.000149[/C][/ROW]
[ROW][C][600,700[[/C][C]650[/C][C]7[/C][C]0.052239[/C][C]0.992537[/C][C]0.000522[/C][/ROW]
[ROW][C][700,800][/C][C]750[/C][C]1[/C][C]0.007463[/C][C]1[/C][C]7.5e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=80133&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=80133&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,100[50130.0970150.0970150.00097
[100,200[150270.2014930.2985070.002015
[200,300[250540.4029850.7014930.00403
[300,400[350170.1268660.8283580.001269
[400,500[450130.0970150.9253730.00097
[500,600[55020.0149250.9402990.000149
[600,700[65070.0522390.9925370.000522
[700,800]75010.00746317.5e-05



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