Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_histogram.wasp
Title produced by softwareHistogram
Date of computationWed, 07 Oct 2009 07:26:19 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Oct/07/t1254922105zy0wff27o1mqgun.htm/, Retrieved Sat, 27 Apr 2024 21:45:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=44473, Retrieved Sat, 27 Apr 2024 21:45:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP1W22
Estimated Impact128
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [verbetering taak 1] [2009-10-04 09:31:59] [f2506eb608b3ad31ef486d4eb59bb557]
- RMP     [Histogram] [histogram aantal ...] [2009-10-07 13:26:19] [8dade33360a3d9627a19ab7d33b79ad8] [Current]
Feedback Forum

Post a new message
Dataseries X:
2357402
2199181
2603060
2629720
2638792
2717481
3810804
3871664
2998364
2923432
2712359
2996099
2395029
2483862
3120231
3360606
3177203
3062783
4242509
4026394
3192481
3118695
2782482
3209833
2630190
2592882
3785309
3231539
3421369
3312134
4647303
4289177
3463853
3304422
3006121
3464238
2921118
2624018
3500718
3939351
3467672
3343628
4852445
4597807
3653145
3572079
3334861
3695369
3075704
2852998
3942704
4004560
3822145
3760085
5267816
5271333
4144142
4109749
3896808
4211074
3402318
3279817
4706628
4079499
4344530
4048625
5394915
5611967
4145481
4025610
3552218
3910443




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

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







