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:14:32 -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/t125995054818rdpocfe83dpck.htm/, Retrieved Sat, 27 Apr 2024 20:58:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=64001, Retrieved Sat, 27 Apr 2024 20:58:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact95
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   [ARIMA Backward Selection] [] [2009-11-27 14:53:14] [b98453cac15ba1066b407e146608df68]
- RMPD      [Percentiles] [Workshop 5] [2009-12-04 18:14:32] [0852d9c28828e87a0aee4d255e088d63] [Current]
Feedback Forum

Post a new message
Dataseries X:
-2.09587161834606e-05 
0.000228481933825397 
-0.000159775551784482 
-0.000160536965109676 
-0.000266994188374353 
0.000240419452494538 
-0.000321246390357605 
-0.000226577087234819 
0.000167470941315089 
5.0196875175357e-05 
3.67673425270215e-05 
-0.000114276388216173 
-0.000458333615922252 
-0.000352844848691578 
7.59698455102288e-05 
4.33586788186247e-05 
6.25949259874915e-05 
0.000190871267341940 
0.000168413122319339 
0.000124898871766802 
-0.000243024647749713 
0.000336813796629267 
-0.000380442711765780 
-0.000294096679707939 
0.000237016367569606 
2.61931300468805e-05 
-0.000189031983743087 
-9.60296637403761e-05 
-9.83061198425595e-05 
-3.54034476392592e-05 
-0.000173648350025484 
0.000173166859537071 
-1.03483450823899e-05 
0.000187833959503980 
8.59412848969045e-05 
0.000324124532145170 
0.000803431794824296 
0.000318833512430423 
0.000306439781399685 
-0.000172787398771134 
0.000335491430080176 
7.26612460563754e-05 
-4.73137137466366e-05 
-0.000147647498321713 
0.000100114811182258 
0.000438221470708005 
-9.74035807445676e-06 
0.000309686353472523 




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64001&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-0.000369-0.000368-0.000353-0.000353-0.000342-0.00038-0.000365-0.00038
0.1-3e-04-0.000297-0.000294-0.000294-0.000275-0.000294-0.000319-0.000294
0.15-0.00024-0.000237-0.000227-0.000227-0.000225-0.000243-0.000232-0.000243
0.2-0.00018-0.000177-0.000174-0.000174-0.000173-0.000174-0.000186-0.000174
0.25-0.000161-0.00016-0.000161-0.00016-0.00016-0.000161-0.00016-0.000161
0.3-0.000134-0.000124-0.000114-0.000114-0.000113-0.000148-0.000138-0.000114
0.35-9.6e-05-8.9e-05-9.6e-05-9.6e-05-7.4e-05-9.6e-05-5.5e-05-9.6e-05
0.4-3.3e-05-2.7e-05-2.1e-05-2.1e-05-2.4e-05-3.5e-05-3e-05-2.1e-05
0.45-1e-05-8e-06-1e-05-1e-05-4e-06-1e-052.4e-05-1e-05
0.53.7e-054e-053.7e-054e-054e-053.7e-054e-054e-05
0.555.5e-056.2e-056.3e-056.3e-056.1e-055e-055.1e-056.3e-05
0.67.5e-058e-057.6e-057.6e-057.8e-057.6e-058.2e-057.6e-05
0.650.0001050.0001210.0001250.0001250.0001141e-040.0001040.000125
0.70.0001680.000170.0001680.0001680.0001680.0001680.0001720.000168
0.750.0001880.000190.0001880.0001890.0001890.0001880.0001890.000191
0.80.0002320.0002380.0002370.0002370.0002340.0002280.000240.000237
0.850.0002930.0003090.0003060.0003060.0003030.0003060.0003080.00031
0.90.000320.0003250.0003240.0003240.000320.0003190.0003340.000324
0.950.0003360.0003930.0003370.0003370.0003360.0003370.0003820.000438

