Home » date » 2010 » Dec » 04 »

tijd om enquĂȘte P&F in te vullen - percentielen

*The author of this computation has been verified*
R Software Module: /rwasp_percentiles.wasp (opens new window with default values)
Title produced by software: Percentiles
Date of computation: Sat, 04 Dec 2010 14:48:11 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/04/t12914739966hrz7tmdhc0lzz5.htm/, Retrieved Sat, 04 Dec 2010 15:46:36 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/04/t12914739966hrz7tmdhc0lzz5.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
299 157 169 85 105 132 169 74 98 82 141 200 266 122 175 158 137 131 164 169 116 180 150 171 128 140 165 151 180 110 181 182 115 254 125 111 136 132 216 303 331 118 118 104 395 106 115 621 114 98 153 140 179 759 106 83 133 169 204 178 129 110 149 100 221 158 127 158 107 213 578 569 151 170 287 175 76 131 209 152 246 191 129 169 287 124 174 154 247 110 157 196 128 129 128 147 125 140 155 378 157 86 118 202 523 239 108 155 314 221 232 558 471 131 103 175 81 221 258 165 114 223 191 144 149 115 88 130 117 201 136 136 289 142 143 191 106 180 81 252 126 250 192 223 133 139 858 147 84 144 82 129 94 105 122 140
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


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.0175.1275.14767678.757674.8676
0.028181818181.1818181
0.0381.6881.718282828281.2982
0.0482.2482.28838383.28282.7282
0.0583.883.85848484.758483.1584
0.0685.3685.42868686.68585.5885
0.0787.8487.98888893.18886.0288
0.0895.9296.249898989495.7698
0.0998.0898.2610010099.99899.7498
0.1101.8102.1103103103.5103100.9103
0.11104.16104.27105105105104104.73104
0.12105105105105105.6105105105
0.13106106106106106106106106
0.14106106106106106.7106106106
0.15107.4107.55108108108.5107107.45108
0.16109.92110110110110110110110
0.17110110110110110.35110110110
0.18111.24111.78114114113.7111113.22111
0.19114114114114114.45114114114
0.2115115115115115115115115
0.21115115115115115.55115115115
0.22116.32116.54117117117.1116116.46117
0.23117.88118118118118118118118
0.24118118118118118.8118118118
0.25122122122122122122122122
0.26123.12123.64124124124.3124122.36124
0.27125125125125125125125125
0.28125.68125.96126126126.4126125.04126
0.29127.24127.53128128127.95127127.47128
0.3128128128128128128128128
0.31128.36128.67129129129128128.33129
0.32129129129129129129129129
0.33129129129129129.15129129129
0.34130.04130.38131131130.7130130.62130
0.35131131131131131131131131
0.36131.16131.52132132131.8131131.48132
0.37132132.09132132132.35132132.91132
0.38133133133133133133133133
0.39135.52136136136136136136136
0.4136136136136136136136136
0.41136.96137.74137137138.1137138.26137
0.42139.52139.94140140140140139.06140
0.43140140140140140140140140
0.44140140.08140140140.2140140.92140
0.45141.2141.65142142141.75141141.35142
0.46142.76143.22143143143.3143143.78143
0.47144144144144144144144144
0.48146.64147147147147147147147
0.49147.88148.86149149148.9147147.14149
0.5149149.5149149.5149.5149149.5149.5
0.51150.56151151151151151151151
0.52151.12151.64152152151.6151151.36152
0.53152.68153.21153153153.15153153.79153
0.54154.24154.78155155154.7154154.22155
0.55155155.7155155155.5155156.3155
0.56157157157157157157157157
0.57157157.49157157157.35157157.51157
0.58158158158158158158158158
0.59158.24161.78164164160.7158160.22164
0.6164.6165165165165165165165
0.61165.64168.08169169167.2165165.92169
0.62169169169169169169169169
0.63169169169169169169169169
0.64169169.48169169169.2169169.52169
0.65170.4171.15171171170.75170173.85171
0.66173.88174.62174174174.3174174.38175
0.67175175175175175175175175
0.68175.24177.28178178176.2175175.72178
0.69178.64179.33179179178.95179179.67179
0.7180180180180180180180180
0.71180180.47180180180.05180180.53180
0.72181.32182.36182182181.6181190.64182
0.73189.92191191191191191191191
0.74191191.18191191191191191.82191
0.75192195192194193192193196
0.76198.24200.32200200199.2200200.68200
0.77201.12201.89202202201.35201201.11202
0.78203.36206.3204204203.8204206.7204
0.79209.96213.09213213210.8209215.91213
0.8215.4219216216216216218221
0.81221221221221221221221221
0.82221222.48221221221.2221221.52223
0.83223225.79223223223223229.21223
0.84232.28238.16239239233.4232232.84239
0.85243.2246.45246246244.25246246.55246
0.86247.48250.04250250247.9247251.96250
0.87251.44253.18252252251.7252252.82254
0.88255.12259.28258258255.6254264.72258
0.89264.72281.33266266265.6266271.67287
0.9287287.6287287287287288.4287
0.91288.92297.7289289289.5289290.3299
0.92301.08307.84303303301.4303309.16303
0.93315.36331.47331331316.55314377.53331
0.94361.08387.86378378363.9378385.14395
0.95410.2478.8471471414395515.2471
0.96510.52548.2523523512.6523532.8558
0.97561.52571.61569569561.85558575.39569
0.98576.92614.98578578577.1578584.02621
0.99681.72801.57759759683.1621815.43759
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/04/t12914739966hrz7tmdhc0lzz5/1a8541291474088.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t12914739966hrz7tmdhc0lzz5/1a8541291474088.ps (open in new window)


 
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('http://www.xycoon.com/method_1.htm', 'Weighted Average at Xnp',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/method_2.htm','Weighted Average at X(n+1)p',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/method_3.htm','Empirical Distribution Function',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/method_4.htm','Empirical Distribution Function - Averaging',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/method_5.htm','Empirical Distribution Function - Interpolation',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/method_6.htm','Closest Observation',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/method_7.htm','True Basic - Statistics Graphics Toolkit',''),1,TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by