Frequency Table (Histogram)
BinsMidpointAbs. FrequencyRel. FrequencyCumul. Rel. Freq.Density
[2e+06,2200000[210000010.0138890.0138890
[2200000,2400000[230000020.0277780.0416670
[2400000,2600000[250000020.0277780.0694440
[2600000,2800000[270000080.1111110.1805561e-06
[2800000,3e+06[290000050.0694440.250
[3e+06,3200000[310000070.0972220.3472220
[3200000,3400000[330000080.1111110.4583331e-06
[3400000,3600000[350000080.1111110.5694441e-06
[3600000,3800000[370000040.0555560.6250
[3800000,4e+06[390000070.0972220.7222220
[4e+06,4200000[410000080.1111110.8333331e-06
[4200000,4400000[430000040.0555560.8888890
[4400000,4600000[450000010.0138890.9027780
[4600000,4800000[470000020.0277780.9305560
[4800000,5e+06[490000010.0138890.9444440
[5e+06,5200000[5100000000.9444440
[5200000,5400000[530000030.0416670.9861110
[5400000,5600000[5500000000.9861110
[5600000,5800000]570000010.01388910

\begin{tabular}{lllllllll}
\hline
Frequency Table (Histogram) \tabularnewline
Bins & Midpoint & Abs. Frequency & Rel. Frequency & Cumul. Rel. Freq. & Density \tabularnewline
[2e+06,2200000[ & 2100000 & 1 & 0.013889 & 0.013889 & 0 \tabularnewline
[2200000,2400000[ & 2300000 & 2 & 0.027778 & 0.041667 & 0 \tabularnewline
[2400000,2600000[ & 2500000 & 2 & 0.027778 & 0.069444 & 0 \tabularnewline
[2600000,2800000[ & 2700000 & 8 & 0.111111 & 0.180556 & 1e-06 \tabularnewline
[2800000,3e+06[ & 2900000 & 5 & 0.069444 & 0.25 & 0 \tabularnewline
[3e+06,3200000[ & 3100000 & 7 & 0.097222 & 0.347222 & 0 \tabularnewline
[3200000,3400000[ & 3300000 & 8 & 0.111111 & 0.458333 & 1e-06 \tabularnewline
[3400000,3600000[ & 3500000 & 8 & 0.111111 & 0.569444 & 1e-06 \tabularnewline
[3600000,3800000[ & 3700000 & 4 & 0.055556 & 0.625 & 0 \tabularnewline
[3800000,4e+06[ & 3900000 & 7 & 0.097222 & 0.722222 & 0 \tabularnewline
[4e+06,4200000[ & 4100000 & 8 & 0.111111 & 0.833333 & 1e-06 \tabularnewline
[4200000,4400000[ & 4300000 & 4 & 0.055556 & 0.888889 & 0 \tabularnewline
[4400000,4600000[ & 4500000 & 1 & 0.013889 & 0.902778 & 0 \tabularnewline
[4600000,4800000[ & 4700000 & 2 & 0.027778 & 0.930556 & 0 \tabularnewline
[4800000,5e+06[ & 4900000 & 1 & 0.013889 & 0.944444 & 0 \tabularnewline
[5e+06,5200000[ & 5100000 & 0 & 0 & 0.944444 & 0 \tabularnewline
[5200000,5400000[ & 5300000 & 3 & 0.041667 & 0.986111 & 0 \tabularnewline
[5400000,5600000[ & 5500000 & 0 & 0 & 0.986111 & 0 \tabularnewline
[5600000,5800000] & 5700000 & 1 & 0.013889 & 1 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=44473&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][2e+06,2200000[[/C][C]2100000[/C][C]1[/C][C]0.013889[/C][C]0.013889[/C][C]0[/C][/ROW]
[ROW][C][2200000,2400000[[/C][C]2300000[/C][C]2[/C][C]0.027778[/C][C]0.041667[/C][C]0[/C][/ROW]
[ROW][C][2400000,2600000[[/C][C]2500000[/C][C]2[/C][C]0.027778[/C][C]0.069444[/C][C]0[/C][/ROW]
[ROW][C][2600000,2800000[[/C][C]2700000[/C][C]8[/C][C]0.111111[/C][C]0.180556[/C][C]1e-06[/C][/ROW]
[ROW][C][2800000,3e+06[[/C][C]2900000[/C][C]5[/C][C]0.069444[/C][C]0.25[/C][C]0[/C][/ROW]
[ROW][C][3e+06,3200000[[/C][C]3100000[/C][C]7[/C][C]0.097222[/C][C]0.347222[/C][C]0[/C][/ROW]
[ROW][C][3200000,3400000[[/C][C]3300000[/C][C]8[/C][C]0.111111[/C][C]0.458333[/C][C]1e-06[/C][/ROW]
[ROW][C][3400000,3600000[[/C][C]3500000[/C][C]8[/C][C]0.111111[/C][C]0.569444[/C][C]1e-06[/C][/ROW]
[ROW][C][3600000,3800000[[/C][C]3700000[/C][C]4[/C][C]0.055556[/C][C]0.625[/C][C]0[/C][/ROW]
[ROW][C][3800000,4e+06[[/C][C]3900000[/C][C]7[/C][C]0.097222[/C][C]0.722222[/C][C]0[/C][/ROW]
[ROW][C][4e+06,4200000[[/C][C]4100000[/C][C]8[/C][C]0.111111[/C][C]0.833333[/C][C]1e-06[/C][/ROW]
[ROW][C][4200000,4400000[[/C][C]4300000[/C][C]4[/C][C]0.055556[/C][C]0.888889[/C][C]0[/C][/ROW]
[ROW][C][4400000,4600000[[/C][C]4500000[/C][C]1[/C][C]0.013889[/C][C]0.902778[/C][C]0[/C][/ROW]
[ROW][C][4600000,4800000[[/C][C]4700000[/C][C]2[/C][C]0.027778[/C][C]0.930556[/C][C]0[/C][/ROW]
[ROW][C][4800000,5e+06[[/C][C]4900000[/C][C]1[/C][C]0.013889[/C][C]0.944444[/C][C]0[/C][/ROW]
[ROW][C][5e+06,5200000[[/C][C]5100000[/C][C]0[/C][C]0[/C][C]0.944444[/C][C]0[/C][/ROW]
[ROW][C][5200000,5400000[[/C][C]5300000[/C][C]3[/C][C]0.041667[/C][C]0.986111[/C][C]0[/C][/ROW]
[ROW][C][5400000,5600000[[/C][C]5500000[/C][C]0[/C][C]0[/C][C]0.986111[/C][C]0[/C][/ROW]
[ROW][C][5600000,5800000][/C][C]5700000[/C][C]1[/C][C]0.013889[/C][C]1[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=44473&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=44473&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
[2e+06,2200000[210000010.0138890.0138890
[2200000,2400000[230000020.0277780.0416670
[2400000,2600000[250000020.0277780.0694440
[2600000,2800000[270000080.1111110.1805561e-06
[2800000,3e+06[290000050.0694440.250
[3e+06,3200000[310000070.0972220.3472220
[3200000,3400000[330000080.1111110.4583331e-06
[3400000,3600000[350000080.1111110.5694441e-06
[3600000,3800000[370000040.0555560.6250
[3800000,4e+06[390000070.0972220.7222220
[4e+06,4200000[410000080.1111110.8333331e-06
[4200000,4400000[430000040.0555560.8888890
[4400000,4600000[450000010.0138890.9027780
[4600000,4800000[470000020.0277780.9305560
[4800000,5e+06[490000010.0138890.9444440
[5e+06,5200000[5100000000.9444440
[5200000,5400000[530000030.0416670.9861110
[5400000,5600000[5500000000.9861110
[5600000,5800000]570000010.01388910



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