Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_percentiles.wasp
Title produced by softwarePercentiles
Date of computationMon, 12 Nov 2007 11:31:43 -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/2007/Nov/12/t1194892015vwv1or7su1o9sli.htm/, Retrieved Mon, 29 Apr 2024 01:15:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5293, Retrieved Mon, 29 Apr 2024 01:15:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact186
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Percentiles] [Percentiles: Alge...] [2007-11-12 18:31:43] [94abaf6e1c7b1fd4f9d5e2c2d987f350] [Current]
Feedback Forum

Post a new message
Dataseries X:
87
75
74
91
101
103
106
102
105
105
100
95
96
98
99
92
84
81
72
89
96
91
88
90
98
87
100
100
104
107
105
102
98
106
97
101
100
93
94
96
96
98
102
95
85
84
82
87
77
90
90
94
97
96
93
93
93
97
100
95
97
103
102
93
99
100
97
104
102
103
100
90
90




Summary of compuational 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 compuational 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=5293&T=0

[TABLE]
[ROW][C]Summary of compuational 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=5293&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5293&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 compuational 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.0272.9272.96747474.447273.0472
0.0474.9274.96757576.767574.0475
0.0678.5278.76818181.327779.2477
0.0881.8481.92828283.528281.0882
0.18484848484.2848484
0.1284.7684.88858586.288584.1285
0.148787878787878787
0.168787878787.52878787
0.1888.1488.32898988.968888.6888
0.289.689.89090909089.290
0.229090909090909090
0.249090909090909090
0.269090.24909090.729090.7690
0.289191919191.16919191
0.391.992.2929292.69292.892
0.329393939393939393
0.349393939393939393
0.369393939393939393
0.3893.7494949494949494
0.494.294.6959594.89494.495
0.429595959595959595
0.4495.1295.56969695.689595.4496
0.469696969696969696
0.489696969696969696
0.59696969696969696
0.5296.9697979797979797
0.549797979797979797
0.569797979797979797
0.5897.3497.92989897.769797.0898
0.69898989898989898
0.629898989898989898
0.6498.7299999999999999
0.6699.1899.8410010099.529999.16100
0.68100100100100100100100100
0.7100100100100100100100100
0.72100100100100100100100100
0.74100100100100100100100100
0.76100.48101101101100.72100101101
0.78101101.72101101101.16101101.28102
0.8102102102102102102102102
0.82102102102102102102102102
0.84102102.16102102102102102.84102
0.86102.78103103103102.92103103103
0.88103103.12103103103103103.88103
0.9103.7104104104103.8104104104
0.92104.16105105105104.24104105105
0.94105105105105105105105105
0.96105.08106106106105.12105106106
0.98106106.52106106106106106.48107

