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 computationFri, 04 Dec 2009 11:04:34 -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/2009/Dec/04/t1259950102csftxgb5q8m4u5c.htm/, Retrieved Sun, 28 Apr 2024 08:28:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=63995, Retrieved Sun, 28 Apr 2024 08:28:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact110
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [(Partial) Autocorrelation Function] [] [2009-11-27 14:47:30] [b98453cac15ba1066b407e146608df68]
- R PD    [(Partial) Autocorrelation Function] [] [2009-12-01 17:18:57] [ee35698a38947a6c6c039b1e3deafc05]
- RMPD        [Percentiles] [] [2009-12-04 18:04:34] [6e025b5370bdd3143fbe248190b38274] [Current]
Feedback Forum

Post a new message
Dataseries X:
-0.166646532498191
1.45446038541130
1.24444430192058
0.546892625557094
0.092483227606145
-2.05501754615136
0.000968248628828662
0.358669943697234
-1.96248894495211
-0.760430072823699
-2.15129744720461
-2.27687543769387
0.429721920121495
0.251798319320420
0.0538261247459631
0.420389951364929
-1.15014586681924
2.33969562462212
-0.966522812333634
0.425357986510933
-0.104720863173985
1.13756910736265
-1.74841664563892
0.376320447670808
-0.453576483938847
-0.0583257566372856
0.626862560020816
1.76273423439776
-0.807266008249354
0.0336200512961656
-0.424808300981018
-0.228845362094883
0.685587835348772
-0.371904564411849
-2.78446258435140
-0.160077329447092
0.646594885985588
0.0512569903857203
-0.246501767270706
0.0423722347299893
1.86131887227694
-0.629009045704846
-0.616706418345441
-1.06533038224853
0.887005708246265
-0.181852725894869
0.0868758116841302
-0.950195127295966




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63995&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.05-2.226644-2.220365-2.151297-2.151297-2.117599-2.276875-2.207808-2.276875
0.1-1.980995-1.971742-1.962489-1.962489-1.812638-1.962489-2.045765-1.962489
0.15-1.133183-1.12046-1.06533-1.06533-1.06039-1.150146-1.095016-1.150146
0.2-0.956726-0.953461-0.950195-0.950195-0.893023-0.950195-0.963257-0.950195
0.25-0.76043-0.727575-0.76043-0.69472-0.661864-0.76043-0.661864-0.76043
0.3-0.551454-0.502515-0.453576-0.453576-0.4507-0.616706-0.567767-0.453576
0.35-0.382485-0.353094-0.371905-0.371905-0.315473-0.371905-0.265312-0.371905
0.4-0.219447-0.20065-0.181853-0.181853-0.191251-0.228845-0.210048-0.181853
0.45-0.162705-0.15731-0.160077-0.160077-0.151774-0.160077-0.107489-0.160077
0.5-0.058326-0.028679-0.058326-0.028679-0.028679-0.058326-0.028679-0.028679
0.550.0371210.0419350.0423720.0423720.0410590.033620.0340580.042372
0.60.0533120.0670460.0538260.0538260.0604360.0538260.0736560.053826
0.650.1243460.2279010.2517980.2517980.1801070.0924830.116380.251798
0.70.369260.3895410.376320.376320.3745550.376320.4071690.37632
0.750.4253580.4286310.4253580.427540.4264490.4253580.4264490.429722
0.80.5788810.6308090.6268630.6268630.5948750.5468930.6426480.626863
0.850.6777890.8165090.6855880.6855880.6836380.6855880.7560840.887006
0.91.1589441.2654461.2444441.2444441.1696321.1375691.4334591.244444
0.951.6394251.8169561.7627341.7627341.6548381.7627341.8070971.861319

