Home » date » 2009 » Oct » 29 »

ws5 trivariate

*The author of this computation has been verified*
R Software Module: rwasp_cloud.wasp (opens new window with default values)
Title produced by software: Trivariate Scatterplots
Date of computation: Thu, 29 Oct 2009 14:17:45 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv.htm/, Retrieved Thu, 29 Oct 2009 21:19:30 +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/Oct/29/t12568475687vyi3h2tuiw5frv.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 «
5594 5585 5710 5511 5403 5826 5884 5965 5960 6064 6046 5954 5952 5960 5983 5996 6021 6094 6202 6276 6306 6342 6345 6328 6191 6261 6253 6198 6247 6293 6381 6448 6470 6516 6532 6526 6533 6498 6507 6464 6453 6468 6497 6808 6793 6907 6792 6757 6734 6654 6589 6469 6521 6448 6410 6528 6445 6458 6215 6167
 
Dataseries Y:
» Textbox « » Textfile « » CSV «
29571 30167 30524 30996 31033 31198 30937 31649 33115 34106 33926 33382 32851 32948 36112 36113 35210 35193 34383 35349 37058 38076 36630 36045 35638 35114 35465 35254 35299 35916 36683 37288 38536 38977 36407 34955 34951 32680 34791 34178 35213 34871 35299 35443 37108 36419 34471 33868 34385 33643 34627 32919 35500 36110 37086 37711 40427 39884 38512 38767
 
Dataseries Z:
» Textbox « » Textfile « » CSV «
2645,64 2756,76 2849,27 2921,44 2981,85 3080,58 3106,22 3119,31 3061,26 3097,31 3161,69 3257,16 3277,01 3295,32 3363,99 3494,17 3667,03 3813,06 3917,96 3895,51 3801,06 3570,12 3701,61 3862,27 3970,1 4138,52 4199,75 4290,89 4443,91 4502,64 4356,98 4591,27 4696,96 4621,4 4562,84 4202,52 4296,49 4435,23 4105,18 4116,68 3844,49 3720,98 3674,4 3857,62 3801,06 3504,37 3032,6 3047,03 2962,34 2197,82 2014,45 1862,83 1905,41 1810,99 1670,07 1864,44 2052,02 2029,6 2070,83 2293,41
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/1jxm61256847457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/1jxm61256847457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/2uu2x1256847457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/2uu2x1256847457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/31nyh1256847457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/31nyh1256847457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/4q30o1256847457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/4q30o1256847457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/5vzjc1256847457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/5vzjc1256847457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/6jwr71256847457.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/6jwr71256847457.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/7tpep1256847458.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Oct/29/t12568475687vyi3h2tuiw5frv/7tpep1256847458.ps (open in new window)


 
Parameters (Session):
par1 = 50 ; par2 = 50 ; par3 = Y ; par4 = Y ; par5 = Consumptiekrediet >1j & <5j ; par6 = Zichtrekening van belg. huishoudens ; par7 = Bel 20 ;
 
Parameters (R input):
par1 = 50 ; par2 = 50 ; par3 = Y ; par4 = Y ; par5 = Consumptiekrediet ; par6 = Zichtrekening van belg. huishoudens ; par7 = Bel 20 ;
 
R code (references can be found in the software module):
x <- array(x,dim=c(length(x),1))
colnames(x) <- par5
y <- array(y,dim=c(length(y),1))
colnames(y) <- par6
z <- array(z,dim=c(length(z),1))
colnames(z) <- par7
d <- data.frame(cbind(z,y,x))
colnames(d) <- list(par7,par6,par5)
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
if (par1>500) par1 <- 500
if (par2>500) par2 <- 500
if (par1<10) par1 <- 10
if (par2<10) par2 <- 10
library(GenKern)
library(lattice)
panel.hist <- function(x, ...)
{
usr <- par('usr'); on.exit(par(usr))
par(usr = c(usr[1:2], 0, 1.5) )
h <- hist(x, plot = FALSE)
breaks <- h$breaks; nB <- length(breaks)
y <- h$counts; y <- y/max(y)
rect(breaks[-nB], 0, breaks[-1], y, col='black', ...)
}
bitmap(file='cloud1.png')
cloud(z~x*y, screen = list(x=-45, y=45, z=35),xlab=par5,ylab=par6,zlab=par7)
dev.off()
bitmap(file='cloud2.png')
cloud(z~x*y, screen = list(x=35, y=45, z=25),xlab=par5,ylab=par6,zlab=par7)
dev.off()
bitmap(file='cloud3.png')
cloud(z~x*y, screen = list(x=35, y=-25, z=90),xlab=par5,ylab=par6,zlab=par7)
dev.off()
bitmap(file='pairs.png')
pairs(d,diag.panel=panel.hist)
dev.off()
x <- as.vector(x)
y <- as.vector(y)
z <- as.vector(z)
bitmap(file='bidensity1.png')
op <- KernSur(x,y, xgridsize=par1, ygridsize=par2, correlation=cor(x,y), xbandwidth=dpik(x), ybandwidth=dpik(y))
image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main='Bivariate Kernel Density Plot (x,y)',xlab=par5,ylab=par6)
if (par3=='Y') contour(op$xords, op$yords, op$zden, add=TRUE)
if (par4=='Y') points(x,y)
(r<-lm(y ~ x))
abline(r)
box()
dev.off()
bitmap(file='bidensity2.png')
op <- KernSur(y,z, xgridsize=par1, ygridsize=par2, correlation=cor(y,z), xbandwidth=dpik(y), ybandwidth=dpik(z))
op
image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main='Bivariate Kernel Density Plot (y,z)',xlab=par6,ylab=par7)
if (par3=='Y') contour(op$xords, op$yords, op$zden, add=TRUE)
if (par4=='Y') points(y,z)
(r<-lm(z ~ y))
abline(r)
box()
dev.off()
bitmap(file='bidensity3.png')
op <- KernSur(x,z, xgridsize=par1, ygridsize=par2, correlation=cor(x,z), xbandwidth=dpik(x), ybandwidth=dpik(z))
op
image(op$xords, op$yords, op$zden, col=terrain.colors(100), axes=TRUE,main='Bivariate Kernel Density Plot (x,z)',xlab=par5,ylab=par7)
if (par3=='Y') contour(op$xords, op$yords, op$zden, add=TRUE)
if (par4=='Y') points(x,z)
(r<-lm(z ~ x))
abline(r)
box()
dev.off()
 





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