\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 & 72.92 & 72.96 & 74 & 74 & 74.44 & 72 & 73.04 & 72 \tabularnewline
0.04 & 74.92 & 74.96 & 75 & 75 & 76.76 & 75 & 74.04 & 75 \tabularnewline
0.06 & 78.52 & 78.76 & 81 & 81 & 81.32 & 77 & 79.24 & 77 \tabularnewline
0.08 & 81.84 & 81.92 & 82 & 82 & 83.52 & 82 & 81.08 & 82 \tabularnewline
0.1 & 84 & 84 & 84 & 84 & 84.2 & 84 & 84 & 84 \tabularnewline
0.12 & 84.76 & 84.88 & 85 & 85 & 86.28 & 85 & 84.12 & 85 \tabularnewline
0.14 & 87 & 87 & 87 & 87 & 87 & 87 & 87 & 87 \tabularnewline
0.16 & 87 & 87 & 87 & 87 & 87.52 & 87 & 87 & 87 \tabularnewline
0.18 & 88.14 & 88.32 & 89 & 89 & 88.96 & 88 & 88.68 & 88 \tabularnewline
0.2 & 89.6 & 89.8 & 90 & 90 & 90 & 90 & 89.2 & 90 \tabularnewline
0.22 & 90 & 90 & 90 & 90 & 90 & 90 & 90 & 90 \tabularnewline
0.24 & 90 & 90 & 90 & 90 & 90 & 90 & 90 & 90 \tabularnewline
0.26 & 90 & 90.24 & 90 & 90 & 90.72 & 90 & 90.76 & 90 \tabularnewline
0.28 & 91 & 91 & 91 & 91 & 91.16 & 91 & 91 & 91 \tabularnewline
0.3 & 91.9 & 92.2 & 92 & 92 & 92.6 & 92 & 92.8 & 92 \tabularnewline
0.32 & 93 & 93 & 93 & 93 & 93 & 93 & 93 & 93 \tabularnewline
0.34 & 93 & 93 & 93 & 93 & 93 & 93 & 93 & 93 \tabularnewline
0.36 & 93 & 93 & 93 & 93 & 93 & 93 & 93 & 93 \tabularnewline
0.38 & 93.74 & 94 & 94 & 94 & 94 & 94 & 94 & 94 \tabularnewline
0.4 & 94.2 & 94.6 & 95 & 95 & 94.8 & 94 & 94.4 & 95 \tabularnewline
0.42 & 95 & 95 & 95 & 95 & 95 & 95 & 95 & 95 \tabularnewline
0.44 & 95.12 & 95.56 & 96 & 96 & 95.68 & 95 & 95.44 & 96 \tabularnewline
0.46 & 96 & 96 & 96 & 96 & 96 & 96 & 96 & 96 \tabularnewline
0.48 & 96 & 96 & 96 & 96 & 96 & 96 & 96 & 96 \tabularnewline
0.5 & 96 & 96 & 96 & 96 & 96 & 96 & 96 & 96 \tabularnewline
0.52 & 96.96 & 97 & 97 & 97 & 97 & 97 & 97 & 97 \tabularnewline
0.54 & 97 & 97 & 97 & 97 & 97 & 97 & 97 & 97 \tabularnewline
0.56 & 97 & 97 & 97 & 97 & 97 & 97 & 97 & 97 \tabularnewline
0.58 & 97.34 & 97.92 & 98 & 98 & 97.76 & 97 & 97.08 & 98 \tabularnewline
0.6 & 98 & 98 & 98 & 98 & 98 & 98 & 98 & 98 \tabularnewline
0.62 & 98 & 98 & 98 & 98 & 98 & 98 & 98 & 98 \tabularnewline
0.64 & 98.72 & 99 & 99 & 99 & 99 & 99 & 99 & 99 \tabularnewline
0.66 & 99.18 & 99.84 & 100 & 100 & 99.52 & 99 & 99.16 & 100 \tabularnewline
0.68 & 100 & 100 & 100 & 100 & 100 & 100 & 100 & 100 \tabularnewline
0.7 & 100 & 100 & 100 & 100 & 100 & 100 & 100 & 100 \tabularnewline
0.72 & 100 & 100 & 100 & 100 & 100 & 100 & 100 & 100 \tabularnewline
0.74 & 100 & 100 & 100 & 100 & 100 & 100 & 100 & 100 \tabularnewline
0.76 & 100.48 & 101 & 101 & 101 & 100.72 & 100 & 101 & 101 \tabularnewline
0.78 & 101 & 101.72 & 101 & 101 & 101.16 & 101 & 101.28 & 102 \tabularnewline
0.8 & 102 & 102 & 102 & 102 & 102 & 102 & 102 & 102 \tabularnewline
0.82 & 102 & 102 & 102 & 102 & 102 & 102 & 102 & 102 \tabularnewline
0.84 & 102 & 102.16 & 102 & 102 & 102 & 102 & 102.84 & 102 \tabularnewline
0.86 & 102.78 & 103 & 103 & 103 & 102.92 & 103 & 103 & 103 \tabularnewline
0.88 & 103 & 103.12 & 103 & 103 & 103 & 103 & 103.88 & 103 \tabularnewline
0.9 & 103.7 & 104 & 104 & 104 & 103.8 & 104 & 104 & 104 \tabularnewline
0.92 & 104.16 & 105 & 105 & 105 & 104.24 & 104 & 105 & 105 \tabularnewline
0.94 & 105 & 105 & 105 & 105 & 105 & 105 & 105 & 105 \tabularnewline
0.96 & 105.08 & 106 & 106 & 106 & 105.12 & 105 & 106 & 106 \tabularnewline
0.98 & 106 & 106.52 & 106 & 106 & 106 & 106 & 106.48 & 107 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5293&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]72.92[/C][C]72.96[/C][C]74[/C][C]74[/C][C]74.44[/C][C]72[/C][C]73.04[/C][C]72[/C][/ROW]
[ROW][C]0.04[/C][C]74.92[/C][C]74.96[/C][C]75[/C][C]75[/C][C]76.76[/C][C]75[/C][C]74.04[/C][C]75[/C][/ROW]
[ROW][C]0.06[/C][C]78.52[/C][C]78.76[/C][C]81[/C][C]81[/C][C]81.32[/C][C]77[/C][C]79.24[/C][C]77[/C][/ROW]
[ROW][C]0.08[/C][C]81.84[/C][C]81.92[/C][C]82[/C][C]82[/C][C]83.52[/C][C]82[/C][C]81.08[/C][C]82[/C][/ROW]
[ROW][C]0.1[/C][C]84[/C][C]84[/C][C]84[/C][C]84[/C][C]84.2[/C][C]84[/C][C]84[/C][C]84[/C][/ROW]
[ROW][C]0.12[/C][C]84.76[/C][C]84.88[/C][C]85[/C][C]85[/C][C]86.28[/C][C]85[/C][C]84.12[/C][C]85[/C][/ROW]
[ROW][C]0.14[/C][C]87[/C][C]87[/C][C]87[/C][C]87[/C][C]87[/C][C]87[/C][C]87[/C][C]87[/C][/ROW]
[ROW][C]0.16[/C][C]87[/C][C]87[/C][C]87[/C][C]87[/C][C]87.52[/C][C]87[/C][C]87[/C][C]87[/C][/ROW]
[ROW][C]0.18[/C][C]88.14[/C][C]88.32[/C][C]89[/C][C]89[/C][C]88.96[/C][C]88[/C][C]88.68[/C][C]88[/C][/ROW]
[ROW][C]0.2[/C][C]89.6[/C][C]89.8[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]89.2[/C][C]90[/C][/ROW]
[ROW][C]0.22[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][/ROW]
[ROW][C]0.24[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][C]90[/C][/ROW]
[ROW][C]0.26[/C][C]90[/C][C]90.24[/C][C]90[/C][C]90[/C][C]90.72[/C][C]90[/C][C]90.76[/C][C]90[/C][/ROW]
[ROW][C]0.28[/C][C]91[/C][C]91[/C][C]91[/C][C]91[/C][C]91.16[/C][C]91[/C][C]91[/C][C]91[/C][/ROW]
[ROW][C]0.3[/C][C]91.9[/C][C]92.2[/C][C]92[/C][C]92[/C][C]92.6[/C][C]92[/C][C]92.8[/C][C]92[/C][/ROW]
[ROW][C]0.32[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][/ROW]
[ROW][C]0.34[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][/ROW]
[ROW][C]0.36[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][C]93[/C][/ROW]
[ROW][C]0.38[/C][C]93.74[/C][C]94[/C][C]94[/C][C]94[/C][C]94[/C][C]94[/C][C]94[/C][C]94[/C][/ROW]
[ROW][C]0.4[/C][C]94.2[/C][C]94.6[/C][C]95[/C][C]95[/C][C]94.8[/C][C]94[/C][C]94.4[/C][C]95[/C][/ROW]
[ROW][C]0.42[/C][C]95[/C][C]95[/C][C]95[/C][C]95[/C][C]95[/C][C]95[/C][C]95[/C][C]95[/C][/ROW]
[ROW][C]0.44[/C][C]95.12[/C][C]95.56[/C][C]96[/C][C]96[/C][C]95.68[/C][C]95[/C][C]95.44[/C][C]96[/C][/ROW]
[ROW][C]0.46[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][/ROW]
[ROW][C]0.48[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][/ROW]
[ROW][C]0.5[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][C]96[/C][/ROW]
[ROW][C]0.52[/C][C]96.96[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][/ROW]
[ROW][C]0.54[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][/ROW]
[ROW][C]0.56[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][C]97[/C][/ROW]
[ROW][C]0.58[/C][C]97.34[/C][C]97.92[/C][C]98[/C][C]98[/C][C]97.76[/C][C]97[/C][C]97.08[/C][C]98[/C][/ROW]
[ROW][C]0.6[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][/ROW]
[ROW][C]0.62[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][C]98[/C][/ROW]
[ROW][C]0.64[/C][C]98.72[/C][C]99[/C][C]99[/C][C]99[/C][C]99[/C][C]99[/C][C]99[/C][C]99[/C][/ROW]
[ROW][C]0.66[/C][C]99.18[/C][C]99.84[/C][C]100[/C][C]100[/C][C]99.52[/C][C]99[/C][C]99.16[/C][C]100[/C][/ROW]
[ROW][C]0.68[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][/ROW]
[ROW][C]0.7[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][/ROW]
[ROW][C]0.72[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][/ROW]
[ROW][C]0.74[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][C]100[/C][/ROW]
[ROW][C]0.76[/C][C]100.48[/C][C]101[/C][C]101[/C][C]101[/C][C]100.72[/C][C]100[/C][C]101[/C][C]101[/C][/ROW]
[ROW][C]0.78[/C][C]101[/C][C]101.72[/C][C]101[/C][C]101[/C][C]101.16[/C][C]101[/C][C]101.28[/C][C]102[/C][/ROW]
[ROW][C]0.8[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][/ROW]
[ROW][C]0.82[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][/ROW]
[ROW][C]0.84[/C][C]102[/C][C]102.16[/C][C]102[/C][C]102[/C][C]102[/C][C]102[/C][C]102.84[/C][C]102[/C][/ROW]
[ROW][C]0.86[/C][C]102.78[/C][C]103[/C][C]103[/C][C]103[/C][C]102.92[/C][C]103[/C][C]103[/C][C]103[/C][/ROW]
[ROW][C]0.88[/C][C]103[/C][C]103.12[/C][C]103[/C][C]103[/C][C]103[/C][C]103[/C][C]103.88[/C][C]103[/C][/ROW]
[ROW][C]0.9[/C][C]103.7[/C][C]104[/C][C]104[/C][C]104[/C][C]103.8[/C][C]104[/C][C]104[/C][C]104[/C][/ROW]
[ROW][C]0.92[/C][C]104.16[/C][C]105[/C][C]105[/C][C]105[/C][C]104.24[/C][C]104[/C][C]105[/C][C]105[/C][/ROW]
[ROW][C]0.94[/C][C]105[/C][C]105[/C][C]105[/C][C]105[/C][C]105[/C][C]105[/C][C]105[/C][C]105[/C][/ROW]
[ROW][C]0.96[/C][C]105.08[/C][C]106[/C][C]106[/C][C]106[/C][C]105.12[/C][C]105[/C][C]106[/C][C]106[/C][/ROW]
[ROW][C]0.98[/C][C]106[/C][C]106.52[/C][C]106[/C][C]106[/C][C]106[/C][C]106[/C][C]106.48[/C][C]107[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5293&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5293&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.0272.9272.96747474.447273.0472
0.0474.9274.96757576.767574.0475
0.0678.5278.76818181.327779.2477
0.0881.8481.92828283.528281.0882
0.18484848484.2848484
0.1284.7684.88858586.288584.1285
0.148787878787878787
0.168787878787.52878787
0.1888.1488.32898988.968888.6888
0.289.689.89090909089.290
0.229090909090909090
0.249090909090909090
0.269090.24909090.729090.7690
0.289191919191.16919191
0.391.992.2929292.69292.892
0.329393939393939393
0.349393939393939393
0.369393939393939393
0.3893.7494949494949494
0.494.294.6959594.89494.495
0.429595959595959595
0.4495.1295.56969695.689595.4496
0.469696969696969696
0.489696969696969696
0.59696969696969696
0.5296.9697979797979797
0.549797979797979797
0.569797979797979797
0.5897.3497.92989897.769797.0898
0.69898989898989898
0.629898989898989898
0.6498.7299999999999999
0.6699.1899.8410010099.529999.16100
0.68100100100100100100100100
0.7100100100100100100100100
0.72100100100100100100100100
0.74100100100100100100100100
0.76100.48101101101100.72100101101
0.78101101.72101101101.16101101.28102
0.8102102102102102102102102
0.82102102102102102102102102
0.84102102.16102102102102102.84102
0.86102.78103103103102.92103103103
0.88103103.12103103103103103.88103
0.9103.7104104104103.8104104104
0.92104.16105105105104.24104105105
0.94105105105105105105105105
0.96105.08106106106105.12105106106
0.98106106.52106106106106106.48107



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