Home » date » 2009 » Nov » 09 »

*The author of this computation has been verified*
R Software Module: /rwasp_bidensity.wasp (opens new window with default values)
Title produced by software: Bivariate Kernel Density Estimation
Date of computation: Mon, 09 Nov 2009 05:26:04 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/09/t1257769614oj18yfo971g9pmo.htm/, Retrieved Mon, 09 Nov 2009 13:26:57 +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/2009/Nov/09/t1257769614oj18yfo971g9pmo.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
100 97.82226485 94.04971502 91.12460521 93.13202153 93.88342812 92.55349954 94.43494835 96.25017563 100.4355715 101.5036685 99.39789728 99.68990733 101.6895041 103.6652759 103.0532766 100.9500712 102.345366 101.6472299 99.56809393 95.67727392 96.58494865 96.32604937 95.37109101 96.00056203 96.88367859 94.85280372 92.46943974 93.99180173 93.45262168 92.26698759 90.39653498 90.43001228 91.04995327 89.07845784 89.69314509 87.92459054 85.8789319 83.20612366 83.85722053 83.01393462 82.84508195 78.68864276 77.56959675 78.53689529 78.55717715 77.4761291 81.58931659 85.02428326 91.71290159 95.96293061 90.84689022 92.28788036 95.56511274 93.62452884 92.63071726 89.50914211 87.17171779 86.72624975 85.63212844
 
Dataseries Y:
» Textbox « » Textfile « » CSV «
100 96.21064363 96.31280765 107.1793443 114.9066592 92.56060184 114.9995356 107.1236185 117.7765394 107.3650971 106.2970187 114.5072908 98.0031578 103.0649206 100.2879168 104.6066685 111.1544534 104.9874617 109.9284852 111.5352466 132.4974459 100.3436426 123.0983561 114.2379493 104.569518 109.0833101 106.9843039 133.6769759 124.8537197 122.5132349 116.8013374 116.0118882 129.7575926 125.1973623 143.7912139 127.9465032 130.2962757 108.4424631 129.3675118 143.6797622 131.8844618 117.6186496 118.9560695 104.8202842 134.624315 140.401226 143.8005015 153.4317823 153.2924677 127.3149438 153.5525216 136.9276493 131.7730101 144.3391845 107.4208229 113.6249652 124.2221603 102.0618557 96.36853348 111.6838488
 
Output produced by software:


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


Bandwidth
x axis2.85218078160743
y axis6.62378935606402
Correlation
correlation used in KDE-0.488221079733609
correlation(x,y)-0.488221079733609
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/09/t1257769614oj18yfo971g9pmo/1qiht1257769562.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/09/t1257769614oj18yfo971g9pmo/1qiht1257769562.ps (open in new window)


 
Parameters (Session):
par1 = 50 ; par2 = 50 ; par3 = 0 ; par4 = 0 ; par5 = 0 ; par6 = Y ; par7 = Y ;
 
Parameters (R input):
par1 = 50 ; par2 = 50 ; par3 = 0 ; par4 = 0 ; par5 = 0 ; par6 = Y ; par7 = Y ;
 
R code (references can be found in the software module):
par1 <- as(par1,'numeric')
par2 <- as(par2,'numeric')
par3 <- as(par3,'numeric')
par4 <- as(par4,'numeric')
par5 <- as(par5,'numeric')
library('GenKern')
if (par3==0) par3 <- dpik(x)
if (par4==0) par4 <- dpik(y)
if (par5==0) par5 <- cor(x,y)
if (par1 > 500) par1 <- 500
if (par2 > 500) par2 <- 500
bitmap(file='bidensity.png')
op <- KernSur(x,y, xgridsize=par1, ygridsize=par2, correlation=par5, xbandwidth=par3, ybandwidth=par4)
image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main=main,xlab=xlab,ylab=ylab)
if (par6=='Y') contour(op$xords, op$yords, op$zden, add=TRUE)
if (par7=='Y') points(x,y)
(r<-lm(y ~ x))
abline(r)
box()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Bandwidth',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'x axis',header=TRUE)
a<-table.element(a,par3)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'y axis',header=TRUE)
a<-table.element(a,par4)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'correlation used in KDE',header=TRUE)
a<-table.element(a,par5)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'correlation(x,y)',header=TRUE)
a<-table.element(a,cor(x,y))
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