\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 & -0.000369 & -0.000368 & -0.000353 & -0.000353 & -0.000342 & -0.00038 & -0.000365 & -0.00038 \tabularnewline
0.1 & -3e-04 & -0.000297 & -0.000294 & -0.000294 & -0.000275 & -0.000294 & -0.000319 & -0.000294 \tabularnewline
0.15 & -0.00024 & -0.000237 & -0.000227 & -0.000227 & -0.000225 & -0.000243 & -0.000232 & -0.000243 \tabularnewline
0.2 & -0.00018 & -0.000177 & -0.000174 & -0.000174 & -0.000173 & -0.000174 & -0.000186 & -0.000174 \tabularnewline
0.25 & -0.000161 & -0.00016 & -0.000161 & -0.00016 & -0.00016 & -0.000161 & -0.00016 & -0.000161 \tabularnewline
0.3 & -0.000134 & -0.000124 & -0.000114 & -0.000114 & -0.000113 & -0.000148 & -0.000138 & -0.000114 \tabularnewline
0.35 & -9.6e-05 & -8.9e-05 & -9.6e-05 & -9.6e-05 & -7.4e-05 & -9.6e-05 & -5.5e-05 & -9.6e-05 \tabularnewline
0.4 & -3.3e-05 & -2.7e-05 & -2.1e-05 & -2.1e-05 & -2.4e-05 & -3.5e-05 & -3e-05 & -2.1e-05 \tabularnewline
0.45 & -1e-05 & -8e-06 & -1e-05 & -1e-05 & -4e-06 & -1e-05 & 2.4e-05 & -1e-05 \tabularnewline
0.5 & 3.7e-05 & 4e-05 & 3.7e-05 & 4e-05 & 4e-05 & 3.7e-05 & 4e-05 & 4e-05 \tabularnewline
0.55 & 5.5e-05 & 6.2e-05 & 6.3e-05 & 6.3e-05 & 6.1e-05 & 5e-05 & 5.1e-05 & 6.3e-05 \tabularnewline
0.6 & 7.5e-05 & 8e-05 & 7.6e-05 & 7.6e-05 & 7.8e-05 & 7.6e-05 & 8.2e-05 & 7.6e-05 \tabularnewline
0.65 & 0.000105 & 0.000121 & 0.000125 & 0.000125 & 0.000114 & 1e-04 & 0.000104 & 0.000125 \tabularnewline
0.7 & 0.000168 & 0.00017 & 0.000168 & 0.000168 & 0.000168 & 0.000168 & 0.000172 & 0.000168 \tabularnewline
0.75 & 0.000188 & 0.00019 & 0.000188 & 0.000189 & 0.000189 & 0.000188 & 0.000189 & 0.000191 \tabularnewline
0.8 & 0.000232 & 0.000238 & 0.000237 & 0.000237 & 0.000234 & 0.000228 & 0.00024 & 0.000237 \tabularnewline
0.85 & 0.000293 & 0.000309 & 0.000306 & 0.000306 & 0.000303 & 0.000306 & 0.000308 & 0.00031 \tabularnewline
0.9 & 0.00032 & 0.000325 & 0.000324 & 0.000324 & 0.00032 & 0.000319 & 0.000334 & 0.000324 \tabularnewline
0.95 & 0.000336 & 0.000393 & 0.000337 & 0.000337 & 0.000336 & 0.000337 & 0.000382 & 0.000438 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64001&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]-0.000369[/C][C]-0.000368[/C][C]-0.000353[/C][C]-0.000353[/C][C]-0.000342[/C][C]-0.00038[/C][C]-0.000365[/C][C]-0.00038[/C][/ROW]
[ROW][C]0.1[/C][C]-3e-04[/C][C]-0.000297[/C][C]-0.000294[/C][C]-0.000294[/C][C]-0.000275[/C][C]-0.000294[/C][C]-0.000319[/C][C]-0.000294[/C][/ROW]
[ROW][C]0.15[/C][C]-0.00024[/C][C]-0.000237[/C][C]-0.000227[/C][C]-0.000227[/C][C]-0.000225[/C][C]-0.000243[/C][C]-0.000232[/C][C]-0.000243[/C][/ROW]
[ROW][C]0.2[/C][C]-0.00018[/C][C]-0.000177[/C][C]-0.000174[/C][C]-0.000174[/C][C]-0.000173[/C][C]-0.000174[/C][C]-0.000186[/C][C]-0.000174[/C][/ROW]
[ROW][C]0.25[/C][C]-0.000161[/C][C]-0.00016[/C][C]-0.000161[/C][C]-0.00016[/C][C]-0.00016[/C][C]-0.000161[/C][C]-0.00016[/C][C]-0.000161[/C][/ROW]
[ROW][C]0.3[/C][C]-0.000134[/C][C]-0.000124[/C][C]-0.000114[/C][C]-0.000114[/C][C]-0.000113[/C][C]-0.000148[/C][C]-0.000138[/C][C]-0.000114[/C][/ROW]
[ROW][C]0.35[/C][C]-9.6e-05[/C][C]-8.9e-05[/C][C]-9.6e-05[/C][C]-9.6e-05[/C][C]-7.4e-05[/C][C]-9.6e-05[/C][C]-5.5e-05[/C][C]-9.6e-05[/C][/ROW]
[ROW][C]0.4[/C][C]-3.3e-05[/C][C]-2.7e-05[/C][C]-2.1e-05[/C][C]-2.1e-05[/C][C]-2.4e-05[/C][C]-3.5e-05[/C][C]-3e-05[/C][C]-2.1e-05[/C][/ROW]
[ROW][C]0.45[/C][C]-1e-05[/C][C]-8e-06[/C][C]-1e-05[/C][C]-1e-05[/C][C]-4e-06[/C][C]-1e-05[/C][C]2.4e-05[/C][C]-1e-05[/C][/ROW]
[ROW][C]0.5[/C][C]3.7e-05[/C][C]4e-05[/C][C]3.7e-05[/C][C]4e-05[/C][C]4e-05[/C][C]3.7e-05[/C][C]4e-05[/C][C]4e-05[/C][/ROW]
[ROW][C]0.55[/C][C]5.5e-05[/C][C]6.2e-05[/C][C]6.3e-05[/C][C]6.3e-05[/C][C]6.1e-05[/C][C]5e-05[/C][C]5.1e-05[/C][C]6.3e-05[/C][/ROW]
[ROW][C]0.6[/C][C]7.5e-05[/C][C]8e-05[/C][C]7.6e-05[/C][C]7.6e-05[/C][C]7.8e-05[/C][C]7.6e-05[/C][C]8.2e-05[/C][C]7.6e-05[/C][/ROW]
[ROW][C]0.65[/C][C]0.000105[/C][C]0.000121[/C][C]0.000125[/C][C]0.000125[/C][C]0.000114[/C][C]1e-04[/C][C]0.000104[/C][C]0.000125[/C][/ROW]
[ROW][C]0.7[/C][C]0.000168[/C][C]0.00017[/C][C]0.000168[/C][C]0.000168[/C][C]0.000168[/C][C]0.000168[/C][C]0.000172[/C][C]0.000168[/C][/ROW]
[ROW][C]0.75[/C][C]0.000188[/C][C]0.00019[/C][C]0.000188[/C][C]0.000189[/C][C]0.000189[/C][C]0.000188[/C][C]0.000189[/C][C]0.000191[/C][/ROW]
[ROW][C]0.8[/C][C]0.000232[/C][C]0.000238[/C][C]0.000237[/C][C]0.000237[/C][C]0.000234[/C][C]0.000228[/C][C]0.00024[/C][C]0.000237[/C][/ROW]
[ROW][C]0.85[/C][C]0.000293[/C][C]0.000309[/C][C]0.000306[/C][C]0.000306[/C][C]0.000303[/C][C]0.000306[/C][C]0.000308[/C][C]0.00031[/C][/ROW]
[ROW][C]0.9[/C][C]0.00032[/C][C]0.000325[/C][C]0.000324[/C][C]0.000324[/C][C]0.00032[/C][C]0.000319[/C][C]0.000334[/C][C]0.000324[/C][/ROW]
[ROW][C]0.95[/C][C]0.000336[/C][C]0.000393[/C][C]0.000337[/C][C]0.000337[/C][C]0.000336[/C][C]0.000337[/C][C]0.000382[/C][C]0.000438[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64001&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64001&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-0.000369-0.000368-0.000353-0.000353-0.000342-0.00038-0.000365-0.00038
0.1-3e-04-0.000297-0.000294-0.000294-0.000275-0.000294-0.000319-0.000294
0.15-0.00024-0.000237-0.000227-0.000227-0.000225-0.000243-0.000232-0.000243
0.2-0.00018-0.000177-0.000174-0.000174-0.000173-0.000174-0.000186-0.000174
0.25-0.000161-0.00016-0.000161-0.00016-0.00016-0.000161-0.00016-0.000161
0.3-0.000134-0.000124-0.000114-0.000114-0.000113-0.000148-0.000138-0.000114
0.35-9.6e-05-8.9e-05-9.6e-05-9.6e-05-7.4e-05-9.6e-05-5.5e-05-9.6e-05
0.4-3.3e-05-2.7e-05-2.1e-05-2.1e-05-2.4e-05-3.5e-05-3e-05-2.1e-05
0.45-1e-05-8e-06-1e-05-1e-05-4e-06-1e-052.4e-05-1e-05
0.53.7e-054e-053.7e-054e-054e-053.7e-054e-054e-05
0.555.5e-056.2e-056.3e-056.3e-056.1e-055e-055.1e-056.3e-05
0.67.5e-058e-057.6e-057.6e-057.8e-057.6e-058.2e-057.6e-05
0.650.0001050.0001210.0001250.0001250.0001141e-040.0001040.000125
0.70.0001680.000170.0001680.0001680.0001680.0001680.0001720.000168
0.750.0001880.000190.0001880.0001890.0001890.0001880.0001890.000191
0.80.0002320.0002380.0002370.0002370.0002340.0002280.000240.000237
0.850.0002930.0003090.0003060.0003060.0003030.0003060.0003080.00031
0.90.000320.0003250.0003240.0003240.000320.0003190.0003340.000324
0.950.0003360.0003930.0003370.0003370.0003360.0003370.0003820.000438



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