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 computationSun, 21 Dec 2008 06:02:48 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/21/t12298646101xn1celkuqhpf7n.htm/, Retrieved Wed, 15 May 2024 08:17:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35545, Retrieved Wed, 15 May 2024 08:17:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact167
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Standard Deviation-Mean Plot] [dollarkoers] [2007-11-29 14:04:00] [707a919fab5d6f3020ea3c395672cd86]
- RMPD    [Percentiles] [] [2008-12-21 13:02:48] [e7fa5259715477c9f32960f5b339b707] [Current]
-  M D      [Percentiles] [] [2009-12-12 18:00:42] [0e3da40906c04c6abfe5eb434331b3f1]
Feedback Forum

Post a new message
Dataseries X:
467
460
448
443
436
431
484
510
513
503
471
471
476
475
470
461
455
456
517
525
523
519
509
512
519
517
510
509
501
507
569
580
578
565
547
555




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=35545&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=35545&T=0

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







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.05435435.25436436441.25436431.75436
0.1446446.5448448451.5448444.5448
0.15455.4455.55456456457455455.45456
0.2460.2460.4461461461460460.6460
0.25467467.75467468.5469.25467469.25467
0.3470.8471471471471471471471
0.35473.4474.8475475475.25475471.2475
0.4479.2482.4484484484476477.6484
0.45501.4502.3503503502.5501501.7503
0.5507508507508508507508508
0.55509509.35509509509.25509509.65509
0.6510510.4510510510510511.6510
0.65512.4513.2513513512.75512516.8513
0.7517517517517517517517517
0.75519519519519519519519519
0.8522.2524.2523523523523523.8525
0.85538.2550.6547547541.5547551.4547
0.9559566.2565565560555567.8565
0.95570.8578.3578578571.25569579.7578