\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 & -2.226644 & -2.220365 & -2.151297 & -2.151297 & -2.117599 & -2.276875 & -2.207808 & -2.276875 \tabularnewline
0.1 & -1.980995 & -1.971742 & -1.962489 & -1.962489 & -1.812638 & -1.962489 & -2.045765 & -1.962489 \tabularnewline
0.15 & -1.133183 & -1.12046 & -1.06533 & -1.06533 & -1.06039 & -1.150146 & -1.095016 & -1.150146 \tabularnewline
0.2 & -0.956726 & -0.953461 & -0.950195 & -0.950195 & -0.893023 & -0.950195 & -0.963257 & -0.950195 \tabularnewline
0.25 & -0.76043 & -0.727575 & -0.76043 & -0.69472 & -0.661864 & -0.76043 & -0.661864 & -0.76043 \tabularnewline
0.3 & -0.551454 & -0.502515 & -0.453576 & -0.453576 & -0.4507 & -0.616706 & -0.567767 & -0.453576 \tabularnewline
0.35 & -0.382485 & -0.353094 & -0.371905 & -0.371905 & -0.315473 & -0.371905 & -0.265312 & -0.371905 \tabularnewline
0.4 & -0.219447 & -0.20065 & -0.181853 & -0.181853 & -0.191251 & -0.228845 & -0.210048 & -0.181853 \tabularnewline
0.45 & -0.162705 & -0.15731 & -0.160077 & -0.160077 & -0.151774 & -0.160077 & -0.107489 & -0.160077 \tabularnewline
0.5 & -0.058326 & -0.028679 & -0.058326 & -0.028679 & -0.028679 & -0.058326 & -0.028679 & -0.028679 \tabularnewline
0.55 & 0.037121 & 0.041935 & 0.042372 & 0.042372 & 0.041059 & 0.03362 & 0.034058 & 0.042372 \tabularnewline
0.6 & 0.053312 & 0.067046 & 0.053826 & 0.053826 & 0.060436 & 0.053826 & 0.073656 & 0.053826 \tabularnewline
0.65 & 0.124346 & 0.227901 & 0.251798 & 0.251798 & 0.180107 & 0.092483 & 0.11638 & 0.251798 \tabularnewline
0.7 & 0.36926 & 0.389541 & 0.37632 & 0.37632 & 0.374555 & 0.37632 & 0.407169 & 0.37632 \tabularnewline
0.75 & 0.425358 & 0.428631 & 0.425358 & 0.42754 & 0.426449 & 0.425358 & 0.426449 & 0.429722 \tabularnewline
0.8 & 0.578881 & 0.630809 & 0.626863 & 0.626863 & 0.594875 & 0.546893 & 0.642648 & 0.626863 \tabularnewline
0.85 & 0.677789 & 0.816509 & 0.685588 & 0.685588 & 0.683638 & 0.685588 & 0.756084 & 0.887006 \tabularnewline
0.9 & 1.158944 & 1.265446 & 1.244444 & 1.244444 & 1.169632 & 1.137569 & 1.433459 & 1.244444 \tabularnewline
0.95 & 1.639425 & 1.816956 & 1.762734 & 1.762734 & 1.654838 & 1.762734 & 1.807097 & 1.861319 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63995&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]-2.226644[/C][C]-2.220365[/C][C]-2.151297[/C][C]-2.151297[/C][C]-2.117599[/C][C]-2.276875[/C][C]-2.207808[/C][C]-2.276875[/C][/ROW]
[ROW][C]0.1[/C][C]-1.980995[/C][C]-1.971742[/C][C]-1.962489[/C][C]-1.962489[/C][C]-1.812638[/C][C]-1.962489[/C][C]-2.045765[/C][C]-1.962489[/C][/ROW]
[ROW][C]0.15[/C][C]-1.133183[/C][C]-1.12046[/C][C]-1.06533[/C][C]-1.06533[/C][C]-1.06039[/C][C]-1.150146[/C][C]-1.095016[/C][C]-1.150146[/C][/ROW]
[ROW][C]0.2[/C][C]-0.956726[/C][C]-0.953461[/C][C]-0.950195[/C][C]-0.950195[/C][C]-0.893023[/C][C]-0.950195[/C][C]-0.963257[/C][C]-0.950195[/C][/ROW]
[ROW][C]0.25[/C][C]-0.76043[/C][C]-0.727575[/C][C]-0.76043[/C][C]-0.69472[/C][C]-0.661864[/C][C]-0.76043[/C][C]-0.661864[/C][C]-0.76043[/C][/ROW]
[ROW][C]0.3[/C][C]-0.551454[/C][C]-0.502515[/C][C]-0.453576[/C][C]-0.453576[/C][C]-0.4507[/C][C]-0.616706[/C][C]-0.567767[/C][C]-0.453576[/C][/ROW]
[ROW][C]0.35[/C][C]-0.382485[/C][C]-0.353094[/C][C]-0.371905[/C][C]-0.371905[/C][C]-0.315473[/C][C]-0.371905[/C][C]-0.265312[/C][C]-0.371905[/C][/ROW]
[ROW][C]0.4[/C][C]-0.219447[/C][C]-0.20065[/C][C]-0.181853[/C][C]-0.181853[/C][C]-0.191251[/C][C]-0.228845[/C][C]-0.210048[/C][C]-0.181853[/C][/ROW]
[ROW][C]0.45[/C][C]-0.162705[/C][C]-0.15731[/C][C]-0.160077[/C][C]-0.160077[/C][C]-0.151774[/C][C]-0.160077[/C][C]-0.107489[/C][C]-0.160077[/C][/ROW]
[ROW][C]0.5[/C][C]-0.058326[/C][C]-0.028679[/C][C]-0.058326[/C][C]-0.028679[/C][C]-0.028679[/C][C]-0.058326[/C][C]-0.028679[/C][C]-0.028679[/C][/ROW]
[ROW][C]0.55[/C][C]0.037121[/C][C]0.041935[/C][C]0.042372[/C][C]0.042372[/C][C]0.041059[/C][C]0.03362[/C][C]0.034058[/C][C]0.042372[/C][/ROW]
[ROW][C]0.6[/C][C]0.053312[/C][C]0.067046[/C][C]0.053826[/C][C]0.053826[/C][C]0.060436[/C][C]0.053826[/C][C]0.073656[/C][C]0.053826[/C][/ROW]
[ROW][C]0.65[/C][C]0.124346[/C][C]0.227901[/C][C]0.251798[/C][C]0.251798[/C][C]0.180107[/C][C]0.092483[/C][C]0.11638[/C][C]0.251798[/C][/ROW]
[ROW][C]0.7[/C][C]0.36926[/C][C]0.389541[/C][C]0.37632[/C][C]0.37632[/C][C]0.374555[/C][C]0.37632[/C][C]0.407169[/C][C]0.37632[/C][/ROW]
[ROW][C]0.75[/C][C]0.425358[/C][C]0.428631[/C][C]0.425358[/C][C]0.42754[/C][C]0.426449[/C][C]0.425358[/C][C]0.426449[/C][C]0.429722[/C][/ROW]
[ROW][C]0.8[/C][C]0.578881[/C][C]0.630809[/C][C]0.626863[/C][C]0.626863[/C][C]0.594875[/C][C]0.546893[/C][C]0.642648[/C][C]0.626863[/C][/ROW]
[ROW][C]0.85[/C][C]0.677789[/C][C]0.816509[/C][C]0.685588[/C][C]0.685588[/C][C]0.683638[/C][C]0.685588[/C][C]0.756084[/C][C]0.887006[/C][/ROW]
[ROW][C]0.9[/C][C]1.158944[/C][C]1.265446[/C][C]1.244444[/C][C]1.244444[/C][C]1.169632[/C][C]1.137569[/C][C]1.433459[/C][C]1.244444[/C][/ROW]
[ROW][C]0.95[/C][C]1.639425[/C][C]1.816956[/C][C]1.762734[/C][C]1.762734[/C][C]1.654838[/C][C]1.762734[/C][C]1.807097[/C][C]1.861319[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63995&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63995&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.05-2.226644-2.220365-2.151297-2.151297-2.117599-2.276875-2.207808-2.276875
0.1-1.980995-1.971742-1.962489-1.962489-1.812638-1.962489-2.045765-1.962489
0.15-1.133183-1.12046-1.06533-1.06533-1.06039-1.150146-1.095016-1.150146
0.2-0.956726-0.953461-0.950195-0.950195-0.893023-0.950195-0.963257-0.950195
0.25-0.76043-0.727575-0.76043-0.69472-0.661864-0.76043-0.661864-0.76043
0.3-0.551454-0.502515-0.453576-0.453576-0.4507-0.616706-0.567767-0.453576
0.35-0.382485-0.353094-0.371905-0.371905-0.315473-0.371905-0.265312-0.371905
0.4-0.219447-0.20065-0.181853-0.181853-0.191251-0.228845-0.210048-0.181853
0.45-0.162705-0.15731-0.160077-0.160077-0.151774-0.160077-0.107489-0.160077
0.5-0.058326-0.028679-0.058326-0.028679-0.028679-0.058326-0.028679-0.028679
0.550.0371210.0419350.0423720.0423720.0410590.033620.0340580.042372
0.60.0533120.0670460.0538260.0538260.0604360.0538260.0736560.053826
0.650.1243460.2279010.2517980.2517980.1801070.0924830.116380.251798
0.70.369260.3895410.376320.376320.3745550.376320.4071690.37632
0.750.4253580.4286310.4253580.427540.4264490.4253580.4264490.429722
0.80.5788810.6308090.6268630.6268630.5948750.5468930.6426480.626863
0.850.6777890.8165090.6855880.6855880.6836380.6855880.7560840.887006
0.91.1589441.2654461.2444441.2444441.1696321.1375691.4334591.244444
0.951.6394251.8169561.7627341.7627341.6548381.7627341.8070971.861319



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