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, 10 Dec 2009 06:36:13 -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/10/t1260452222ws9k6mzqyx79erh.htm/, Retrieved Tue, 23 Apr 2024 18:54:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=65367, Retrieved Tue, 23 Apr 2024 18:54:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsJSSHWPap17
Estimated Impact108
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Bivariate Data Series] [Bivariate dataset] [2008-01-05 23:51:08] [74be16979710d4c4e7c6647856088456]
F RMPD  [Univariate Explorative Data Analysis] [Colombia Coffee] [2008-01-07 14:21:11] [74be16979710d4c4e7c6647856088456]
F RMPD    [Univariate Data Series] [] [2009-10-14 08:30:28] [74be16979710d4c4e7c6647856088456]
- RMP       [Central Tendency] [Constante part 1] [2009-10-17 13:50:10] [214e6e00abbde49700521a7ef1d30da2]
-  MPD        [Central Tendency] [Paper constante term] [2009-11-29 13:31:29] [214e6e00abbde49700521a7ef1d30da2]
- RM              [Percentiles] [Percentiles] [2009-12-10 13:36:13] [c8fd62404619100d8e91184019148412] [Current]
Feedback Forum

Post a new message
Dataseries X:
6
5
7
10
10
5
8
2
11
7
11
9
2
3
12
9
7
4
6
9
10
2
6
2
6
6
9
2
10
16
4
4
11
3
5
3
5
11
8
3
1
7
5
6
9
7
8
4
6
4
5
5
13
4
8
4
5
9
4
8




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65367&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.021.21.2222211.781
0.0422222222
0.0622222222
0.0822222222
0.122.122.52.922.92
0.1233333333
0.1433333333
0.1633333.44333
0.183.83.9844443.024
0.244444444
0.2244444444
0.2444444444
0.2644444444
0.2844444444
0.344.344.54.744.74
0.3255555555
0.3455555555
0.3655555555
0.3855555555
0.455555555
0.4255555555
0.445.45.84665.9655.166
0.4666666666
0.4866666666
0.566666666
0.5266666666
0.5466666666
0.566.67777777
0.5877777777
0.677777777
0.6277777777
0.647.48887.76788
0.6688888888
0.6888888888
0.788888888
0.728.28.92998.4888.089
0.7499999999
0.7699999999
0.7899999999
0.899999999
0.829.21010109.3891010
0.841010101010101010
0.861010101010101010
0.881010.681010101010.3211
0.91111111111111111
0.921111111111111111
0.941111.341111111111.6611
0.9611.612.56121211.641212.4413
0.9812.815.34131312.821313.6616

