Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_harrell_davies.wasp
Title produced by softwareHarrell-Davis Quantiles
Date of computationTue, 28 Oct 2008 01:34:31 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Oct/28/t1225179331f1wion1nb3o6fxl.htm/, Retrieved Sun, 19 May 2024 18:45:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=19753, Retrieved Sun, 19 May 2024 18:45:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact197
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Tukey lambda PPCC Plot] [Investigating Dis...] [2007-10-21 16:01:20] [b9964c45117f7aac638ab9056d451faa]
F RMPD    [Harrell-Davis Quantiles] [Q5] [2008-10-28 07:34:31] [9e8e8f1cf6738240aaa61f66e2e3fd45] [Current]
Feedback Forum
2008-11-03 10:38:23 [4db2e62d895b4fb371d0fef3013b569f] [reply
Indien we een betrouwheidsinterval willen creëren van 95%, zullen we aan beide staarten van de resultaten 2,5% moeten laten wegvallen.

Eerst zoeken we het max. en min. interval, in dit geval, 0.70606 en 1.04239 daarna moeten we deze resultaten verminderen met het gemiddelde van de tekenreeks (0,8621).

Hierna bekomen we 0,15603 en 0,18029.

2008-11-03 19:03:11 [9142cf052ad32d043faa9486189092cf] [reply
De student heeft verwezen naar de oplossing van de student maar je kan dit resultaat ook bekomen op een andere manier

Manier 2:
Ja kan de R-code veranderen door bovenaan x door ‘x <- x –gemiddelde’ toe te voegen

Het voordeel van deze methode is dat je achteraf geen berekeningen meer moet gaan uitvoeren zoals bij de eerste methode.

Voorbeeld
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Oct/30/t1225399456st3ltl0ddcluo2o.htm, Retrieved Thu, 30 Oct 2008 20:44:19 +0000

Post a new message
Dataseries X:
0,989130435
0,919087137
0,925417076
0,925612053
1,066666667
0,851108765
1,030693069
0,989031079
0,913000978
0,792723264
0,978170478
0,987513007
0,909433962
0,883608147
0,82745098
0,8252149
1,023255814
0,815418024
1,026192703
0,914742451
0,807276303
0,739130435
0,98973306
0,972164948
0,853889943
0,856864654
0,775739042
0,789473684
0,931350114
0,73971079
0,885245902
0,842435094
0,818458418
0,72755418
0,923238696
0,922680412
0,883762201
0,818270165
0,771047228
0,825852783
0,924485126
0,755165289
0,874671341
0,815956482
0,799807507
0,712598425
0,832980973
0,910323253
0,869149952
0,779182879
0,750254842
0,75856014
0,920889988
0,743991641
0,816254417
0,769593957
0,784007353
0,683284457
0,850505051
0,900695134
0,868398268




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=19753&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=19753&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=19753&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'George Udny Yule' @ 72.249.76.132







Harrell-Davis Quantiles
quantilesvaluestandard error
0.010.6903574823081820.0257493744938832
0.060.7330999213570140.0113755336274530
0.110.7513279103163620.0112601657760742
0.160.7668075494625120.012937217037477
0.210.781725742453370.0139761760838112
0.260.7962891303806530.0146806157352704
0.310.8094118534720780.0126954985073174
0.360.8203216841359230.0115477666075857
0.410.8313179966309320.0139270942039374
0.460.8443041744497640.0165157734928721
0.510.8588334903013120.0176871470530748
0.560.8742254136022550.0184445154323164
0.610.8900254182823880.0181815126038245
0.660.9045029377773640.0148957772281856
0.710.9156316395187150.0101118222886584
0.760.9254561883433430.0106742913471305
0.810.9424040217808930.0210153504000639
0.860.9690727846392930.0235246397989794
0.910.9953835692027580.0171531920939682
0.961.027939333519310.0161209786732948

\begin{tabular}{lllllllll}
\hline
Harrell-Davis Quantiles \tabularnewline
quantiles & value & standard error \tabularnewline
0.01 & 0.690357482308182 & 0.0257493744938832 \tabularnewline
0.06 & 0.733099921357014 & 0.0113755336274530 \tabularnewline
0.11 & 0.751327910316362 & 0.0112601657760742 \tabularnewline
0.16 & 0.766807549462512 & 0.012937217037477 \tabularnewline
0.21 & 0.78172574245337 & 0.0139761760838112 \tabularnewline
0.26 & 0.796289130380653 & 0.0146806157352704 \tabularnewline
0.31 & 0.809411853472078 & 0.0126954985073174 \tabularnewline
0.36 & 0.820321684135923 & 0.0115477666075857 \tabularnewline
0.41 & 0.831317996630932 & 0.0139270942039374 \tabularnewline
0.46 & 0.844304174449764 & 0.0165157734928721 \tabularnewline
0.51 & 0.858833490301312 & 0.0176871470530748 \tabularnewline
0.56 & 0.874225413602255 & 0.0184445154323164 \tabularnewline
0.61 & 0.890025418282388 & 0.0181815126038245 \tabularnewline
0.66 & 0.904502937777364 & 0.0148957772281856 \tabularnewline
0.71 & 0.915631639518715 & 0.0101118222886584 \tabularnewline
0.76 & 0.925456188343343 & 0.0106742913471305 \tabularnewline
0.81 & 0.942404021780893 & 0.0210153504000639 \tabularnewline
0.86 & 0.969072784639293 & 0.0235246397989794 \tabularnewline
0.91 & 0.995383569202758 & 0.0171531920939682 \tabularnewline
0.96 & 1.02793933351931 & 0.0161209786732948 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=19753&T=1

[TABLE]
[ROW][C]Harrell-Davis Quantiles[/C][/ROW]
[ROW][C]quantiles[/C][C]value[/C][C]standard error[/C][/ROW]
[ROW][C]0.01[/C][C]0.690357482308182[/C][C]0.0257493744938832[/C][/ROW]
[ROW][C]0.06[/C][C]0.733099921357014[/C][C]0.0113755336274530[/C][/ROW]
[ROW][C]0.11[/C][C]0.751327910316362[/C][C]0.0112601657760742[/C][/ROW]
[ROW][C]0.16[/C][C]0.766807549462512[/C][C]0.012937217037477[/C][/ROW]
[ROW][C]0.21[/C][C]0.78172574245337[/C][C]0.0139761760838112[/C][/ROW]
[ROW][C]0.26[/C][C]0.796289130380653[/C][C]0.0146806157352704[/C][/ROW]
[ROW][C]0.31[/C][C]0.809411853472078[/C][C]0.0126954985073174[/C][/ROW]
[ROW][C]0.36[/C][C]0.820321684135923[/C][C]0.0115477666075857[/C][/ROW]
[ROW][C]0.41[/C][C]0.831317996630932[/C][C]0.0139270942039374[/C][/ROW]
[ROW][C]0.46[/C][C]0.844304174449764[/C][C]0.0165157734928721[/C][/ROW]
[ROW][C]0.51[/C][C]0.858833490301312[/C][C]0.0176871470530748[/C][/ROW]
[ROW][C]0.56[/C][C]0.874225413602255[/C][C]0.0184445154323164[/C][/ROW]
[ROW][C]0.61[/C][C]0.890025418282388[/C][C]0.0181815126038245[/C][/ROW]
[ROW][C]0.66[/C][C]0.904502937777364[/C][C]0.0148957772281856[/C][/ROW]
[ROW][C]0.71[/C][C]0.915631639518715[/C][C]0.0101118222886584[/C][/ROW]
[ROW][C]0.76[/C][C]0.925456188343343[/C][C]0.0106742913471305[/C][/ROW]
[ROW][C]0.81[/C][C]0.942404021780893[/C][C]0.0210153504000639[/C][/ROW]
[ROW][C]0.86[/C][C]0.969072784639293[/C][C]0.0235246397989794[/C][/ROW]
[ROW][C]0.91[/C][C]0.995383569202758[/C][C]0.0171531920939682[/C][/ROW]
[ROW][C]0.96[/C][C]1.02793933351931[/C][C]0.0161209786732948[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=19753&T=1

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

As an alternative you can also use a QR Code:  

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

Harrell-Davis Quantiles
quantilesvaluestandard error
0.010.6903574823081820.0257493744938832
0.060.7330999213570140.0113755336274530
0.110.7513279103163620.0112601657760742
0.160.7668075494625120.012937217037477
0.210.781725742453370.0139761760838112
0.260.7962891303806530.0146806157352704
0.310.8094118534720780.0126954985073174
0.360.8203216841359230.0115477666075857
0.410.8313179966309320.0139270942039374
0.460.8443041744497640.0165157734928721
0.510.8588334903013120.0176871470530748
0.560.8742254136022550.0184445154323164
0.610.8900254182823880.0181815126038245
0.660.9045029377773640.0148957772281856
0.710.9156316395187150.0101118222886584
0.760.9254561883433430.0106742913471305
0.810.9424040217808930.0210153504000639
0.860.9690727846392930.0235246397989794
0.910.9953835692027580.0171531920939682
0.961.027939333519310.0161209786732948



Parameters (Session):
par1 = 0.01 ; par2 = 0.99 ; par3 = 0.05 ;
Parameters (R input):
par1 = 0.01 ; par2 = 0.99 ; par3 = 0.05 ;
R code (references can be found in the software module):
par1 <- as(par1,'numeric')
par2 <- as(par2,'numeric')
par3 <- as(par3,'numeric')
library(Hmisc)
myseq <- seq(par1, par2, par3)
hd <- hdquantile(x, probs = myseq, se = TRUE, na.rm = FALSE, names = TRUE, weights=FALSE)
bitmap(file='test1.png')
plot(myseq,hd,col=2,main=main,xlab=xlab,ylab=ylab)
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Harrell-Davis Quantiles',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'quantiles',header=TRUE)
a<-table.element(a,'value',header=TRUE)
a<-table.element(a,'standard error',header=TRUE)
a<-table.row.end(a)
length(hd)
for (i in 1:length(hd))
{
a<-table.row.start(a)
a<-table.element(a,as(labels(hd)[i],'numeric'),header=TRUE)
a<-table.element(a,as.matrix(hd[i])[1,1])
a<-table.element(a,as.matrix(attr(hd,'se')[i])[1,1])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')