Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Module--
Title produced by softwarePercentiles
Date of computationTue, 18 Dec 2012 17:12:19 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/18/t1355868750e8srnomaydoeb7n.htm/, Retrieved Fri, 19 Apr 2024 16:55:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=201699, Retrieved Fri, 19 Apr 2024 16:55:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact89
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Percentiles] [Intrinsic Motivat...] [2010-10-12 12:10:58] [b98453cac15ba1066b407e146608df68]
- R  D  [Percentiles] [Q-Q Plot] [2012-10-15 16:52:44] [0883bf8f4217d775edf6393676d58a73]
-  M        [Percentiles] [] [2012-12-18 22:12:19] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
23
24
22

24
27

27
24
23


27
28
27

24


25

24
20

26
23
23
20

24

23
18



23


26
26
23
22


20


25

22
23
25
23

22
24
25


17
20
23

20



24
24
28


25
25
18
17




22

25


26
19
25
21
13

25
26
25
25

21


24

21
25

20

23
28
23
28
24
18
20
28

21
25

18
21
22
24
15
28

23
26


20




22
26


23
21
26
23

27
19




22
25
25



25
19
25
22

20




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 2 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=201699&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=201699&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=201699&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 time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







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.0214.9214.96151516.881513.0415
0.041717171717.88171717
0.061818181818181818
0.081818181818.76181818
0.11919191919191919
0.1219.7619.882020202019.1220
0.142020202020202020
0.162020202020202020
0.182020202020202020
0.22020202020.4202020
0.222121212121212121
0.242121212121212121
0.262121212121.22212121
0.282222222222222222
0.32222222222222222
0.322222222222222222
0.342222222222222222
0.3622.2822.64232322.922222.3623
0.382323232323232323
0.42323232323232323
0.422323232323232323
0.442323232323232323
0.462323232323232323
0.482323232323232323
0.52323232323232323
0.5223.9624242424242424
0.542424242424242424
0.562424242424242424
0.582424242424242424
0.62424242424242424
0.622424242424242424
0.6424.7225252525252525
0.662525252525252525
0.682525252525252525
0.72525252525252525
0.722525252525252525
0.742525252525252525
0.762525252525252525
0.782525252525252525
0.82525.22525252525.825
0.822626262626262626
0.842626262626262626
0.862626262626262626
0.882626.122626262626.8826
0.92727272727272727
0.922727272727272727
0.9427.1228282827.18272828
0.962828282828282828
0.982828282828282828

