Home » date » 2010 » Oct » 13 »

*Unverified author*
R Software Module: /rwasp_cloud.wasp (opens new window with default values)
Title produced by software: Trivariate Scatterplots
Date of computation: Wed, 13 Oct 2010 17:55: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/Oct/13/t1286992480mx42h30ip8hs0l1.htm/, Retrieved Wed, 13 Oct 2010 19:54:40 +0200
 
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/Oct/13/t1286992480mx42h30ip8hs0l1.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 «
100 146 142 170 110 76 108 107 104 100 120 90 60 102 113 52 42 113 52 109 57 53 52 47 56 60 78 48 79 89 47 43 109 92 70 66 62 85 40 48 56 58 69 107 76 97 61 87 57 74 67 76 55 65 81 90 93 90 65 90 135 68 80 47 97 97 79 78 50 76 101 78 73 71 105 128 65
 
Dataseries Y:
» Textbox « » Textfile « » CSV «
12057 10853 10299 10818 7748 9763 11127 10659 8327 13593 12882 9957 5236 9581 12740 11174 4780 14890 6334 9177 7133 6865 8918 8704 6907 4189 8637 8409 13602 8788 5002 5167 10128 12035 10828 8923 11401 6620 3826 8192 6414 8900 9406 7235 8177 7684 3306 8026 4892 8692 11272 8640 6989 9352 12825 13608 8949 12577 11437 9266 14559 5057 9645 7241 13543 15003 6460 7502 5650 7350 9506 6728 13315 8041 10174 14769 8711
 
Dataseries Z:
» Textbox « » Textfile « » CSV «
292 208 289 146 183 279 260 279 137 311 309 261 162 202 306 405 183 219 210 200 289 239 294 371 245 189 229 240 331 206 157 184 275 286 230 233 351 156 168 343 214 303 300 143 232 182 121 186 173 292 416 246 248 297 371 442 260 236 334 310 383 151 197 283 390 405 176 181 233 187 216 196 424 255 257 232 286
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/1f10o1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/1f10o1286992505.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/2f10o1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/2f10o1286992505.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/3f10o1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/3f10o1286992505.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/48ahr1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/48ahr1286992505.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/502yc1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/502yc1286992505.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/602yc1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/602yc1286992505.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/7tbff1286992505.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Oct/13/t1286992480mx42h30ip8hs0l1/7tbff1286992505.ps (open in new window)


 
Parameters (Session):
par1 = 50 ; par2 = 50 ; par3 = Y ; par4 = Y ; par5 = Variable X ; par6 = Variable Y ; par7 = Variable Z ;
 
Parameters (R input):
par1 = 50 ; par2 = 50 ; par3 = Y ; par4 = Y ; par5 = Variable X ; par6 = Variable Y ; par7 = Variable Z ;
 
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