Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_percentiles.wasp
Title produced by softwarePercentiles
Date of computationThu, 25 Nov 2010 19:04:55 +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/Nov/25/t1290711885546izv9rqrqrv53.htm/, Retrieved Thu, 28 Mar 2024 09:49:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=101402, Retrieved Thu, 28 Mar 2024 09:49:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact124
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Percentiles] [W3_Mini_4] [2010-11-25 19:04:55] [edf51d809b713abfc4095a7dca74558e] [Current]
Feedback Forum

Post a new message
Dataseries X:
276444
289742
303725
298305
266795
259497
266148
271037
276239
279681
277509
271115
275902
287224
300713
293860
264221
256167
262572
263276
264291
263903
260376
255603
261076
270976
285257
280445
250741
243803
253158
255542
262522
268381
267153
266424
276427
286994
303598
296806
263290
264981
272566
276475
284678
291542
291413
295916
309119
327616




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

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







Percentiles - Ungrouped Data
pWeighted Average at XnpWeighted Average at X(n+1)pEmpirical Distribution FunctionEmpirical Distribution Function - AveragingEmpirical Distribution Function - InterpolationClosest ObservationTrue Basic - Statistics Graphics ToolkitMS Excel (old versions)
0.05251949.5252070.35253158253158254230.8253158251828.65253158
0.1255603255659.4255603255885256110.6255603256110.6255603
0.15259936.5260068.35260376260376260621260376259804.65260376
0.2262522262532262522262547262562262522262562262522
0.25263283263286.5263290263290263443.25263290263279.5263290
0.3264221264242264221264256264270264221264270264221
0.35265564.5265972.95266148266148266189.4266148265156.05266148
0.4266795266938.2266795266974267009.8266795267009.8266795
0.45269678.5270846.25270976270976270979.05270976268510.75270976
0.5271115271840.5271115271840.5271840.5271115271840.5271840.5
0.55276070.5276248.4276239276239276222.15276239276417.6276239
0.6276444276462.6276444276459.5276456.4276444276456.4276475
0.65278595279795.6279681279681279355.2279681280330.4279681
0.7284678285083.3284678284967.5284851.7284678284851.7285257
0.75287109287853.5287224287224287166.5287224289112.5287224
0.8291413291516.2291413291477.5291438.8291413291438.8291542
0.85294888296227.5295916295916295196.4295916296494.5295916
0.9298305300472.2298305299509298545.8298305298545.8300713
0.95303661.5306152.3303725303725303667.85303725306691.7303725