\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 & 14.92 & 14.96 & 15 & 15 & 16.88 & 15 & 13.04 & 15 \tabularnewline
0.04 & 17 & 17 & 17 & 17 & 17.88 & 17 & 17 & 17 \tabularnewline
0.06 & 18 & 18 & 18 & 18 & 18 & 18 & 18 & 18 \tabularnewline
0.08 & 18 & 18 & 18 & 18 & 18.76 & 18 & 18 & 18 \tabularnewline
0.1 & 19 & 19 & 19 & 19 & 19 & 19 & 19 & 19 \tabularnewline
0.12 & 19.76 & 19.88 & 20 & 20 & 20 & 20 & 19.12 & 20 \tabularnewline
0.14 & 20 & 20 & 20 & 20 & 20 & 20 & 20 & 20 \tabularnewline
0.16 & 20 & 20 & 20 & 20 & 20 & 20 & 20 & 20 \tabularnewline
0.18 & 20 & 20 & 20 & 20 & 20 & 20 & 20 & 20 \tabularnewline
0.2 & 20 & 20 & 20 & 20 & 20.4 & 20 & 20 & 20 \tabularnewline
0.22 & 21 & 21 & 21 & 21 & 21 & 21 & 21 & 21 \tabularnewline
0.24 & 21 & 21 & 21 & 21 & 21 & 21 & 21 & 21 \tabularnewline
0.26 & 21 & 21 & 21 & 21 & 21.22 & 21 & 21 & 21 \tabularnewline
0.28 & 22 & 22 & 22 & 22 & 22 & 22 & 22 & 22 \tabularnewline
0.3 & 22 & 22 & 22 & 22 & 22 & 22 & 22 & 22 \tabularnewline
0.32 & 22 & 22 & 22 & 22 & 22 & 22 & 22 & 22 \tabularnewline
0.34 & 22 & 22 & 22 & 22 & 22 & 22 & 22 & 22 \tabularnewline
0.36 & 22.28 & 22.64 & 23 & 23 & 22.92 & 22 & 22.36 & 23 \tabularnewline
0.38 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.4 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.42 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.44 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.46 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.48 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.5 & 23 & 23 & 23 & 23 & 23 & 23 & 23 & 23 \tabularnewline
0.52 & 23.96 & 24 & 24 & 24 & 24 & 24 & 24 & 24 \tabularnewline
0.54 & 24 & 24 & 24 & 24 & 24 & 24 & 24 & 24 \tabularnewline
0.56 & 24 & 24 & 24 & 24 & 24 & 24 & 24 & 24 \tabularnewline
0.58 & 24 & 24 & 24 & 24 & 24 & 24 & 24 & 24 \tabularnewline
0.6 & 24 & 24 & 24 & 24 & 24 & 24 & 24 & 24 \tabularnewline
0.62 & 24 & 24 & 24 & 24 & 24 & 24 & 24 & 24 \tabularnewline
0.64 & 24.72 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.66 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.68 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.7 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.72 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.74 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.76 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.78 & 25 & 25 & 25 & 25 & 25 & 25 & 25 & 25 \tabularnewline
0.8 & 25 & 25.2 & 25 & 25 & 25 & 25 & 25.8 & 25 \tabularnewline
0.82 & 26 & 26 & 26 & 26 & 26 & 26 & 26 & 26 \tabularnewline
0.84 & 26 & 26 & 26 & 26 & 26 & 26 & 26 & 26 \tabularnewline
0.86 & 26 & 26 & 26 & 26 & 26 & 26 & 26 & 26 \tabularnewline
0.88 & 26 & 26.12 & 26 & 26 & 26 & 26 & 26.88 & 26 \tabularnewline
0.9 & 27 & 27 & 27 & 27 & 27 & 27 & 27 & 27 \tabularnewline
0.92 & 27 & 27 & 27 & 27 & 27 & 27 & 27 & 27 \tabularnewline
0.94 & 27.12 & 28 & 28 & 28 & 27.18 & 27 & 28 & 28 \tabularnewline
0.96 & 28 & 28 & 28 & 28 & 28 & 28 & 28 & 28 \tabularnewline
0.98 & 28 & 28 & 28 & 28 & 28 & 28 & 28 & 28 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=201699&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]14.92[/C][C]14.96[/C][C]15[/C][C]15[/C][C]16.88[/C][C]15[/C][C]13.04[/C][C]15[/C][/ROW]
[ROW][C]0.04[/C][C]17[/C][C]17[/C][C]17[/C][C]17[/C][C]17.88[/C][C]17[/C][C]17[/C][C]17[/C][/ROW]
[ROW][C]0.06[/C][C]18[/C][C]18[/C][C]18[/C][C]18[/C][C]18[/C][C]18[/C][C]18[/C][C]18[/C][/ROW]
[ROW][C]0.08[/C][C]18[/C][C]18[/C][C]18[/C][C]18[/C][C]18.76[/C][C]18[/C][C]18[/C][C]18[/C][/ROW]
[ROW][C]0.1[/C][C]19[/C][C]19[/C][C]19[/C][C]19[/C][C]19[/C][C]19[/C][C]19[/C][C]19[/C][/ROW]
[ROW][C]0.12[/C][C]19.76[/C][C]19.88[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]19.12[/C][C]20[/C][/ROW]
[ROW][C]0.14[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][/ROW]
[ROW][C]0.16[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][/ROW]
[ROW][C]0.18[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][/ROW]
[ROW][C]0.2[/C][C]20[/C][C]20[/C][C]20[/C][C]20[/C][C]20.4[/C][C]20[/C][C]20[/C][C]20[/C][/ROW]
[ROW][C]0.22[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][/ROW]
[ROW][C]0.24[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][/ROW]
[ROW][C]0.26[/C][C]21[/C][C]21[/C][C]21[/C][C]21[/C][C]21.22[/C][C]21[/C][C]21[/C][C]21[/C][/ROW]
[ROW][C]0.28[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][/ROW]
[ROW][C]0.3[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][/ROW]
[ROW][C]0.32[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][/ROW]
[ROW][C]0.34[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][C]22[/C][/ROW]
[ROW][C]0.36[/C][C]22.28[/C][C]22.64[/C][C]23[/C][C]23[/C][C]22.92[/C][C]22[/C][C]22.36[/C][C]23[/C][/ROW]
[ROW][C]0.38[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.4[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.42[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.44[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.46[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.48[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.5[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][C]23[/C][/ROW]
[ROW][C]0.52[/C][C]23.96[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][/ROW]
[ROW][C]0.54[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][/ROW]
[ROW][C]0.56[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][/ROW]
[ROW][C]0.58[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][/ROW]
[ROW][C]0.6[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][/ROW]
[ROW][C]0.62[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][C]24[/C][/ROW]
[ROW][C]0.64[/C][C]24.72[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.66[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.68[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.7[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.72[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.74[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.76[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.78[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][/ROW]
[ROW][C]0.8[/C][C]25[/C][C]25.2[/C][C]25[/C][C]25[/C][C]25[/C][C]25[/C][C]25.8[/C][C]25[/C][/ROW]
[ROW][C]0.82[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][/ROW]
[ROW][C]0.84[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][/ROW]
[ROW][C]0.86[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][/ROW]
[ROW][C]0.88[/C][C]26[/C][C]26.12[/C][C]26[/C][C]26[/C][C]26[/C][C]26[/C][C]26.88[/C][C]26[/C][/ROW]
[ROW][C]0.9[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][/ROW]
[ROW][C]0.92[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][C]27[/C][/ROW]
[ROW][C]0.94[/C][C]27.12[/C][C]28[/C][C]28[/C][C]28[/C][C]27.18[/C][C]27[/C][C]28[/C][C]28[/C][/ROW]
[ROW][C]0.96[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][/ROW]
[ROW][C]0.98[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][C]28[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=201699&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=201699&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.0214.9214.96151516.881513.0415
0.041717171717.88171717
0.061818181818181818
0.081818181818.76181818
0.11919191919191919
0.1219.7619.882020202019.1220
0.142020202020202020
0.162020202020202020
0.182020202020202020
0.22020202020.4202020
0.222121212121212121
0.242121212121212121
0.262121212121.22212121
0.282222222222222222
0.32222222222222222
0.322222222222222222
0.342222222222222222
0.3622.2822.64232322.922222.3623
0.382323232323232323
0.42323232323232323
0.422323232323232323
0.442323232323232323
0.462323232323232323
0.482323232323232323
0.52323232323232323
0.5223.9624242424242424
0.542424242424242424
0.562424242424242424
0.582424242424242424
0.62424242424242424
0.622424242424242424
0.6424.7225252525252525
0.662525252525252525
0.682525252525252525
0.72525252525252525
0.722525252525252525
0.742525252525252525
0.762525252525252525
0.782525252525252525
0.82525.22525252525.825
0.822626262626262626
0.842626262626262626
0.862626262626262626
0.882626.122626262626.8826
0.92727272727272727
0.922727272727272727
0.9427.1228282827.18272828
0.962828282828282828
0.982828282828282828



Parameters (Session):
Parameters (R input):
par1 = ; par2 = ; par3 = ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')