\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 & 435 & 435.25 & 436 & 436 & 441.25 & 436 & 431.75 & 436 \tabularnewline
0.1 & 446 & 446.5 & 448 & 448 & 451.5 & 448 & 444.5 & 448 \tabularnewline
0.15 & 455.4 & 455.55 & 456 & 456 & 457 & 455 & 455.45 & 456 \tabularnewline
0.2 & 460.2 & 460.4 & 461 & 461 & 461 & 460 & 460.6 & 460 \tabularnewline
0.25 & 467 & 467.75 & 467 & 468.5 & 469.25 & 467 & 469.25 & 467 \tabularnewline
0.3 & 470.8 & 471 & 471 & 471 & 471 & 471 & 471 & 471 \tabularnewline
0.35 & 473.4 & 474.8 & 475 & 475 & 475.25 & 475 & 471.2 & 475 \tabularnewline
0.4 & 479.2 & 482.4 & 484 & 484 & 484 & 476 & 477.6 & 484 \tabularnewline
0.45 & 501.4 & 502.3 & 503 & 503 & 502.5 & 501 & 501.7 & 503 \tabularnewline
0.5 & 507 & 508 & 507 & 508 & 508 & 507 & 508 & 508 \tabularnewline
0.55 & 509 & 509.35 & 509 & 509 & 509.25 & 509 & 509.65 & 509 \tabularnewline
0.6 & 510 & 510.4 & 510 & 510 & 510 & 510 & 511.6 & 510 \tabularnewline
0.65 & 512.4 & 513.2 & 513 & 513 & 512.75 & 512 & 516.8 & 513 \tabularnewline
0.7 & 517 & 517 & 517 & 517 & 517 & 517 & 517 & 517 \tabularnewline
0.75 & 519 & 519 & 519 & 519 & 519 & 519 & 519 & 519 \tabularnewline
0.8 & 522.2 & 524.2 & 523 & 523 & 523 & 523 & 523.8 & 525 \tabularnewline
0.85 & 538.2 & 550.6 & 547 & 547 & 541.5 & 547 & 551.4 & 547 \tabularnewline
0.9 & 559 & 566.2 & 565 & 565 & 560 & 555 & 567.8 & 565 \tabularnewline
0.95 & 570.8 & 578.3 & 578 & 578 & 571.25 & 569 & 579.7 & 578 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35545&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]435[/C][C]435.25[/C][C]436[/C][C]436[/C][C]441.25[/C][C]436[/C][C]431.75[/C][C]436[/C][/ROW]
[ROW][C]0.1[/C][C]446[/C][C]446.5[/C][C]448[/C][C]448[/C][C]451.5[/C][C]448[/C][C]444.5[/C][C]448[/C][/ROW]
[ROW][C]0.15[/C][C]455.4[/C][C]455.55[/C][C]456[/C][C]456[/C][C]457[/C][C]455[/C][C]455.45[/C][C]456[/C][/ROW]
[ROW][C]0.2[/C][C]460.2[/C][C]460.4[/C][C]461[/C][C]461[/C][C]461[/C][C]460[/C][C]460.6[/C][C]460[/C][/ROW]
[ROW][C]0.25[/C][C]467[/C][C]467.75[/C][C]467[/C][C]468.5[/C][C]469.25[/C][C]467[/C][C]469.25[/C][C]467[/C][/ROW]
[ROW][C]0.3[/C][C]470.8[/C][C]471[/C][C]471[/C][C]471[/C][C]471[/C][C]471[/C][C]471[/C][C]471[/C][/ROW]
[ROW][C]0.35[/C][C]473.4[/C][C]474.8[/C][C]475[/C][C]475[/C][C]475.25[/C][C]475[/C][C]471.2[/C][C]475[/C][/ROW]
[ROW][C]0.4[/C][C]479.2[/C][C]482.4[/C][C]484[/C][C]484[/C][C]484[/C][C]476[/C][C]477.6[/C][C]484[/C][/ROW]
[ROW][C]0.45[/C][C]501.4[/C][C]502.3[/C][C]503[/C][C]503[/C][C]502.5[/C][C]501[/C][C]501.7[/C][C]503[/C][/ROW]
[ROW][C]0.5[/C][C]507[/C][C]508[/C][C]507[/C][C]508[/C][C]508[/C][C]507[/C][C]508[/C][C]508[/C][/ROW]
[ROW][C]0.55[/C][C]509[/C][C]509.35[/C][C]509[/C][C]509[/C][C]509.25[/C][C]509[/C][C]509.65[/C][C]509[/C][/ROW]
[ROW][C]0.6[/C][C]510[/C][C]510.4[/C][C]510[/C][C]510[/C][C]510[/C][C]510[/C][C]511.6[/C][C]510[/C][/ROW]
[ROW][C]0.65[/C][C]512.4[/C][C]513.2[/C][C]513[/C][C]513[/C][C]512.75[/C][C]512[/C][C]516.8[/C][C]513[/C][/ROW]
[ROW][C]0.7[/C][C]517[/C][C]517[/C][C]517[/C][C]517[/C][C]517[/C][C]517[/C][C]517[/C][C]517[/C][/ROW]
[ROW][C]0.75[/C][C]519[/C][C]519[/C][C]519[/C][C]519[/C][C]519[/C][C]519[/C][C]519[/C][C]519[/C][/ROW]
[ROW][C]0.8[/C][C]522.2[/C][C]524.2[/C][C]523[/C][C]523[/C][C]523[/C][C]523[/C][C]523.8[/C][C]525[/C][/ROW]
[ROW][C]0.85[/C][C]538.2[/C][C]550.6[/C][C]547[/C][C]547[/C][C]541.5[/C][C]547[/C][C]551.4[/C][C]547[/C][/ROW]
[ROW][C]0.9[/C][C]559[/C][C]566.2[/C][C]565[/C][C]565[/C][C]560[/C][C]555[/C][C]567.8[/C][C]565[/C][/ROW]
[ROW][C]0.95[/C][C]570.8[/C][C]578.3[/C][C]578[/C][C]578[/C][C]571.25[/C][C]569[/C][C]579.7[/C][C]578[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35545&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35545&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.05435435.25436436441.25436431.75436
0.1446446.5448448451.5448444.5448
0.15455.4455.55456456457455455.45456
0.2460.2460.4461461461460460.6460
0.25467467.75467468.5469.25467469.25467
0.3470.8471471471471471471471
0.35473.4474.8475475475.25475471.2475
0.4479.2482.4484484484476477.6484
0.45501.4502.3503503502.5501501.7503
0.5507508507508508507508508
0.55509509.35509509509.25509509.65509
0.6510510.4510510510510511.6510
0.65512.4513.2513513512.75512516.8513
0.7517517517517517517517517
0.75519519519519519519519519
0.8522.2524.2523523523523523.8525
0.85538.2550.6547547541.5547551.4547
0.9559566.2565565560555567.8565
0.95570.8578.3578578571.25569579.7578



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