\begin{tabular}{lllllllll}
\hline
Percentiles - Ungrouped Data \tabularnewline
p & Weighted Average at Xnp & Weighted Average at X(n+1)p & Empirical Distribution Function & Empirical Distribution Function - Averaging & Empirical Distribution Function - Interpolation & Closest Observation & True Basic - Statistics Graphics Toolkit & MS Excel (old versions) \tabularnewline
0.05 & 251949.5 & 252070.35 & 253158 & 253158 & 254230.8 & 253158 & 251828.65 & 253158 \tabularnewline
0.1 & 255603 & 255659.4 & 255603 & 255885 & 256110.6 & 255603 & 256110.6 & 255603 \tabularnewline
0.15 & 259936.5 & 260068.35 & 260376 & 260376 & 260621 & 260376 & 259804.65 & 260376 \tabularnewline
0.2 & 262522 & 262532 & 262522 & 262547 & 262562 & 262522 & 262562 & 262522 \tabularnewline
0.25 & 263283 & 263286.5 & 263290 & 263290 & 263443.25 & 263290 & 263279.5 & 263290 \tabularnewline
0.3 & 264221 & 264242 & 264221 & 264256 & 264270 & 264221 & 264270 & 264221 \tabularnewline
0.35 & 265564.5 & 265972.95 & 266148 & 266148 & 266189.4 & 266148 & 265156.05 & 266148 \tabularnewline
0.4 & 266795 & 266938.2 & 266795 & 266974 & 267009.8 & 266795 & 267009.8 & 266795 \tabularnewline
0.45 & 269678.5 & 270846.25 & 270976 & 270976 & 270979.05 & 270976 & 268510.75 & 270976 \tabularnewline
0.5 & 271115 & 271840.5 & 271115 & 271840.5 & 271840.5 & 271115 & 271840.5 & 271840.5 \tabularnewline
0.55 & 276070.5 & 276248.4 & 276239 & 276239 & 276222.15 & 276239 & 276417.6 & 276239 \tabularnewline
0.6 & 276444 & 276462.6 & 276444 & 276459.5 & 276456.4 & 276444 & 276456.4 & 276475 \tabularnewline
0.65 & 278595 & 279795.6 & 279681 & 279681 & 279355.2 & 279681 & 280330.4 & 279681 \tabularnewline
0.7 & 284678 & 285083.3 & 284678 & 284967.5 & 284851.7 & 284678 & 284851.7 & 285257 \tabularnewline
0.75 & 287109 & 287853.5 & 287224 & 287224 & 287166.5 & 287224 & 289112.5 & 287224 \tabularnewline
0.8 & 291413 & 291516.2 & 291413 & 291477.5 & 291438.8 & 291413 & 291438.8 & 291542 \tabularnewline
0.85 & 294888 & 296227.5 & 295916 & 295916 & 295196.4 & 295916 & 296494.5 & 295916 \tabularnewline
0.9 & 298305 & 300472.2 & 298305 & 299509 & 298545.8 & 298305 & 298545.8 & 300713 \tabularnewline
0.95 & 303661.5 & 306152.3 & 303725 & 303725 & 303667.85 & 303725 & 306691.7 & 303725 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101402&T=1