\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.02 & 1.2 & 1.22 & 2 & 2 & 2 & 1 & 1.78 & 1 \tabularnewline
0.04 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \tabularnewline
0.06 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \tabularnewline
0.08 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \tabularnewline
0.1 & 2 & 2.1 & 2 & 2.5 & 2.9 & 2 & 2.9 & 2 \tabularnewline
0.12 & 3 & 3 & 3 & 3 & 3 & 3 & 3 & 3 \tabularnewline
0.14 & 3 & 3 & 3 & 3 & 3 & 3 & 3 & 3 \tabularnewline
0.16 & 3 & 3 & 3 & 3 & 3.44 & 3 & 3 & 3 \tabularnewline
0.18 & 3.8 & 3.98 & 4 & 4 & 4 & 4 & 3.02 & 4 \tabularnewline
0.2 & 4 & 4 & 4 & 4 & 4 & 4 & 4 & 4 \tabularnewline
0.22 & 4 & 4 & 4 & 4 & 4 & 4 & 4 & 4 \tabularnewline
0.24 & 4 & 4 & 4 & 4 & 4 & 4 & 4 & 4 \tabularnewline
0.26 & 4 & 4 & 4 & 4 & 4 & 4 & 4 & 4 \tabularnewline
0.28 & 4 & 4 & 4 & 4 & 4 & 4 & 4 & 4 \tabularnewline
0.3 & 4 & 4.3 & 4 & 4.5 & 4.7 & 4 & 4.7 & 4 \tabularnewline
0.32 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \tabularnewline
0.34 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \tabularnewline
0.36 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \tabularnewline
0.38 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \tabularnewline
0.4 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \tabularnewline
0.42 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \tabularnewline
0.44 & 5.4 & 5.84 & 6 & 6 & 5.96 & 5 & 5.16 & 6 \tabularnewline
0.46 & 6 & 6 & 6 & 6 & 6 & 6 & 6 & 6 \tabularnewline
0.48 & 6 & 6 & 6 & 6 & 6 & 6 & 6 & 6 \tabularnewline
0.5 & 6 & 6 & 6 & 6 & 6 & 6 & 6 & 6 \tabularnewline
0.52 & 6 & 6 & 6 & 6 & 6 & 6 & 6 & 6 \tabularnewline
0.54 & 6 & 6 & 6 & 6 & 6 & 6 & 6 & 6 \tabularnewline
0.56 & 6.6 & 7 & 7 & 7 & 7 & 7 & 7 & 7 \tabularnewline
0.58 & 7 & 7 & 7 & 7 & 7 & 7 & 7 & 7 \tabularnewline
0.6 & 7 & 7 & 7 & 7 & 7 & 7 & 7 & 7 \tabularnewline
0.62 & 7 & 7 & 7 & 7 & 7 & 7 & 7 & 7 \tabularnewline
0.64 & 7.4 & 8 & 8 & 8 & 7.76 & 7 & 8 & 8 \tabularnewline
0.66 & 8 & 8 & 8 & 8 & 8 & 8 & 8 & 8 \tabularnewline
0.68 & 8 & 8 & 8 & 8 & 8 & 8 & 8 & 8 \tabularnewline
0.7 & 8 & 8 & 8 & 8 & 8 & 8 & 8 & 8 \tabularnewline
0.72 & 8.2 & 8.92 & 9 & 9 & 8.48 & 8 & 8.08 & 9 \tabularnewline
0.74 & 9 & 9 & 9 & 9 & 9 & 9 & 9 & 9 \tabularnewline
0.76 & 9 & 9 & 9 & 9 & 9 & 9 & 9 & 9 \tabularnewline
0.78 & 9 & 9 & 9 & 9 & 9 & 9 & 9 & 9 \tabularnewline
0.8 & 9 & 9 & 9 & 9 & 9 & 9 & 9 & 9 \tabularnewline
0.82 & 9.2 & 10 & 10 & 10 & 9.38 & 9 & 10 & 10 \tabularnewline
0.84 & 10 & 10 & 10 & 10 & 10 & 10 & 10 & 10 \tabularnewline
0.86 & 10 & 10 & 10 & 10 & 10 & 10 & 10 & 10 \tabularnewline
0.88 & 10 & 10.68 & 10 & 10 & 10 & 10 & 10.32 & 11 \tabularnewline
0.9 & 11 & 11 & 11 & 11 & 11 & 11 & 11 & 11 \tabularnewline
0.92 & 11 & 11 & 11 & 11 & 11 & 11 & 11 & 11 \tabularnewline
0.94 & 11 & 11.34 & 11 & 11 & 11 & 11 & 11.66 & 11 \tabularnewline
0.96 & 11.6 & 12.56 & 12 & 12 & 11.64 & 12 & 12.44 & 13 \tabularnewline
0.98 & 12.8 & 15.34 & 13 & 13 & 12.82 & 13 & 13.66 & 16 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65367&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.02[/C][C]1.2[/C][C]1.22[/C][C]2[/C][C]2[/C][C]2[/C][C]1[/C][C]1.78[/C][C]1[/C][/ROW]
[ROW][C]0.04[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][/ROW]
[ROW][C]0.06[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][/ROW]
[ROW][C]0.08[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][C]2[/C][/ROW]
[ROW][C]0.1[/C][C]2[/C][C]2.1[/C][C]2[/C][C]2.5[/C][C]2.9[/C][C]2[/C][C]2.9[/C][C]2[/C][/ROW]
[ROW][C]0.12[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][/ROW]
[ROW][C]0.14[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][/ROW]
[ROW][C]0.16[/C][C]3[/C][C]3[/C][C]3[/C][C]3[/C][C]3.44[/C][C]3[/C][C]3[/C][C]3[/C][/ROW]
[ROW][C]0.18[/C][C]3.8[/C][C]3.98[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]3.02[/C][C]4[/C][/ROW]
[ROW][C]0.2[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][/ROW]
[ROW][C]0.22[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][/ROW]
[ROW][C]0.24[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][/ROW]
[ROW][C]0.26[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][/ROW]
[ROW][C]0.28[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][C]4[/C][/ROW]
[ROW][C]0.3[/C][C]4[/C][C]4.3[/C][C]4[/C][C]4.5[/C][C]4.7[/C][C]4[/C][C]4.7[/C][C]4[/C][/ROW]
[ROW][C]0.32[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][/ROW]
[ROW][C]0.34[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][/ROW]
[ROW][C]0.36[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][/ROW]
[ROW][C]0.38[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][/ROW]
[ROW][C]0.4[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][/ROW]
[ROW][C]0.42[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][C]5[/C][/ROW]
[ROW][C]0.44[/C][C]5.4[/C][C]5.84[/C][C]6[/C][C]6[/C][C]5.96[/C][C]5[/C][C]5.16[/C][C]6[/C][/ROW]
[ROW][C]0.46[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][/ROW]
[ROW][C]0.48[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][/ROW]
[ROW][C]0.5[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][/ROW]
[ROW][C]0.52[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][/ROW]
[ROW][C]0.54[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][C]6[/C][/ROW]
[ROW][C]0.56[/C][C]6.6[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][/ROW]
[ROW][C]0.58[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][/ROW]
[ROW][C]0.6[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][/ROW]
[ROW][C]0.62[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][C]7[/C][/ROW]
[ROW][C]0.64[/C][C]7.4[/C][C]8[/C][C]8[/C][C]8[/C][C]7.76[/C][C]7[/C][C]8[/C][C]8[/C][/ROW]
[ROW][C]0.66[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][/ROW]
[ROW][C]0.68[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][/ROW]
[ROW][C]0.7[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][C]8[/C][/ROW]
[ROW][C]0.72[/C][C]8.2[/C][C]8.92[/C][C]9[/C][C]9[/C][C]8.48[/C][C]8[/C][C]8.08[/C][C]9[/C][/ROW]
[ROW][C]0.74[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][/ROW]
[ROW][C]0.76[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][/ROW]
[ROW][C]0.78[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][/ROW]
[ROW][C]0.8[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][C]9[/C][/ROW]
[ROW][C]0.82[/C][C]9.2[/C][C]10[/C][C]10[/C][C]10[/C][C]9.38[/C][C]9[/C][C]10[/C][C]10[/C][/ROW]
[ROW][C]0.84[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][/ROW]
[ROW][C]0.86[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][/ROW]
[ROW][C]0.88[/C][C]10[/C][C]10.68[/C][C]10[/C][C]10[/C][C]10[/C][C]10[/C][C]10.32[/C][C]11[/C][/ROW]
[ROW][C]0.9[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][/ROW]
[ROW][C]0.92[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][/ROW]
[ROW][C]0.94[/C][C]11[/C][C]11.34[/C][C]11[/C][C]11[/C][C]11[/C][C]11[/C][C]11.66[/C][C]11[/C][/ROW]
[ROW][C]0.96[/C][C]11.6[/C][C]12.56[/C][C]12[/C][C]12[/C][C]11.64[/C][C]12[/C][C]12.44[/C][C]13[/C][/ROW]
[ROW][C]0.98[/C][C]12.8[/C][C]15.34[/C][C]13[/C][C]13[/C][C]12.82[/C][C]13[/C][C]13.66[/C][C]16[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=65367&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65367&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.021.21.2222211.781
0.0422222222
0.0622222222
0.0822222222
0.122.122.52.922.92
0.1233333333
0.1433333333
0.1633333.44333
0.183.83.9844443.024
0.244444444
0.2244444444
0.2444444444
0.2644444444
0.2844444444
0.344.344.54.744.74
0.3255555555
0.3455555555
0.3655555555
0.3855555555
0.455555555
0.4255555555
0.445.45.84665.9655.166
0.4666666666
0.4866666666
0.566666666
0.5266666666
0.5466666666
0.566.67777777
0.5877777777
0.677777777
0.6277777777
0.647.48887.76788
0.6688888888
0.6888888888
0.788888888
0.728.28.92998.4888.089
0.7499999999
0.7699999999
0.7899999999
0.899999999
0.829.21010109.3891010
0.841010101010101010
0.861010101010101010
0.881010.681010101010.3211
0.91111111111111111
0.921111111111111111
0.941111.341111111111.6611
0.9611.612.56121211.641212.4413
0.9812.815.34131312.821313.6616



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