Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_percentiles.wasp
Title produced by softwarePercentiles
Date of computationThu, 29 Jul 2010 11:58:17 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Jul/29/t1280404692hx4d6563m88b1bj.htm/, Retrieved Sun, 28 Apr 2024 21:28:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=78166, Retrieved Sun, 28 Apr 2024 21:28:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsVan de Walle Mathias
Estimated Impact158
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [tijdreeks 1 - stap 2] [2010-07-17 10:32:38] [2b5a188751227050025c4bb07404e527]
- RMPD    [Percentiles] [tijdreeks 2 - stap 7] [2010-07-29 11:58:17] [589929edeb20bd59f78e9be1ffd92c80] [Current]
Feedback Forum

Post a new message
Dataseries X:
239
238
237
235
233
232
233
235
236
236
237
239
238
237
244
230
237
244
239
240
230
228
231
228
225
227
238
214
222
233
228
218
203
209
207
203
195
199
207
182
181
189
186
174
153
158
153
147
143
156
168
142
146
150
145
133
111
115
109
105
96
112
127
107
116
125
120
107
86
87
79
83
75
89
104
86
98
98
85
74
49
54
47
56




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=78166&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.0248.3648.4494952.34947.649
0.0454.7254.8565661.765455.254
0.0674.0474.1757574.987474.974
0.0877.8878.2797981.567975.879
0.183.884858585.3838484
0.128686868686868686
0.1486.7686.9878788.248786.187
0.1692.0893.2969696.568991.896
0.189898989898989898
0.2102.8104104104104.6104104104
0.22105.96106.4107107107105105.6107
0.24107.32107.8109109108.84107108.2107
0.26110.68111.1111111111.58111111.9111
0.28113.56114.4115115115.24115112.6115
0.3116.8118120120119.6116118118
0.32124.4125.4125125126.12125126.6125
0.34130.36132.4133133134.98133127.6133
0.36142.24142.6143143142.88142142.4143
0.38144.84145.3145145145.54145145.7145
0.4146.6147147147147.6147147147
0.42150.84152.1153153152.58150150.9153
0.44153154.2153153154.56153154.8153
0.46157.28159158158159.8158167158
0.48169.92172.8174174173.04168169.2174
0.5181181.5181181.5181.5181181.5181.5
0.52184.72186.6186186186.48186188.4186
0.54191.16194.4195195193.92189189.6195
0.56199.16201.4203203200.92199200.6203
0.58203204.2203203203.56203205.8203
0.6207207207207207207207207
0.62209.4212.5214214211.3209210.5214
0.64217.04219.6218218218.48218220.4218
0.66223.32225.2225225224.34222226.8225
0.68227.12227.8228228227.44227227.2228
0.7228228228228228228228228
0.72228.96230230230229.52228230230
0.74230.16230.9231231230.42230230.1231
0.76231.84232.6232232232.08232232.4233
0.78233233233233233233233233
0.8233.4235235235233.8233235235
0.82235235.7235235235.06235235.3236
0.84236236.4236236236236236.6236
0.86237237237237237237237237
0.88237237237237237237237237
0.9237.6238238238237.7238238238
0.92238238.2238238238238238.8238
0.94238.96239239239239239239239
0.96239239.6239239239239239.4240
0.98241.28244244244241.36240244244