[TABLE]
[ROW][C]Percentiles - Ungrouped Data[/C][/ROW]
[ROW][C]p[/C][C]Weighted Average at Xnp[/C][C]Weighted Average at X(n+1)p[/C][C]Empirical Distribution Function[/C][C]Empirical Distribution Function - Averaging[/C][C]Empirical Distribution Function - Interpolation[/C][C]Closest Observation[/C][C]True Basic - Statistics Graphics Toolkit[/C][C]MS Excel (old versions)[/C][/ROW]
[ROW][C]0.05[/C][C]251949.5[/C][C]252070.35[/C][C]253158[/C][C]253158[/C][C]254230.8[/C][C]253158[/C][C]251828.65[/C][C]253158[/C][/ROW]
[ROW][C]0.1[/C][C]255603[/C][C]255659.4[/C][C]255603[/C][C]255885[/C][C]256110.6[/C][C]255603[/C][C]256110.6[/C][C]255603[/C][/ROW]
[ROW][C]0.15[/C][C]259936.5[/C][C]260068.35[/C][C]260376[/C][C]260376[/C][C]260621[/C][C]260376[/C][C]259804.65[/C][C]260376[/C][/ROW]
[ROW][C]0.2[/C][C]262522[/C][C]262532[/C][C]262522[/C][C]262547[/C][C]262562[/C][C]262522[/C][C]262562[/C][C]262522[/C][/ROW]
[ROW][C]0.25[/C][C]263283[/C][C]263286.5[/C][C]263290[/C][C]263290[/C][C]263443.25[/C][C]263290[/C][C]263279.5[/C][C]263290[/C][/ROW]
[ROW][C]0.3[/C][C]264221[/C][C]264242[/C][C]264221[/C][C]264256[/C][C]264270[/C][C]264221[/C][C]264270[/C][C]264221[/C][/ROW]
[ROW][C]0.35[/C][C]265564.5[/C][C]265972.95[/C][C]266148[/C][C]266148[/C][C]266189.4[/C][C]266148[/C][C]265156.05[/C][C]266148[/C][/ROW]
[ROW][C]0.4[/C][C]266795[/C][C]266938.2[/C][C]266795[/C][C]266974[/C][C]267009.8[/C][C]266795[/C][C]267009.8[/C][C]266795[/C][/ROW]
[ROW][C]0.45[/C][C]269678.5[/C][C]270846.25[/C][C]270976[/C][C]270976[/C][C]270979.05[/C][C]270976[/C][C]268510.75[/C][C]270976[/C][/ROW]
[ROW][C]0.5[/C][C]271115[/C][C]271840.5[/C][C]271115[/C][C]271840.5[/C][C]271840.5[/C][C]271115[/C][C]271840.5[/C][C]271840.5[/C][/ROW]
[ROW][C]0.55[/C][C]276070.5[/C][C]276248.4[/C][C]276239[/C][C]276239[/C][C]276222.15[/C][C]276239[/C][C]276417.6[/C][C]276239[/C][/ROW]
[ROW][C]0.6[/C][C]276444[/C][C]276462.6[/C][C]276444[/C][C]276459.5[/C][C]276456.4[/C][C]276444[/C][C]276456.4[/C][C]276475[/C][/ROW]
[ROW][C]0.65[/C][C]278595[/C][C]279795.6[/C][C]279681[/C][C]279681[/C][C]279355.2[/C][C]279681[/C][C]280330.4[/C][C]279681[/C][/ROW]
[ROW][C]0.7[/C][C]284678[/C][C]285083.3[/C][C]284678[/C][C]284967.5[/C][C]284851.7[/C][C]284678[/C][C]284851.7[/C][C]285257[/C][/ROW]
[ROW][C]0.75[/C][C]287109[/C][C]287853.5[/C][C]287224[/C][C]287224[/C][C]287166.5[/C][C]287224[/C][C]289112.5[/C][C]287224[/C][/ROW]
[ROW][C]0.8[/C][C]291413[/C][C]291516.2[/C][C]291413[/C][C]291477.5[/C][C]291438.8[/C][C]291413[/C][C]291438.8[/C][C]291542[/C][/ROW]
[ROW][C]0.85[/C][C]294888[/C][C]296227.5[/C][C]295916[/C][C]295916[/C][C]295196.4[/C][C]295916[/C][C]296494.5[/C][C]295916[/C][/ROW]
[ROW][C]0.9[/C][C]298305[/C][C]300472.2[/C][C]298305[/C][C]299509[/C][C]298545.8[/C][C]298305[/C][C]298545.8[/C][C]300713[/C][/ROW]
[ROW][C]0.95[/C][C]303661.5[/C][C]306152.3[/C][C]303725[/C][C]303725[/C][C]303667.85[/C][C]303725[/C][C]306691.7[/C][C]303725[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101402&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101402&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Percentiles - Ungrouped Data
pWeighted Average at XnpWeighted Average at X(n+1)pEmpirical Distribution FunctionEmpirical Distribution Function - AveragingEmpirical Distribution Function - InterpolationClosest ObservationTrue Basic - Statistics Graphics ToolkitMS Excel (old versions)
0.05251949.5252070.35253158253158254230.8253158251828.65253158
0.1255603255659.4255603255885256110.6255603256110.6255603
0.15259936.5260068.35260376260376260621260376259804.65260376
0.2262522262532262522262547262562262522262562262522
0.25263283263286.5263290263290263443.25263290263279.5263290
0.3264221264242264221264256264270264221264270264221
0.35265564.5265972.95266148266148266189.4266148265156.05266148
0.4266795266938.2266795266974267009.8266795267009.8266795
0.45269678.5270846.25270976270976270979.05270976268510.75270976
0.5271115271840.5271115271840.5271840.5271115271840.5271840.5
0.55276070.5276248.4276239276239276222.15276239276417.6276239
0.6276444276462.6276444276459.5276456.4276444276456.4276475
0.65278595279795.6279681279681279355.2279681280330.4279681
0.7284678285083.3284678284967.5284851.7284678284851.7285257
0.75287109287853.5287224287224287166.5287224289112.5287224
0.8291413291516.2291413291477.5291438.8291413291438.8291542
0.85294888296227.5295916295916295196.4295916296494.5295916
0.9298305300472.2298305299509298545.8298305298545.8300713
0.95303661.5306152.3303725303725303667.85303725306691.7303725



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
x <-sort(x[!is.na(x)])
q1 <- function(data,n,p,i,f) {
np <- n*p;
i <<- floor(np)
f <<- np - i
qvalue <- (1-f)*data[i] + f*data[i+1]
}
q2 <- function(data,n,p,i,f) {
np <- (n+1)*p
i <<- floor(np)
f <<- np - i
qvalue <- (1-f)*data[i] + f*data[i+1]
}
q3 <- function(data,n,p,i,f) {
np <- n*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i]
} else {
qvalue <- data[i+1]
}
}
q4 <- function(data,n,p,i,f) {
np <- n*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- (data[i]+data[i+1])/2
} else {
qvalue <- data[i+1]
}
}
q5 <- function(data,n,p,i,f) {
np <- (n-1)*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i+1]
} else {
qvalue <- data[i+1] + f*(data[i+2]-data[i+1])
}
}
q6 <- function(data,n,p,i,f) {
np <- n*p+0.5
i <<- floor(np)
f <<- np - i
qvalue <- data[i]
}
q7 <- function(data,n,p,i,f) {
np <- (n+1)*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i]
} else {
qvalue <- f*data[i] + (1-f)*data[i+1]
}
}
q8 <- function(data,n,p,i,f) {
np <- (n+1)*p
i <<- floor(np)
f <<- np - i
if (f==0) {
qvalue <- data[i]
} else {
if (f == 0.5) {
qvalue <- (data[i]+data[i+1])/2
} else {
if (f < 0.5) {
qvalue <- data[i]
} else {
qvalue <- data[i+1]
}
}
}
}
lx <- length(x)
qval <- array(NA,dim=c(99,8))
mystep <- 25
mystart <- 25
if (lx>10){
mystep=10
mystart=10
}
if (lx>20){
mystep=5
mystart=5
}
if (lx>50){
mystep=2
mystart=2
}
if (lx>=100){
mystep=1
mystart=1
}
for (perc in seq(mystart,99,mystep)) {
qval[perc,1] <- q1(x,lx,perc/100,i,f)
qval[perc,2] <- q2(x,lx,perc/100,i,f)
qval[perc,3] <- q3(x,lx,perc/100,i,f)
qval[perc,4] <- q4(x,lx,perc/100,i,f)
qval[perc,5] <- q5(x,lx,perc/100,i,f)
qval[perc,6] <- q6(x,lx,perc/100,i,f)
qval[perc,7] <- q7(x,lx,perc/100,i,f)
qval[perc,8] <- q8(x,lx,perc/100,i,f)
}
bitmap(file='test1.png')
myqqnorm <- qqnorm(x,col=2)
qqline(x)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Percentiles - Ungrouped Data',9,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p',1,TRUE)
a<-table.element(a,hyperlink('method_1.htm', 'Weighted Average at Xnp',''),1,TRUE)
a<-table.element(a,hyperlink('method_2.htm','Weighted Average at X(n+1)p',''),1,TRUE)
a<-table.element(a,hyperlink('method_3.htm','Empirical Distribution Function',''),1,TRUE)
a<-table.element(a,hyperlink('method_4.htm','Empirical Distribution Function - Averaging',''),1,TRUE)
a<-table.element(a,hyperlink('method_5.htm','Empirical Distribution Function - Interpolation',''),1,TRUE)
a<-table.element(a,hyperlink('method_6.htm','Closest Observation',''),1,TRUE)
a<-table.element(a,hyperlink('method_7.htm','True Basic - Statistics Graphics Toolkit',''),1,TRUE)
a<-table.element(a,hyperlink('method_8.htm','MS Excel (old versions)',''),1,TRUE)
a<-table.row.end(a)
for (perc in seq(mystart,99,mystep)) {
a<-table.row.start(a)
a<-table.element(a,round(perc/100,2),1,TRUE)
for (j in 1:8) {
a<-table.element(a,round(qval[perc,j],6))
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')