Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_centraltendency.wasp
Title produced by softwareCentral Tendency
Date of computationThu, 19 Aug 2010 13:32:33 +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/Aug/19/t1282224855o42w2v2hw965sxf.htm/, Retrieved Sun, 10 Nov 2024 19:16:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=79295, Retrieved Sun, 10 Nov 2024 19:16:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWillem Van Tendeloo MAR 201 A
Estimated Impact138
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Central Tendency] [Tijdreeks A Stap 14] [2010-08-19 13:32:33] [6b796205aa6c71fffca3ea7e892beea1] [Current]
Feedback Forum

Post a new message
Dataseries X:
252
251
250
248
268
267
252
242
243
243
244
246
236
241
240
239
253
249
232
229
221
222
224
224
215
225
225
221
238
234
228
227
216
219
225
227
205
215
214
209
222
216
206
199
189
198
203
211
199
211
210
203
214
202
193
193
176
192
200
195
180
197
194
194
212
202
195
198
170
187
190
189
176
188
195
194
211
203
194
194
163
183
181
184
171
178
179
186
205
204
195
186
156
167
164
165
153
160
154
169
186
188
187
169
131
146
145
137
119
118
113
123
142
141
138
124
83
100
96
98




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=79295&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







Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean195.3416666666673.5404721993011455.1739021436817
Geometric Mean190.884230416638
Harmonic Mean185.584928714322
Quadratic Mean199.123140292634
Winsorized Mean ( 1 / 40 )195.4416666666673.5117010456985755.6544148044892
Winsorized Mean ( 2 / 40 )195.2416666666673.4674758502656656.3065685523689
Winsorized Mean ( 3 / 40 )195.2666666666673.4523108270671956.5611488790973
Winsorized Mean ( 4 / 40 )195.73.3571404732097158.2936584160549
Winsorized Mean ( 5 / 40 )195.8666666666673.3091193352577459.1899677294082
Winsorized Mean ( 6 / 40 )195.8666666666673.2923162674975159.492056884178
Winsorized Mean ( 7 / 40 )196.0416666666673.2392765522102860.5202005777802
Winsorized Mean ( 8 / 40 )196.0416666666673.2175855170127860.9281915368244
Winsorized Mean ( 9 / 40 )196.4166666666673.1013592243211763.3324463436379
Winsorized Mean ( 10 / 40 )196.752.9928076715859465.7409434852654
Winsorized Mean ( 11 / 40 )196.752.9653992036443966.34857113275
Winsorized Mean ( 12 / 40 )197.052.9161928386629267.5709772644349
Winsorized Mean ( 13 / 40 )197.052.8844907895235168.3136173343618
Winsorized Mean ( 14 / 40 )197.2833333333332.8138359468456970.1118818083506
Winsorized Mean ( 15 / 40 )197.2833333333332.7781455872268871.0125971224783
Winsorized Mean ( 16 / 40 )198.0833333333332.6207955079144275.5813770037192
Winsorized Mean ( 17 / 40 )198.0833333333332.5818962298906376.7200986004478
Winsorized Mean ( 18 / 40 )198.0833333333332.5005484925856179.2159535880513
Winsorized Mean ( 19 / 40 )198.42.3725023723914083.6247846614459
Winsorized Mean ( 20 / 40 )198.5666666666672.2637607010616987.7153961430374
Winsorized Mean ( 21 / 40 )198.2166666666672.1768511982040391.056599013383
Winsorized Mean ( 22 / 40 )198.2166666666672.1310753763230793.0125085526855
Winsorized Mean ( 23 / 40 )198.4083333333332.0589524352735796.363728435024
Winsorized Mean ( 24 / 40 )198.8083333333332.0083612281150398.9903263169083
Winsorized Mean ( 25 / 40 )198.3916666666671.96000971219416101.219736531088
Winsorized Mean ( 26 / 40 )198.6083333333331.93288277735590102.752394330411
Winsorized Mean ( 27 / 40 )198.8333333333331.90507700474922104.370234293761
Winsorized Mean ( 28 / 40 )199.7666666666671.73914131446278114.865114758299
Winsorized Mean ( 29 / 40 )199.7666666666671.73914131446278114.865114758299
Winsorized Mean ( 30 / 40 )199.7666666666671.62420992787958122.993132376345
Winsorized Mean ( 31 / 40 )200.0251.59535664198512125.379488658477
Winsorized Mean ( 32 / 40 )200.0251.5352288171502130.290024369983
Winsorized Mean ( 33 / 40 )200.31.50534063260382133.059585094396
Winsorized Mean ( 34 / 40 )200.31.37990784411978145.154620907143
Winsorized Mean ( 35 / 40 )199.7166666666671.25139604581925159.595091684917
Winsorized Mean ( 36 / 40 )200.3166666666671.18935423321376168.424730893999
Winsorized Mean ( 37 / 40 )200.0083333333331.15545811263182173.098731270984
Winsorized Mean ( 38 / 40 )200.0083333333331.15545811263182173.098731270984
Winsorized Mean ( 39 / 40 )200.0083333333331.08726366332003183.955686261596
Winsorized Mean ( 40 / 40 )200.0083333333331.08726366332003183.955686261596
Trimmed Mean ( 1 / 40 )195.6779661016953.4158173832569257.2858394189445
Trimmed Mean ( 2 / 40 )195.9224137931033.3088892781691559.2109307149467
Trimmed Mean ( 3 / 40 )196.2807017543863.2155283451907861.0415087921549
Trimmed Mean ( 4 / 40 )196.6428571428573.1172615161671263.0819249918572
Trimmed Mean ( 5 / 40 )196.93.0390549318934564.7898785683758
Trimmed Mean ( 6 / 40 )197.1296296296302.9648363971714366.4892099333706
Trimmed Mean ( 7 / 40 )197.3679245283022.8855785255438268.3980431588171
Trimmed Mean ( 8 / 40 )197.5865384615382.8081754970582670.3611788752245
Trimmed Mean ( 9 / 40 )197.8137254901962.7252256889563872.5861811342121
Trimmed Mean ( 10 / 40 )1982.653794691121874.6101424734941
Trimmed Mean ( 11 / 40 )198.153061224492.5923446525419676.4377765241163
Trimmed Mean ( 12 / 40 )198.31252.5272771779546778.4688366317202
Trimmed Mean ( 13 / 40 )198.4468085106382.4614909661716580.6205715307914
Trimmed Mean ( 14 / 40 )198.5869565217392.391513911679183.0381774289198
Trimmed Mean ( 15 / 40 )198.7111111111112.3226209120807085.5546895653745
Trimmed Mean ( 16 / 40 )198.8409090909092.2490498611317988.4110719496659
Trimmed Mean ( 17 / 40 )198.9069767441862.1884929699080690.8876471065576
Trimmed Mean ( 18 / 40 )198.9761904761902.1244267014092193.6611229487007
Trimmed Mean ( 19 / 40 )199.0487804878052.0622576186559396.5198424712497
Trimmed Mean ( 20 / 40 )199.12.0087309426600799.1173062412935
Trimmed Mean ( 21 / 40 )199.1410256410261.96181703027181101.508460049118
Trimmed Mean ( 22 / 40 )199.2105263157891.91891012464940103.814412023172
Trimmed Mean ( 23 / 40 )199.2837837837841.87488321445704106.291305104833
Trimmed Mean ( 24 / 40 )199.3472222222221.83313696368547108.746496400051
Trimmed Mean ( 25 / 40 )199.3857142857141.79097031858340111.328318630887
Trimmed Mean ( 26 / 40 )199.4558823529411.74749712194023114.138031959382
Trimmed Mean ( 27 / 40 )199.5151515151521.69961498783487117.388439701460
Trimmed Mean ( 28 / 40 )199.56251.64643599574816121.208780976218
Trimmed Mean ( 29 / 40 )199.5483870967741.60786627569773124.107576676537
Trimmed Mean ( 30 / 40 )199.5333333333331.56090417565409127.831891569974
Trimmed Mean ( 31 / 40 )199.5172413793101.52181979835832131.104380160215
Trimmed Mean ( 32 / 40 )199.4821428571431.47819455326127134.949856510454
Trimmed Mean ( 33 / 40 )199.4444444444441.43424880974837139.058469554830
Trimmed Mean ( 34 / 40 )199.3846153846151.38434302667389144.028330798667
Trimmed Mean ( 35 / 40 )199.321.34450962155314148.247358594393
Trimmed Mean ( 36 / 40 )199.2916666666671.31748953100304151.266224115603
Trimmed Mean ( 37 / 40 )199.2173913043481.29283160874803154.093843278838
Trimmed Mean ( 38 / 40 )199.1590909090911.26672455620301157.223675765841
Trimmed Mean ( 39 / 40 )199.0952380952381.23151112702747161.667429327901
Trimmed Mean ( 40 / 40 )199.0251.19908485403640165.980747175678
Median198
Midrange175.5
Midmean - Weighted Average at Xnp198.774193548387
Midmean - Weighted Average at X(n+1)p199.533333333333
Midmean - Empirical Distribution Function198.774193548387
Midmean - Empirical Distribution Function - Averaging199.533333333333
Midmean - Empirical Distribution Function - Interpolation199.533333333333
Midmean - Closest Observation198.774193548387
Midmean - True Basic - Statistics Graphics Toolkit199.533333333333
Midmean - MS Excel (old versions)199.5625
Number of observations120