\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 & 48.36 & 48.4 & 49 & 49 & 52.3 & 49 & 47.6 & 49 \tabularnewline
0.04 & 54.72 & 54.8 & 56 & 56 & 61.76 & 54 & 55.2 & 54 \tabularnewline
0.06 & 74.04 & 74.1 & 75 & 75 & 74.98 & 74 & 74.9 & 74 \tabularnewline
0.08 & 77.88 & 78.2 & 79 & 79 & 81.56 & 79 & 75.8 & 79 \tabularnewline
0.1 & 83.8 & 84 & 85 & 85 & 85.3 & 83 & 84 & 84 \tabularnewline
0.12 & 86 & 86 & 86 & 86 & 86 & 86 & 86 & 86 \tabularnewline
0.14 & 86.76 & 86.9 & 87 & 87 & 88.24 & 87 & 86.1 & 87 \tabularnewline
0.16 & 92.08 & 93.2 & 96 & 96 & 96.56 & 89 & 91.8 & 96 \tabularnewline
0.18 & 98 & 98 & 98 & 98 & 98 & 98 & 98 & 98 \tabularnewline
0.2 & 102.8 & 104 & 104 & 104 & 104.6 & 104 & 104 & 104 \tabularnewline
0.22 & 105.96 & 106.4 & 107 & 107 & 107 & 105 & 105.6 & 107 \tabularnewline
0.24 & 107.32 & 107.8 & 109 & 109 & 108.84 & 107 & 108.2 & 107 \tabularnewline
0.26 & 110.68 & 111.1 & 111 & 111 & 111.58 & 111 & 111.9 & 111 \tabularnewline
0.28 & 113.56 & 114.4 & 115 & 115 & 115.24 & 115 & 112.6 & 115 \tabularnewline
0.3 & 116.8 & 118 & 120 & 120 & 119.6 & 116 & 118 & 118 \tabularnewline
0.32 & 124.4 & 125.4 & 125 & 125 & 126.12 & 125 & 126.6 & 125 \tabularnewline
0.34 & 130.36 & 132.4 & 133 & 133 & 134.98 & 133 & 127.6 & 133 \tabularnewline
0.36 & 142.24 & 142.6 & 143 & 143 & 142.88 & 142 & 142.4 & 143 \tabularnewline
0.38 & 144.84 & 145.3 & 145 & 145 & 145.54 & 145 & 145.7 & 145 \tabularnewline
0.4 & 146.6 & 147 & 147 & 147 & 147.6 & 147 & 147 & 147 \tabularnewline
0.42 & 150.84 & 152.1 & 153 & 153 & 152.58 & 150 & 150.9 & 153 \tabularnewline
0.44 & 153 & 154.2 & 153 & 153 & 154.56 & 153 & 154.8 & 153 \tabularnewline
0.46 & 157.28 & 159 & 158 & 158 & 159.8 & 158 & 167 & 158 \tabularnewline
0.48 & 169.92 & 172.8 & 174 & 174 & 173.04 & 168 & 169.2 & 174 \tabularnewline
0.5 & 181 & 181.5 & 181 & 181.5 & 181.5 & 181 & 181.5 & 181.5 \tabularnewline
0.52 & 184.72 & 186.6 & 186 & 186 & 186.48 & 186 & 188.4 & 186 \tabularnewline
0.54 & 191.16 & 194.4 & 195 & 195 & 193.92 & 189 & 189.6 & 195 \tabularnewline
0.56 & 199.16 & 201.4 & 203 & 203 & 200.92 & 199 & 200.6 & 203 \tabularnewline
0.58 & 203 & 204.2 & 203 & 203 & 203.56 & 203 & 205.8 & 203 \tabularnewline
0.6 & 207 & 207 & 207 & 207 & 207 & 207 & 207 & 207 \tabularnewline
0.62 & 209.4 & 212.5 & 214 & 214 & 211.3 & 209 & 210.5 & 214 \tabularnewline
0.64 & 217.04 & 219.6 & 218 & 218 & 218.48 & 218 & 220.4 & 218 \tabularnewline
0.66 & 223.32 & 225.2 & 225 & 225 & 224.34 & 222 & 226.8 & 225 \tabularnewline
0.68 & 227.12 & 227.8 & 228 & 228 & 227.44 & 227 & 227.2 & 228 \tabularnewline
0.7 & 228 & 228 & 228 & 228 & 228 & 228 & 228 & 228 \tabularnewline
0.72 & 228.96 & 230 & 230 & 230 & 229.52 & 228 & 230 & 230 \tabularnewline
0.74 & 230.16 & 230.9 & 231 & 231 & 230.42 & 230 & 230.1 & 231 \tabularnewline
0.76 & 231.84 & 232.6 & 232 & 232 & 232.08 & 232 & 232.4 & 233 \tabularnewline
0.78 & 233 & 233 & 233 & 233 & 233 & 233 & 233 & 233 \tabularnewline
0.8 & 233.4 & 235 & 235 & 235 & 233.8 & 233 & 235 & 235 \tabularnewline
0.82 & 235 & 235.7 & 235 & 235 & 235.06 & 235 & 235.3 & 236 \tabularnewline
0.84 & 236 & 236.4 & 236 & 236 & 236 & 236 & 236.6 & 236 \tabularnewline
0.86 & 237 & 237 & 237 & 237 & 237 & 237 & 237 & 237 \tabularnewline
0.88 & 237 & 237 & 237 & 237 & 237 & 237 & 237 & 237 \tabularnewline
0.9 & 237.6 & 238 & 238 & 238 & 237.7 & 238 & 238 & 238 \tabularnewline
0.92 & 238 & 238.2 & 238 & 238 & 238 & 238 & 238.8 & 238 \tabularnewline
0.94 & 238.96 & 239 & 239 & 239 & 239 & 239 & 239 & 239 \tabularnewline
0.96 & 239 & 239.6 & 239 & 239 & 239 & 239 & 239.4 & 240 \tabularnewline
0.98 & 241.28 & 244 & 244 & 244 & 241.36 & 240 & 244 & 244 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=78166&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]48.36[/C][C]48.4[/C][C]49[/C][C]49[/C][C]52.3[/C][C]49[/C][C]47.6[/C][C]49[/C][/ROW]
[ROW][C]0.04[/C][C]54.72[/C][C]54.8[/C][C]56[/C][C]56[/C][C]61.76[/C][C]54[/C][C]55.2[/C][C]54[/C][/ROW]
[ROW][C]0.06[/C][C]74.04[/C][C]74.1[/C][C]75[/C][C]75[/C][C]74.98[/C][C]74[/C][C]74.9[/C][C]74[/C][/ROW]
[ROW][C]0.08[/C][C]77.88[/C][C]78.2[/C][C]79[/C][C]79[/C][C]81.56[/C][C]79[/C][C]75.8[/C][C]79[/C][/ROW]
[ROW][C]0.1[/C][C]83.8[/C][C]84[/C][C]85[/C][C]85[/C][C]85.3[/C][C]83[/C][C]84[/C][C]84[/C][/ROW]
[ROW][C]0.12[/C][C]86[/C][C]86[/C][C]86[/C][C]86[/C][C]86[/C][C]86[/C][C]86[/C][C]86[/C][/ROW]
[ROW][C]0.14[/C][C]86.76[/C][C]86.9[/C][C]87[/C][C]87[/C][C]88.24[/C][C]87[/C][C]86.1[/C][C]87[/C][/ROW]
[ROW][C]0.16[/C][C]92.08[/C][C]93.2[/C][C]96[/C][C]96[/C][C]96.56[/C][C]89[/C][C]91.8[/C][C]96[/C][/ROW]
[ROW][C]0.18[/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.2[/C][C]102.8[/C][C]104[/C][C]104[/C][C]104[/C][C]104.6[/C][C]104[/C][C]104[/C][C]104[/C][/ROW]
[ROW][C]0.22[/C][C]105.96[/C][C]106.4[/C][C]107[/C][C]107[/C][C]107[/C][C]105[/C][C]105.6[/C][C]107[/C][/ROW]
[ROW][C]0.24[/C][C]107.32[/C][C]107.8[/C][C]109[/C][C]109[/C][C]108.84[/C][C]107[/C][C]108.2[/C][C]107[/C][/ROW]
[ROW][C]0.26[/C][C]110.68[/C][C]111.1[/C][C]111[/C][C]111[/C][C]111.58[/C][C]111[/C][C]111.9[/C][C]111[/C][/ROW]
[ROW][C]0.28[/C][C]113.56[/C][C]114.4[/C][C]115[/C][C]115[/C][C]115.24[/C][C]115[/C][C]112.6[/C][C]115[/C][/ROW]
[ROW][C]0.3[/C][C]116.8[/C][C]118[/C][C]120[/C][C]120[/C][C]119.6[/C][C]116[/C][C]118[/C][C]118[/C][/ROW]
[ROW][C]0.32[/C][C]124.4[/C][C]125.4[/C][C]125[/C][C]125[/C][C]126.12[/C][C]125[/C][C]126.6[/C][C]125[/C][/ROW]
[ROW][C]0.34[/C][C]130.36[/C][C]132.4[/C][C]133[/C][C]133[/C][C]134.98[/C][C]133[/C][C]127.6[/C][C]133[/C][/ROW]
[ROW][C]0.36[/C][C]142.24[/C][C]142.6[/C][C]143[/C][C]143[/C][C]142.88[/C][C]142[/C][C]142.4[/C][C]143[/C][/ROW]
[ROW][C]0.38[/C][C]144.84[/C][C]145.3[/C][C]145[/C][C]145[/C][C]145.54[/C][C]145[/C][C]145.7[/C][C]145[/C][/ROW]
[ROW][C]0.4[/C][C]146.6[/C][C]147[/C][C]147[/C][C]147[/C][C]147.6[/C][C]147[/C][C]147[/C][C]147[/C][/ROW]
[ROW][C]0.42[/C][C]150.84[/C][C]152.1[/C][C]153[/C][C]153[/C][C]152.58[/C][C]150[/C][C]150.9[/C][C]153[/C][/ROW]
[ROW][C]0.44[/C][C]153[/C][C]154.2[/C][C]153[/C][C]153[/C][C]154.56[/C][C]153[/C][C]154.8[/C][C]153[/C][/ROW]
[ROW][C]0.46[/C][C]157.28[/C][C]159[/C][C]158[/C][C]158[/C][C]159.8[/C][C]158[/C][C]167[/C][C]158[/C][/ROW]
[ROW][C]0.48[/C][C]169.92[/C][C]172.8[/C][C]174[/C][C]174[/C][C]173.04[/C][C]168[/C][C]169.2[/C][C]174[/C][/ROW]
[ROW][C]0.5[/C][C]181[/C][C]181.5[/C][C]181[/C][C]181.5[/C][C]181.5[/C][C]181[/C][C]181.5[/C][C]181.5[/C][/ROW]
[ROW][C]0.52[/C][C]184.72[/C][C]186.6[/C][C]186[/C][C]186[/C][C]186.48[/C][C]186[/C][C]188.4[/C][C]186[/C][/ROW]
[ROW][C]0.54[/C][C]191.16[/C][C]194.4[/C][C]195[/C][C]195[/C][C]193.92[/C][C]189[/C][C]189.6[/C][C]195[/C][/ROW]
[ROW][C]0.56[/C][C]199.16[/C][C]201.4[/C][C]203[/C][C]203[/C][C]200.92[/C][C]199[/C][C]200.6[/C][C]203[/C][/ROW]
[ROW][C]0.58[/C][C]203[/C][C]204.2[/C][C]203[/C][C]203[/C][C]203.56[/C][C]203[/C][C]205.8[/C][C]203[/C][/ROW]
[ROW][C]0.6[/C][C]207[/C][C]207[/C][C]207[/C][C]207[/C][C]207[/C][C]207[/C][C]207[/C][C]207[/C][/ROW]
[ROW][C]0.62[/C][C]209.4[/C][C]212.5[/C][C]214[/C][C]214[/C][C]211.3[/C][C]209[/C][C]210.5[/C][C]214[/C][/ROW]
[ROW][C]0.64[/C][C]217.04[/C][C]219.6[/C][C]218[/C][C]218[/C][C]218.48[/C][C]218[/C][C]220.4[/C][C]218[/C][/ROW]
[ROW][C]0.66[/C][C]223.32[/C][C]225.2[/C][C]225[/C][C]225[/C][C]224.34[/C][C]222[/C][C]226.8[/C][C]225[/C][/ROW]
[ROW][C]0.68[/C][C]227.12[/C][C]227.8[/C][C]228[/C][C]228[/C][C]227.44[/C][C]227[/C][C]227.2[/C][C]228[/C][/ROW]
[ROW][C]0.7[/C][C]228[/C][C]228[/C][C]228[/C][C]228[/C][C]228[/C][C]228[/C][C]228[/C][C]228[/C][/ROW]
[ROW][C]0.72[/C][C]228.96[/C][C]230[/C][C]230[/C][C]230[/C][C]229.52[/C][C]228[/C][C]230[/C][C]230[/C][/ROW]
[ROW][C]0.74[/C][C]230.16[/C][C]230.9[/C][C]231[/C][C]231[/C][C]230.42[/C][C]230[/C][C]230.1[/C][C]231[/C][/ROW]
[ROW][C]0.76[/C][C]231.84[/C][C]232.6[/C][C]232[/C][C]232[/C][C]232.08[/C][C]232[/C][C]232.4[/C][C]233[/C][/ROW]
[ROW][C]0.78[/C][C]233[/C][C]233[/C][C]233[/C][C]233[/C][C]233[/C][C]233[/C][C]233[/C][C]233[/C][/ROW]
[ROW][C]0.8[/C][C]233.4[/C][C]235[/C][C]235[/C][C]235[/C][C]233.8[/C][C]233[/C][C]235[/C][C]235[/C][/ROW]
[ROW][C]0.82[/C][C]235[/C][C]235.7[/C][C]235[/C][C]235[/C][C]235.06[/C][C]235[/C][C]235.3[/C][C]236[/C][/ROW]
[ROW][C]0.84[/C][C]236[/C][C]236.4[/C][C]236[/C][C]236[/C][C]236[/C][C]236[/C][C]236.6[/C][C]236[/C][/ROW]
[ROW][C]0.86[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][/ROW]
[ROW][C]0.88[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][C]237[/C][/ROW]
[ROW][C]0.9[/C][C]237.6[/C][C]238[/C][C]238[/C][C]238[/C][C]237.7[/C][C]238[/C][C]238[/C][C]238[/C][/ROW]
[ROW][C]0.92[/C][C]238[/C][C]238.2[/C][C]238[/C][C]238[/C][C]238[/C][C]238[/C][C]238.8[/C][C]238[/C][/ROW]
[ROW][C]0.94[/C][C]238.96[/C][C]239[/C][C]239[/C][C]239[/C][C]239[/C][C]239[/C][C]239[/C][C]239[/C][/ROW]
[ROW][C]0.96[/C][C]239[/C][C]239.6[/C][C]239[/C][C]239[/C][C]239[/C][C]239[/C][C]239.4[/C][C]240[/C][/ROW]
[ROW][C]0.98[/C][C]241.28[/C][C]244[/C][C]244[/C][C]244[/C][C]241.36[/C][C]240[/C][C]244[/C][C]244[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=78166&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=78166&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.0248.3648.4494952.34947.649
0.0454.7254.8565661.765455.254
0.0674.0474.1757574.987474.974
0.0877.8878.2797981.567975.879
0.183.884858585.3838484
0.128686868686868686
0.1486.7686.9878788.248786.187
0.1692.0893.2969696.568991.896
0.189898989898989898
0.2102.8104104104104.6104104104
0.22105.96106.4107107107105105.6107
0.24107.32107.8109109108.84107108.2107
0.26110.68111.1111111111.58111111.9111
0.28113.56114.4115115115.24115112.6115
0.3116.8118120120119.6116118118
0.32124.4125.4125125126.12125126.6125
0.34130.36132.4133133134.98133127.6133
0.36142.24142.6143143142.88142142.4143
0.38144.84145.3145145145.54145145.7145
0.4146.6147147147147.6147147147
0.42150.84152.1153153152.58150150.9153
0.44153154.2153153154.56153154.8153
0.46157.28159158158159.8158167158
0.48169.92172.8174174173.04168169.2174
0.5181181.5181181.5181.5181181.5181.5
0.52184.72186.6186186186.48186188.4186
0.54191.16194.4195195193.92189189.6195
0.56199.16201.4203203200.92199200.6203
0.58203204.2203203203.56203205.8203
0.6207207207207207207207207
0.62209.4212.5214214211.3209210.5214
0.64217.04219.6218218218.48218220.4218
0.66223.32225.2225225224.34222226.8225
0.68227.12227.8228228227.44227227.2228
0.7228228228228228228228228
0.72228.96230230230229.52228230230
0.74230.16230.9231231230.42230230.1231
0.76231.84232.6232232232.08232232.4233
0.78233233233233233233233233
0.8233.4235235235233.8233235235
0.82235235.7235235235.06235235.3236
0.84236236.4236236236236236.6236
0.86237237237237237237237237
0.88237237237237237237237237
0.9237.6238238238237.7238238238
0.92238238.2238238238238238.8238
0.94238.96239239239239239239239
0.96239239.6239239239239239.4240
0.98241.28244244244241.36240244244



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