\begin{tabular}{lllllllll}
\hline
Central Tendency - Ungrouped Data \tabularnewline
Measure & Value & S.E. & Value/S.E. \tabularnewline
Arithmetic Mean & 195.341666666667 & 3.54047219930114 & 55.1739021436817 \tabularnewline
Geometric Mean & 190.884230416638 &  &  \tabularnewline
Harmonic Mean & 185.584928714322 &  &  \tabularnewline
Quadratic Mean & 199.123140292634 &  &  \tabularnewline
Winsorized Mean ( 1 / 40 ) & 195.441666666667 & 3.51170104569857 & 55.6544148044892 \tabularnewline
Winsorized Mean ( 2 / 40 ) & 195.241666666667 & 3.46747585026566 & 56.3065685523689 \tabularnewline
Winsorized Mean ( 3 / 40 ) & 195.266666666667 & 3.45231082706719 & 56.5611488790973 \tabularnewline
Winsorized Mean ( 4 / 40 ) & 195.7 & 3.35714047320971 & 58.2936584160549 \tabularnewline
Winsorized Mean ( 5 / 40 ) & 195.866666666667 & 3.30911933525774 & 59.1899677294082 \tabularnewline
Winsorized Mean ( 6 / 40 ) & 195.866666666667 & 3.29231626749751 & 59.492056884178 \tabularnewline
Winsorized Mean ( 7 / 40 ) & 196.041666666667 & 3.23927655221028 & 60.5202005777802 \tabularnewline
Winsorized Mean ( 8 / 40 ) & 196.041666666667 & 3.21758551701278 & 60.9281915368244 \tabularnewline
Winsorized Mean ( 9 / 40 ) & 196.416666666667 & 3.10135922432117 & 63.3324463436379 \tabularnewline
Winsorized Mean ( 10 / 40 ) & 196.75 & 2.99280767158594 & 65.7409434852654 \tabularnewline
Winsorized Mean ( 11 / 40 ) & 196.75 & 2.96539920364439 & 66.34857113275 \tabularnewline
Winsorized Mean ( 12 / 40 ) & 197.05 & 2.91619283866292 & 67.5709772644349 \tabularnewline
Winsorized Mean ( 13 / 40 ) & 197.05 & 2.88449078952351 & 68.3136173343618 \tabularnewline
Winsorized Mean ( 14 / 40 ) & 197.283333333333 & 2.81383594684569 & 70.1118818083506 \tabularnewline
Winsorized Mean ( 15 / 40 ) & 197.283333333333 & 2.77814558722688 & 71.0125971224783 \tabularnewline
Winsorized Mean ( 16 / 40 ) & 198.083333333333 & 2.62079550791442 & 75.5813770037192 \tabularnewline
Winsorized Mean ( 17 / 40 ) & 198.083333333333 & 2.58189622989063 & 76.7200986004478 \tabularnewline
Winsorized Mean ( 18 / 40 ) & 198.083333333333 & 2.50054849258561 & 79.2159535880513 \tabularnewline
Winsorized Mean ( 19 / 40 ) & 198.4 & 2.37250237239140 & 83.6247846614459 \tabularnewline
Winsorized Mean ( 20 / 40 ) & 198.566666666667 & 2.26376070106169 & 87.7153961430374 \tabularnewline
Winsorized Mean ( 21 / 40 ) & 198.216666666667 & 2.17685119820403 & 91.056599013383 \tabularnewline
Winsorized Mean ( 22 / 40 ) & 198.216666666667 & 2.13107537632307 & 93.0125085526855 \tabularnewline
Winsorized Mean ( 23 / 40 ) & 198.408333333333 & 2.05895243527357 & 96.363728435024 \tabularnewline
Winsorized Mean ( 24 / 40 ) & 198.808333333333 & 2.00836122811503 & 98.9903263169083 \tabularnewline
Winsorized Mean ( 25 / 40 ) & 198.391666666667 & 1.96000971219416 & 101.219736531088 \tabularnewline
Winsorized Mean ( 26 / 40 ) & 198.608333333333 & 1.93288277735590 & 102.752394330411 \tabularnewline
Winsorized Mean ( 27 / 40 ) & 198.833333333333 & 1.90507700474922 & 104.370234293761 \tabularnewline
Winsorized Mean ( 28 / 40 ) & 199.766666666667 & 1.73914131446278 & 114.865114758299 \tabularnewline
Winsorized Mean ( 29 / 40 ) & 199.766666666667 & 1.73914131446278 & 114.865114758299 \tabularnewline
Winsorized Mean ( 30 / 40 ) & 199.766666666667 & 1.62420992787958 & 122.993132376345 \tabularnewline
Winsorized Mean ( 31 / 40 ) & 200.025 & 1.59535664198512 & 125.379488658477 \tabularnewline
Winsorized Mean ( 32 / 40 ) & 200.025 & 1.5352288171502 & 130.290024369983 \tabularnewline
Winsorized Mean ( 33 / 40 ) & 200.3 & 1.50534063260382 & 133.059585094396 \tabularnewline
Winsorized Mean ( 34 / 40 ) & 200.3 & 1.37990784411978 & 145.154620907143 \tabularnewline
Winsorized Mean ( 35 / 40 ) & 199.716666666667 & 1.25139604581925 & 159.595091684917 \tabularnewline
Winsorized Mean ( 36 / 40 ) & 200.316666666667 & 1.18935423321376 & 168.424730893999 \tabularnewline
Winsorized Mean ( 37 / 40 ) & 200.008333333333 & 1.15545811263182 & 173.098731270984 \tabularnewline
Winsorized Mean ( 38 / 40 ) & 200.008333333333 & 1.15545811263182 & 173.098731270984 \tabularnewline
Winsorized Mean ( 39 / 40 ) & 200.008333333333 & 1.08726366332003 & 183.955686261596 \tabularnewline
Winsorized Mean ( 40 / 40 ) & 200.008333333333 & 1.08726366332003 & 183.955686261596 \tabularnewline
Trimmed Mean ( 1 / 40 ) & 195.677966101695 & 3.41581738325692 & 57.2858394189445 \tabularnewline
Trimmed Mean ( 2 / 40 ) & 195.922413793103 & 3.30888927816915 & 59.2109307149467 \tabularnewline
Trimmed Mean ( 3 / 40 ) & 196.280701754386 & 3.21552834519078 & 61.0415087921549 \tabularnewline
Trimmed Mean ( 4 / 40 ) & 196.642857142857 & 3.11726151616712 & 63.0819249918572 \tabularnewline
Trimmed Mean ( 5 / 40 ) & 196.9 & 3.03905493189345 & 64.7898785683758 \tabularnewline
Trimmed Mean ( 6 / 40 ) & 197.129629629630 & 2.96483639717143 & 66.4892099333706 \tabularnewline
Trimmed Mean ( 7 / 40 ) & 197.367924528302 & 2.88557852554382 & 68.3980431588171 \tabularnewline
Trimmed Mean ( 8 / 40 ) & 197.586538461538 & 2.80817549705826 & 70.3611788752245 \tabularnewline
Trimmed Mean ( 9 / 40 ) & 197.813725490196 & 2.72522568895638 & 72.5861811342121 \tabularnewline
Trimmed Mean ( 10 / 40 ) & 198 & 2.6537946911218 & 74.6101424734941 \tabularnewline
Trimmed Mean ( 11 / 40 ) & 198.15306122449 & 2.59234465254196 & 76.4377765241163 \tabularnewline
Trimmed Mean ( 12 / 40 ) & 198.3125 & 2.52727717795467 & 78.4688366317202 \tabularnewline
Trimmed Mean ( 13 / 40 ) & 198.446808510638 & 2.46149096617165 & 80.6205715307914 \tabularnewline
Trimmed Mean ( 14 / 40 ) & 198.586956521739 & 2.3915139116791 & 83.0381774289198 \tabularnewline
Trimmed Mean ( 15 / 40 ) & 198.711111111111 & 2.32262091208070 & 85.5546895653745 \tabularnewline
Trimmed Mean ( 16 / 40 ) & 198.840909090909 & 2.24904986113179 & 88.4110719496659 \tabularnewline
Trimmed Mean ( 17 / 40 ) & 198.906976744186 & 2.18849296990806 & 90.8876471065576 \tabularnewline
Trimmed Mean ( 18 / 40 ) & 198.976190476190 & 2.12442670140921 & 93.6611229487007 \tabularnewline
Trimmed Mean ( 19 / 40 ) & 199.048780487805 & 2.06225761865593 & 96.5198424712497 \tabularnewline
Trimmed Mean ( 20 / 40 ) & 199.1 & 2.00873094266007 & 99.1173062412935 \tabularnewline
Trimmed Mean ( 21 / 40 ) & 199.141025641026 & 1.96181703027181 & 101.508460049118 \tabularnewline
Trimmed Mean ( 22 / 40 ) & 199.210526315789 & 1.91891012464940 & 103.814412023172 \tabularnewline
Trimmed Mean ( 23 / 40 ) & 199.283783783784 & 1.87488321445704 & 106.291305104833 \tabularnewline
Trimmed Mean ( 24 / 40 ) & 199.347222222222 & 1.83313696368547 & 108.746496400051 \tabularnewline
Trimmed Mean ( 25 / 40 ) & 199.385714285714 & 1.79097031858340 & 111.328318630887 \tabularnewline
Trimmed Mean ( 26 / 40 ) & 199.455882352941 & 1.74749712194023 & 114.138031959382 \tabularnewline
Trimmed Mean ( 27 / 40 ) & 199.515151515152 & 1.69961498783487 & 117.388439701460 \tabularnewline
Trimmed Mean ( 28 / 40 ) & 199.5625 & 1.64643599574816 & 121.208780976218 \tabularnewline
Trimmed Mean ( 29 / 40 ) & 199.548387096774 & 1.60786627569773 & 124.107576676537 \tabularnewline
Trimmed Mean ( 30 / 40 ) & 199.533333333333 & 1.56090417565409 & 127.831891569974 \tabularnewline
Trimmed Mean ( 31 / 40 ) & 199.517241379310 & 1.52181979835832 & 131.104380160215 \tabularnewline
Trimmed Mean ( 32 / 40 ) & 199.482142857143 & 1.47819455326127 & 134.949856510454 \tabularnewline
Trimmed Mean ( 33 / 40 ) & 199.444444444444 & 1.43424880974837 & 139.058469554830 \tabularnewline
Trimmed Mean ( 34 / 40 ) & 199.384615384615 & 1.38434302667389 & 144.028330798667 \tabularnewline
Trimmed Mean ( 35 / 40 ) & 199.32 & 1.34450962155314 & 148.247358594393 \tabularnewline
Trimmed Mean ( 36 / 40 ) & 199.291666666667 & 1.31748953100304 & 151.266224115603 \tabularnewline
Trimmed Mean ( 37 / 40 ) & 199.217391304348 & 1.29283160874803 & 154.093843278838 \tabularnewline
Trimmed Mean ( 38 / 40 ) & 199.159090909091 & 1.26672455620301 & 157.223675765841 \tabularnewline
Trimmed Mean ( 39 / 40 ) & 199.095238095238 & 1.23151112702747 & 161.667429327901 \tabularnewline
Trimmed Mean ( 40 / 40 ) & 199.025 & 1.19908485403640 & 165.980747175678 \tabularnewline
Median & 198 &  &  \tabularnewline
Midrange & 175.5 &  &  \tabularnewline
Midmean - Weighted Average at Xnp & 198.774193548387 &  &  \tabularnewline
Midmean - Weighted Average at X(n+1)p & 199.533333333333 &  &  \tabularnewline
Midmean - Empirical Distribution Function & 198.774193548387 &  &  \tabularnewline
Midmean - Empirical Distribution Function - Averaging & 199.533333333333 &  &  \tabularnewline
Midmean - Empirical Distribution Function - Interpolation & 199.533333333333 &  &  \tabularnewline
Midmean - Closest Observation & 198.774193548387 &  &  \tabularnewline
Midmean - True Basic - Statistics Graphics Toolkit & 199.533333333333 &  &  \tabularnewline
Midmean - MS Excel (old versions) & 199.5625 &  &  \tabularnewline
Number of observations & 120 &  &  \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=79295&T=1

[TABLE]
[ROW][C]Central Tendency - Ungrouped Data[/C][/ROW]
[ROW][C]Measure[/C][C]Value[/C][C]S.E.[/C][C]Value/S.E.[/C][/ROW]
[ROW][C]Arithmetic Mean[/C][C]195.341666666667[/C][C]3.54047219930114[/C][C]55.1739021436817[/C][/ROW]
[ROW][C]Geometric Mean[/C][C]190.884230416638[/C][C][/C][C][/C][/ROW]
[ROW][C]Harmonic Mean[/C][C]185.584928714322[/C][C][/C][C][/C][/ROW]
[ROW][C]Quadratic Mean[/C][C]199.123140292634[/C][C][/C][C][/C][/ROW]
[ROW][C]Winsorized Mean ( 1 / 40 )[/C][C]195.441666666667[/C][C]3.51170104569857[/C][C]55.6544148044892[/C][/ROW]
[ROW][C]Winsorized Mean ( 2 / 40 )[/C][C]195.241666666667[/C][C]3.46747585026566[/C][C]56.3065685523689[/C][/ROW]
[ROW][C]Winsorized Mean ( 3 / 40 )[/C][C]195.266666666667[/C][C]3.45231082706719[/C][C]56.5611488790973[/C][/ROW]
[ROW][C]Winsorized Mean ( 4 / 40 )[/C][C]195.7[/C][C]3.35714047320971[/C][C]58.2936584160549[/C][/ROW]
[ROW][C]Winsorized Mean ( 5 / 40 )[/C][C]195.866666666667[/C][C]3.30911933525774[/C][C]59.1899677294082[/C][/ROW]
[ROW][C]Winsorized Mean ( 6 / 40 )[/C][C]195.866666666667[/C][C]3.29231626749751[/C][C]59.492056884178[/C][/ROW]
[ROW][C]Winsorized Mean ( 7 / 40 )[/C][C]196.041666666667[/C][C]3.23927655221028[/C][C]60.5202005777802[/C][/ROW]
[ROW][C]Winsorized Mean ( 8 / 40 )[/C][C]196.041666666667[/C][C]3.21758551701278[/C][C]60.9281915368244[/C][/ROW]
[ROW][C]Winsorized Mean ( 9 / 40 )[/C][C]196.416666666667[/C][C]3.10135922432117[/C][C]63.3324463436379[/C][/ROW]
[ROW][C]Winsorized Mean ( 10 / 40 )[/C][C]196.75[/C][C]2.99280767158594[/C][C]65.7409434852654[/C][/ROW]
[ROW][C]Winsorized Mean ( 11 / 40 )[/C][C]196.75[/C][C]2.96539920364439[/C][C]66.34857113275[/C][/ROW]
[ROW][C]Winsorized Mean ( 12 / 40 )[/C][C]197.05[/C][C]2.91619283866292[/C][C]67.5709772644349[/C][/ROW]
[ROW][C]Winsorized Mean ( 13 / 40 )[/C][C]197.05[/C][C]2.88449078952351[/C][C]68.3136173343618[/C][/ROW]
[ROW][C]Winsorized Mean ( 14 / 40 )[/C][C]197.283333333333[/C][C]2.81383594684569[/C][C]70.1118818083506[/C][/ROW]
[ROW][C]Winsorized Mean ( 15 / 40 )[/C][C]197.283333333333[/C][C]2.77814558722688[/C][C]71.0125971224783[/C][/ROW]
[ROW][C]Winsorized Mean ( 16 / 40 )[/C][C]198.083333333333[/C][C]2.62079550791442[/C][C]75.5813770037192[/C][/ROW]
[ROW][C]Winsorized Mean ( 17 / 40 )[/C][C]198.083333333333[/C][C]2.58189622989063[/C][C]76.7200986004478[/C][/ROW]
[ROW][C]Winsorized Mean ( 18 / 40 )[/C][C]198.083333333333[/C][C]2.50054849258561[/C][C]79.2159535880513[/C][/ROW]
[ROW][C]Winsorized Mean ( 19 / 40 )[/C][C]198.4[/C][C]2.37250237239140[/C][C]83.6247846614459[/C][/ROW]
[ROW][C]Winsorized Mean ( 20 / 40 )[/C][C]198.566666666667[/C][C]2.26376070106169[/C][C]87.7153961430374[/C][/ROW]
[ROW][C]Winsorized Mean ( 21 / 40 )[/C][C]198.216666666667[/C][C]2.17685119820403[/C][C]91.056599013383[/C][/ROW]
[ROW][C]Winsorized Mean ( 22 / 40 )[/C][C]198.216666666667[/C][C]2.13107537632307[/C][C]93.0125085526855[/C][/ROW]
[ROW][C]Winsorized Mean ( 23 / 40 )[/C][C]198.408333333333[/C][C]2.05895243527357[/C][C]96.363728435024[/C][/ROW]
[ROW][C]Winsorized Mean ( 24 / 40 )[/C][C]198.808333333333[/C][C]2.00836122811503[/C][C]98.9903263169083[/C][/ROW]
[ROW][C]Winsorized Mean ( 25 / 40 )[/C][C]198.391666666667[/C][C]1.96000971219416[/C][C]101.219736531088[/C][/ROW]
[ROW][C]Winsorized Mean ( 26 / 40 )[/C][C]198.608333333333[/C][C]1.93288277735590[/C][C]102.752394330411[/C][/ROW]
[ROW][C]Winsorized Mean ( 27 / 40 )[/C][C]198.833333333333[/C][C]1.90507700474922[/C][C]104.370234293761[/C][/ROW]
[ROW][C]Winsorized Mean ( 28 / 40 )[/C][C]199.766666666667[/C][C]1.73914131446278[/C][C]114.865114758299[/C][/ROW]
[ROW][C]Winsorized Mean ( 29 / 40 )[/C][C]199.766666666667[/C][C]1.73914131446278[/C][C]114.865114758299[/C][/ROW]
[ROW][C]Winsorized Mean ( 30 / 40 )[/C][C]199.766666666667[/C][C]1.62420992787958[/C][C]122.993132376345[/C][/ROW]
[ROW][C]Winsorized Mean ( 31 / 40 )[/C][C]200.025[/C][C]1.59535664198512[/C][C]125.379488658477[/C][/ROW]
[ROW][C]Winsorized Mean ( 32 / 40 )[/C][C]200.025[/C][C]1.5352288171502[/C][C]130.290024369983[/C][/ROW]
[ROW][C]Winsorized Mean ( 33 / 40 )[/C][C]200.3[/C][C]1.50534063260382[/C][C]133.059585094396[/C][/ROW]
[ROW][C]Winsorized Mean ( 34 / 40 )[/C][C]200.3[/C][C]1.37990784411978[/C][C]145.154620907143[/C][/ROW]
[ROW][C]Winsorized Mean ( 35 / 40 )[/C][C]199.716666666667[/C][C]1.25139604581925[/C][C]159.595091684917[/C][/ROW]
[ROW][C]Winsorized Mean ( 36 / 40 )[/C][C]200.316666666667[/C][C]1.18935423321376[/C][C]168.424730893999[/C][/ROW]
[ROW][C]Winsorized Mean ( 37 / 40 )[/C][C]200.008333333333[/C][C]1.15545811263182[/C][C]173.098731270984[/C][/ROW]
[ROW][C]Winsorized Mean ( 38 / 40 )[/C][C]200.008333333333[/C][C]1.15545811263182[/C][C]173.098731270984[/C][/ROW]
[ROW][C]Winsorized Mean ( 39 / 40 )[/C][C]200.008333333333[/C][C]1.08726366332003[/C][C]183.955686261596[/C][/ROW]
[ROW][C]Winsorized Mean ( 40 / 40 )[/C][C]200.008333333333[/C][C]1.08726366332003[/C][C]183.955686261596[/C][/ROW]
[ROW][C]Trimmed Mean ( 1 / 40 )[/C][C]195.677966101695[/C][C]3.41581738325692[/C][C]57.2858394189445[/C][/ROW]
[ROW][C]Trimmed Mean ( 2 / 40 )[/C][C]195.922413793103[/C][C]3.30888927816915[/C][C]59.2109307149467[/C][/ROW]
[ROW][C]Trimmed Mean ( 3 / 40 )[/C][C]196.280701754386[/C][C]3.21552834519078[/C][C]61.0415087921549[/C][/ROW]
[ROW][C]Trimmed Mean ( 4 / 40 )[/C][C]196.642857142857[/C][C]3.11726151616712[/C][C]63.0819249918572[/C][/ROW]
[ROW][C]Trimmed Mean ( 5 / 40 )[/C][C]196.9[/C][C]3.03905493189345[/C][C]64.7898785683758[/C][/ROW]
[ROW][C]Trimmed Mean ( 6 / 40 )[/C][C]197.129629629630[/C][C]2.96483639717143[/C][C]66.4892099333706[/C][/ROW]
[ROW][C]Trimmed Mean ( 7 / 40 )[/C][C]197.367924528302[/C][C]2.88557852554382[/C][C]68.3980431588171[/C][/ROW]
[ROW][C]Trimmed Mean ( 8 / 40 )[/C][C]197.586538461538[/C][C]2.80817549705826[/C][C]70.3611788752245[/C][/ROW]
[ROW][C]Trimmed Mean ( 9 / 40 )[/C][C]197.813725490196[/C][C]2.72522568895638[/C][C]72.5861811342121[/C][/ROW]
[ROW][C]Trimmed Mean ( 10 / 40 )[/C][C]198[/C][C]2.6537946911218[/C][C]74.6101424734941[/C][/ROW]
[ROW][C]Trimmed Mean ( 11 / 40 )[/C][C]198.15306122449[/C][C]2.59234465254196[/C][C]76.4377765241163[/C][/ROW]
[ROW][C]Trimmed Mean ( 12 / 40 )[/C][C]198.3125[/C][C]2.52727717795467[/C][C]78.4688366317202[/C][/ROW]
[ROW][C]Trimmed Mean ( 13 / 40 )[/C][C]198.446808510638[/C][C]2.46149096617165[/C][C]80.6205715307914[/C][/ROW]
[ROW][C]Trimmed Mean ( 14 / 40 )[/C][C]198.586956521739[/C][C]2.3915139116791[/C][C]83.0381774289198[/C][/ROW]
[ROW][C]Trimmed Mean ( 15 / 40 )[/C][C]198.711111111111[/C][C]2.32262091208070[/C][C]85.5546895653745[/C][/ROW]
[ROW][C]Trimmed Mean ( 16 / 40 )[/C][C]198.840909090909[/C][C]2.24904986113179[/C][C]88.4110719496659[/C][/ROW]
[ROW][C]Trimmed Mean ( 17 / 40 )[/C][C]198.906976744186[/C][C]2.18849296990806[/C][C]90.8876471065576[/C][/ROW]
[ROW][C]Trimmed Mean ( 18 / 40 )[/C][C]198.976190476190[/C][C]2.12442670140921[/C][C]93.6611229487007[/C][/ROW]
[ROW][C]Trimmed Mean ( 19 / 40 )[/C][C]199.048780487805[/C][C]2.06225761865593[/C][C]96.5198424712497[/C][/ROW]
[ROW][C]Trimmed Mean ( 20 / 40 )[/C][C]199.1[/C][C]2.00873094266007[/C][C]99.1173062412935[/C][/ROW]
[ROW][C]Trimmed Mean ( 21 / 40 )[/C][C]199.141025641026[/C][C]1.96181703027181[/C][C]101.508460049118[/C][/ROW]
[ROW][C]Trimmed Mean ( 22 / 40 )[/C][C]199.210526315789[/C][C]1.91891012464940[/C][C]103.814412023172[/C][/ROW]
[ROW][C]Trimmed Mean ( 23 / 40 )[/C][C]199.283783783784[/C][C]1.87488321445704[/C][C]106.291305104833[/C][/ROW]
[ROW][C]Trimmed Mean ( 24 / 40 )[/C][C]199.347222222222[/C][C]1.83313696368547[/C][C]108.746496400051[/C][/ROW]
[ROW][C]Trimmed Mean ( 25 / 40 )[/C][C]199.385714285714[/C][C]1.79097031858340[/C][C]111.328318630887[/C][/ROW]
[ROW][C]Trimmed Mean ( 26 / 40 )[/C][C]199.455882352941[/C][C]1.74749712194023[/C][C]114.138031959382[/C][/ROW]
[ROW][C]Trimmed Mean ( 27 / 40 )[/C][C]199.515151515152[/C][C]1.69961498783487[/C][C]117.388439701460[/C][/ROW]
[ROW][C]Trimmed Mean ( 28 / 40 )[/C][C]199.5625[/C][C]1.64643599574816[/C][C]121.208780976218[/C][/ROW]
[ROW][C]Trimmed Mean ( 29 / 40 )[/C][C]199.548387096774[/C][C]1.60786627569773[/C][C]124.107576676537[/C][/ROW]
[ROW][C]Trimmed Mean ( 30 / 40 )[/C][C]199.533333333333[/C][C]1.56090417565409[/C][C]127.831891569974[/C][/ROW]
[ROW][C]Trimmed Mean ( 31 / 40 )[/C][C]199.517241379310[/C][C]1.52181979835832[/C][C]131.104380160215[/C][/ROW]
[ROW][C]Trimmed Mean ( 32 / 40 )[/C][C]199.482142857143[/C][C]1.47819455326127[/C][C]134.949856510454[/C][/ROW]
[ROW][C]Trimmed Mean ( 33 / 40 )[/C][C]199.444444444444[/C][C]1.43424880974837[/C][C]139.058469554830[/C][/ROW]
[ROW][C]Trimmed Mean ( 34 / 40 )[/C][C]199.384615384615[/C][C]1.38434302667389[/C][C]144.028330798667[/C][/ROW]
[ROW][C]Trimmed Mean ( 35 / 40 )[/C][C]199.32[/C][C]1.34450962155314[/C][C]148.247358594393[/C][/ROW]
[ROW][C]Trimmed Mean ( 36 / 40 )[/C][C]199.291666666667[/C][C]1.31748953100304[/C][C]151.266224115603[/C][/ROW]
[ROW][C]Trimmed Mean ( 37 / 40 )[/C][C]199.217391304348[/C][C]1.29283160874803[/C][C]154.093843278838[/C][/ROW]
[ROW][C]Trimmed Mean ( 38 / 40 )[/C][C]199.159090909091[/C][C]1.26672455620301[/C][C]157.223675765841[/C][/ROW]
[ROW][C]Trimmed Mean ( 39 / 40 )[/C][C]199.095238095238[/C][C]1.23151112702747[/C][C]161.667429327901[/C][/ROW]
[ROW][C]Trimmed Mean ( 40 / 40 )[/C][C]199.025[/C][C]1.19908485403640[/C][C]165.980747175678[/C][/ROW]
[ROW][C]Median[/C][C]198[/C][C][/C][C][/C][/ROW]
[ROW][C]Midrange[/C][C]175.5[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - Weighted Average at Xnp[/C][C]198.774193548387[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - Weighted Average at X(n+1)p[/C][C]199.533333333333[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - Empirical Distribution Function[/C][C]198.774193548387[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - Empirical Distribution Function - Averaging[/C][C]199.533333333333[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - Empirical Distribution Function - Interpolation[/C][C]199.533333333333[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - Closest Observation[/C][C]198.774193548387[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - True Basic - Statistics Graphics Toolkit[/C][C]199.533333333333[/C][C][/C][C][/C][/ROW]
[ROW][C]Midmean - MS Excel (old versions)[/C][C]199.5625[/C][C][/C][C][/C][/ROW]
[ROW][C]Number of observations[/C][C]120[/C][C][/C][C][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=79295&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=79295&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Central Tendency - Ungrouped Data
MeasureValueS.E.Value/S.E.
Arithmetic Mean195.3416666666673.5404721993011455.1739021436817
Geometric Mean190.884230416638
Harmonic Mean185.584928714322
Quadratic Mean199.123140292634
Winsorized Mean ( 1 / 40 )195.4416666666673.5117010456985755.6544148044892
Winsorized Mean ( 2 / 40 )195.2416666666673.4674758502656656.3065685523689
Winsorized Mean ( 3 / 40 )195.2666666666673.4523108270671956.5611488790973
Winsorized Mean ( 4 / 40 )195.73.3571404732097158.2936584160549
Winsorized Mean ( 5 / 40 )195.8666666666673.3091193352577459.1899677294082
Winsorized Mean ( 6 / 40 )195.8666666666673.2923162674975159.492056884178
Winsorized Mean ( 7 / 40 )196.0416666666673.2392765522102860.5202005777802
Winsorized Mean ( 8 / 40 )196.0416666666673.2175855170127860.9281915368244
Winsorized Mean ( 9 / 40 )196.4166666666673.1013592243211763.3324463436379
Winsorized Mean ( 10 / 40 )196.752.9928076715859465.7409434852654
Winsorized Mean ( 11 / 40 )196.752.9653992036443966.34857113275
Winsorized Mean ( 12 / 40 )197.052.9161928386629267.5709772644349
Winsorized Mean ( 13 / 40 )197.052.8844907895235168.3136173343618
Winsorized Mean ( 14 / 40 )197.2833333333332.8138359468456970.1118818083506
Winsorized Mean ( 15 / 40 )197.2833333333332.7781455872268871.0125971224783
Winsorized Mean ( 16 / 40 )198.0833333333332.6207955079144275.5813770037192
Winsorized Mean ( 17 / 40 )198.0833333333332.5818962298906376.7200986004478
Winsorized Mean ( 18 / 40 )198.0833333333332.5005484925856179.2159535880513
Winsorized Mean ( 19 / 40 )198.42.3725023723914083.6247846614459
Winsorized Mean ( 20 / 40 )198.5666666666672.2637607010616987.7153961430374
Winsorized Mean ( 21 / 40 )198.2166666666672.1768511982040391.056599013383
Winsorized Mean ( 22 / 40 )198.2166666666672.1310753763230793.0125085526855
Winsorized Mean ( 23 / 40 )198.4083333333332.0589524352735796.363728435024
Winsorized Mean ( 24 / 40 )198.8083333333332.0083612281150398.9903263169083
Winsorized Mean ( 25 / 40 )198.3916666666671.96000971219416101.219736531088
Winsorized Mean ( 26 / 40 )198.6083333333331.93288277735590102.752394330411
Winsorized Mean ( 27 / 40 )198.8333333333331.90507700474922104.370234293761
Winsorized Mean ( 28 / 40 )199.7666666666671.73914131446278114.865114758299
Winsorized Mean ( 29 / 40 )199.7666666666671.73914131446278114.865114758299
Winsorized Mean ( 30 / 40 )199.7666666666671.62420992787958122.993132376345
Winsorized Mean ( 31 / 40 )200.0251.59535664198512125.379488658477
Winsorized Mean ( 32 / 40 )200.0251.5352288171502130.290024369983
Winsorized Mean ( 33 / 40 )200.31.50534063260382133.059585094396
Winsorized Mean ( 34 / 40 )200.31.37990784411978145.154620907143
Winsorized Mean ( 35 / 40 )199.7166666666671.25139604581925159.595091684917
Winsorized Mean ( 36 / 40 )200.3166666666671.18935423321376168.424730893999
Winsorized Mean ( 37 / 40 )200.0083333333331.15545811263182173.098731270984
Winsorized Mean ( 38 / 40 )200.0083333333331.15545811263182173.098731270984
Winsorized Mean ( 39 / 40 )200.0083333333331.08726366332003183.955686261596
Winsorized Mean ( 40 / 40 )200.0083333333331.08726366332003183.955686261596
Trimmed Mean ( 1 / 40 )195.6779661016953.4158173832569257.2858394189445
Trimmed Mean ( 2 / 40 )195.9224137931033.3088892781691559.2109307149467
Trimmed Mean ( 3 / 40 )196.2807017543863.2155283451907861.0415087921549
Trimmed Mean ( 4 / 40 )196.6428571428573.1172615161671263.0819249918572
Trimmed Mean ( 5 / 40 )196.93.0390549318934564.7898785683758
Trimmed Mean ( 6 / 40 )197.1296296296302.9648363971714366.4892099333706
Trimmed Mean ( 7 / 40 )197.3679245283022.8855785255438268.3980431588171
Trimmed Mean ( 8 / 40 )197.5865384615382.8081754970582670.3611788752245
Trimmed Mean ( 9 / 40 )197.8137254901962.7252256889563872.5861811342121
Trimmed Mean ( 10 / 40 )1982.653794691121874.6101424734941
Trimmed Mean ( 11 / 40 )198.153061224492.5923446525419676.4377765241163
Trimmed Mean ( 12 / 40 )198.31252.5272771779546778.4688366317202
Trimmed Mean ( 13 / 40 )198.4468085106382.4614909661716580.6205715307914
Trimmed Mean ( 14 / 40 )198.5869565217392.391513911679183.0381774289198
Trimmed Mean ( 15 / 40 )198.7111111111112.3226209120807085.5546895653745
Trimmed Mean ( 16 / 40 )198.8409090909092.2490498611317988.4110719496659
Trimmed Mean ( 17 / 40 )198.9069767441862.1884929699080690.8876471065576
Trimmed Mean ( 18 / 40 )198.9761904761902.1244267014092193.6611229487007
Trimmed Mean ( 19 / 40 )199.0487804878052.0622576186559396.5198424712497
Trimmed Mean ( 20 / 40 )199.12.0087309426600799.1173062412935
Trimmed Mean ( 21 / 40 )199.1410256410261.96181703027181101.508460049118
Trimmed Mean ( 22 / 40 )199.2105263157891.91891012464940103.814412023172
Trimmed Mean ( 23 / 40 )199.2837837837841.87488321445704106.291305104833
Trimmed Mean ( 24 / 40 )199.3472222222221.83313696368547108.746496400051
Trimmed Mean ( 25 / 40 )199.3857142857141.79097031858340111.328318630887
Trimmed Mean ( 26 / 40 )199.4558823529411.74749712194023114.138031959382
Trimmed Mean ( 27 / 40 )199.5151515151521.69961498783487117.388439701460
Trimmed Mean ( 28 / 40 )199.56251.64643599574816121.208780976218
Trimmed Mean ( 29 / 40 )199.5483870967741.60786627569773124.107576676537
Trimmed Mean ( 30 / 40 )199.5333333333331.56090417565409127.831891569974
Trimmed Mean ( 31 / 40 )199.5172413793101.52181979835832131.104380160215
Trimmed Mean ( 32 / 40 )199.4821428571431.47819455326127134.949856510454
Trimmed Mean ( 33 / 40 )199.4444444444441.43424880974837139.058469554830
Trimmed Mean ( 34 / 40 )199.3846153846151.38434302667389144.028330798667
Trimmed Mean ( 35 / 40 )199.321.34450962155314148.247358594393
Trimmed Mean ( 36 / 40 )199.2916666666671.31748953100304151.266224115603
Trimmed Mean ( 37 / 40 )199.2173913043481.29283160874803154.093843278838
Trimmed Mean ( 38 / 40 )199.1590909090911.26672455620301157.223675765841
Trimmed Mean ( 39 / 40 )199.0952380952381.23151112702747161.667429327901
Trimmed Mean ( 40 / 40 )199.0251.19908485403640165.980747175678
Median198
Midrange175.5
Midmean - Weighted Average at Xnp198.774193548387
Midmean - Weighted Average at X(n+1)p199.533333333333
Midmean - Empirical Distribution Function198.774193548387
Midmean - Empirical Distribution Function - Averaging199.533333333333
Midmean - Empirical Distribution Function - Interpolation199.533333333333
Midmean - Closest Observation198.774193548387
Midmean - True Basic - Statistics Graphics Toolkit199.533333333333
Midmean - MS Excel (old versions)199.5625
Number of observations120



Parameters (Session):
Parameters (R input):
R code (references can be found in the software module):
geomean <- function(x) {
return(exp(mean(log(x))))
}
harmean <- function(x) {
return(1/mean(1/x))
}
quamean <- function(x) {
return(sqrt(mean(x*x)))
}
winmean <- function(x) {
x <-sort(x[!is.na(x)])
n<-length(x)
denom <- 3
nodenom <- n/denom
if (nodenom>40) denom <- n/40
sqrtn = sqrt(n)
roundnodenom = floor(nodenom)
win <- array(NA,dim=c(roundnodenom,2))
for (j in 1:roundnodenom) {
win[j,1] <- (j*x[j+1]+sum(x[(j+1):(n-j)])+j*x[n-j])/n
win[j,2] <- sd(c(rep(x[j+1],j),x[(j+1):(n-j)],rep(x[n-j],j)))/sqrtn
}
return(win)
}
trimean <- function(x) {
x <-sort(x[!is.na(x)])
n<-length(x)
denom <- 3
nodenom <- n/denom
if (nodenom>40) denom <- n/40
sqrtn = sqrt(n)
roundnodenom = floor(nodenom)
tri <- array(NA,dim=c(roundnodenom,2))
for (j in 1:roundnodenom) {
tri[j,1] <- mean(x,trim=j/n)
tri[j,2] <- sd(x[(j+1):(n-j)]) / sqrt(n-j*2)
}
return(tri)
}
midrange <- function(x) {
return((max(x)+min(x))/2)
}
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]
}
}
}
}
midmean <- function(x,def) {
x <-sort(x[!is.na(x)])
n<-length(x)
if (def==1) {
qvalue1 <- q1(x,n,0.25,i,f)
qvalue3 <- q1(x,n,0.75,i,f)
}
if (def==2) {
qvalue1 <- q2(x,n,0.25,i,f)
qvalue3 <- q2(x,n,0.75,i,f)
}
if (def==3) {
qvalue1 <- q3(x,n,0.25,i,f)
qvalue3 <- q3(x,n,0.75,i,f)
}
if (def==4) {
qvalue1 <- q4(x,n,0.25,i,f)
qvalue3 <- q4(x,n,0.75,i,f)
}
if (def==5) {
qvalue1 <- q5(x,n,0.25,i,f)
qvalue3 <- q5(x,n,0.75,i,f)
}
if (def==6) {
qvalue1 <- q6(x,n,0.25,i,f)
qvalue3 <- q6(x,n,0.75,i,f)
}
if (def==7) {
qvalue1 <- q7(x,n,0.25,i,f)
qvalue3 <- q7(x,n,0.75,i,f)
}
if (def==8) {
qvalue1 <- q8(x,n,0.25,i,f)
qvalue3 <- q8(x,n,0.75,i,f)
}
midm <- 0
myn <- 0
roundno4 <- round(n/4)
round3no4 <- round(3*n/4)
for (i in 1:n) {
if ((x[i]>=qvalue1) & (x[i]<=qvalue3)){
midm = midm + x[i]
myn = myn + 1
}
}
midm = midm / myn
return(midm)
}
(arm <- mean(x))
sqrtn <- sqrt(length(x))
(armse <- sd(x) / sqrtn)
(armose <- arm / armse)
(geo <- geomean(x))
(har <- harmean(x))
(qua <- quamean(x))
(win <- winmean(x))
(tri <- trimean(x))
(midr <- midrange(x))
midm <- array(NA,dim=8)
for (j in 1:8) midm[j] <- midmean(x,j)
midm
bitmap(file='test1.png')
lb <- win[,1] - 2*win[,2]
ub <- win[,1] + 2*win[,2]
if ((ylimmin == '') | (ylimmax == '')) plot(win[,1],type='b',main=main, xlab='j', pch=19, ylab='Winsorized Mean(j/n)', ylim=c(min(lb),max(ub))) else plot(win[,1],type='l',main=main, xlab='j', pch=19, ylab='Winsorized Mean(j/n)', ylim=c(ylimmin,ylimmax))
lines(ub,lty=3)
lines(lb,lty=3)
grid()
dev.off()
bitmap(file='test2.png')
lb <- tri[,1] - 2*tri[,2]
ub <- tri[,1] + 2*tri[,2]
if ((ylimmin == '') | (ylimmax == '')) plot(tri[,1],type='b',main=main, xlab='j', pch=19, ylab='Trimmed Mean(j/n)', ylim=c(min(lb),max(ub))) else plot(tri[,1],type='l',main=main, xlab='j', pch=19, ylab='Trimmed Mean(j/n)', ylim=c(ylimmin,ylimmax))
lines(ub,lty=3)
lines(lb,lty=3)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Central Tendency - Ungrouped Data',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Measure',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.element(a,'S.E.',header=TRUE)
a<-table.element(a,'Value/S.E.',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('arithmetic_mean.htm', 'Arithmetic Mean', 'click to view the definition of the Arithmetic Mean'),header=TRUE)
a<-table.element(a,arm)
a<-table.element(a,hyperlink('arithmetic_mean_standard_error.htm', armse, 'click to view the definition of the Standard Error of the Arithmetic Mean'))
a<-table.element(a,armose)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('geometric_mean.htm', 'Geometric Mean', 'click to view the definition of the Geometric Mean'),header=TRUE)
a<-table.element(a,geo)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('harmonic_mean.htm', 'Harmonic Mean', 'click to view the definition of the Harmonic Mean'),header=TRUE)
a<-table.element(a,har)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('quadratic_mean.htm', 'Quadratic Mean', 'click to view the definition of the Quadratic Mean'),header=TRUE)
a<-table.element(a,qua)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
for (j in 1:length(win[,1])) {
a<-table.row.start(a)
mylabel <- paste('Winsorized Mean (',j)
mylabel <- paste(mylabel,'/')
mylabel <- paste(mylabel,length(win[,1]))
mylabel <- paste(mylabel,')')
a<-table.element(a,hyperlink('winsorized_mean.htm', mylabel, 'click to view the definition of the Winsorized Mean'),header=TRUE)
a<-table.element(a,win[j,1])
a<-table.element(a,win[j,2])
a<-table.element(a,win[j,1]/win[j,2])
a<-table.row.end(a)
}
for (j in 1:length(tri[,1])) {
a<-table.row.start(a)
mylabel <- paste('Trimmed Mean (',j)
mylabel <- paste(mylabel,'/')
mylabel <- paste(mylabel,length(tri[,1]))
mylabel <- paste(mylabel,')')
a<-table.element(a,hyperlink('arithmetic_mean.htm', mylabel, 'click to view the definition of the Trimmed Mean'),header=TRUE)
a<-table.element(a,tri[j,1])
a<-table.element(a,tri[j,2])
a<-table.element(a,tri[j,1]/tri[j,2])
a<-table.row.end(a)
}
a<-table.row.start(a)
a<-table.element(a,hyperlink('median_1.htm', 'Median', 'click to view the definition of the Median'),header=TRUE)
a<-table.element(a,median(x))
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink('midrange.htm', 'Midrange', 'click to view the definition of the Midrange'),header=TRUE)
a<-table.element(a,midr)
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_1.htm','Weighted Average at Xnp',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[1])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_2.htm','Weighted Average at X(n+1)p',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[2])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_3.htm','Empirical Distribution Function',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[3])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_4.htm','Empirical Distribution Function - Averaging',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[4])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_5.htm','Empirical Distribution Function - Interpolation',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[5])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_6.htm','Closest Observation',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[6])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_7.htm','True Basic - Statistics Graphics Toolkit',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[7])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
mymid <- hyperlink('midmean.htm', 'Midmean', 'click to view the definition of the Midmean')
mylabel <- paste(mymid,hyperlink('method_8.htm','MS Excel (old versions)',''),sep=' - ')
a<-table.element(a,mylabel,header=TRUE)
a<-table.element(a,midm[8])
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of observations',header=TRUE)
a<-table.element(a,length(x))
a<-table.element(a,'')
a<-table.element(a,'')
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')