Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
20 16 19 9 22 24 13 15 21 17 18 25 12 16 23 19 18 23 16 16 25 12 20 19 22 12 17 18 24 18 18 23 21 21 28 17 21 18 17 18 14 20 14 17 21 23 24 21 14 24 16 21 8 17 17 16 22 21 20 8 11 13 18 19 22 11 14 21 21 18 21 23 20 21 18 19 18 18 19 18 11 20 20 21 12 15 18 14 18 16 19 7 21 24 21 20 22 17 19 20 20 16 20 19 18 20 24 18 15 18 18 18 19 20 11 16 15 21 19 19 17 25 14 19 20 20 18 18 19 22 24 18 22 18 21 21 20 20 24 19 16 21 22 19 23 22 15 21 16 18 20 25 18 11 17 22 20 21 22 20 21 15 28 20 19 21 20 13 19 21 21 24 23 20 24 18 17 21 27 12 24 18 18 24 18 15 22 17 20 8 12 24 16 19 16 15 28 21 18 22 22 25 16 19 26 20 19 23 18 21 20 15 19 19 20 19 18 17 8 22 14 21 20 18 24 19 16 16 15 15 14 16 26 18 17 6 22 20 17 20 23 18 13 22 20 20 13 16 16 15 19 19 24 9 22 15 22 22 24 21 25 26 21 14 28 21 16 16 25 21 22 9 24 22 10 22 21 20 17 7 14 23 18 17 20 19 19 23 20 19 16 21 20 20 19 19 20 22 19 23 16 18 23 20 23 13 26 13 10 21 24 21 23 16 26 16 19 19 24 7 17 23 23 21 18 4 27 18 15 14 14 17 20 16 16 11 21 10 18 18 21 16 15 17 15 12 20 20 18 21 22 21 25 12 22 24 17 20 19 25 27 17 17 24 18 27 23 21 25 18 22 24 23 24 16 16 18 17 21 15 19 18 14 20 19 22 22 20 22 21 19 24 17 22 24 20 20 19 13 22 20 21 21 15 20 23 18 23 18 10 17 13 20 18 19 21 19 22 21 20 23 18 15 19 16 17 26 23 8 19 20 21 16 17 17 18 19 19 24 22
Sample Range:
(leave blank to include all observations)
From:
To:
Smoothing Bandwidth (leave zero for default)
Display values
(?)
no
no
yes
Number of density points
(?)
Chart options
Label y-axis:
Label x-axis:
R Code
if (par1 == '0') bw <- 'nrd0' if (par1 != '0') bw <- as.numeric(par1) bitmap(file='density1.png') mydensity1<-density(x,bw=bw,kernel='gaussian',na.rm=TRUE) plot(mydensity1,main='Gaussian Kernel',xlab=xlab,ylab=ylab) grid() dev.off() mydensity1 bitmap(file='density2.png') mydensity2<-density(x,bw=bw,kernel='epanechnikov',na.rm=TRUE) plot(mydensity2,main='Epanechnikov Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density3.png') mydensity3<-density(x,bw=bw,kernel='rectangular',na.rm=TRUE) plot(mydensity3,main='Rectangular Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density4.png') mydensity4<-density(x,bw=bw,kernel='triangular',na.rm=TRUE) plot(mydensity4,main='Triangular Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density5.png') mydensity5<-density(x,bw=bw,kernel='biweight',na.rm=TRUE) plot(mydensity5,main='Biweight Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density6.png') mydensity6<-density(x,bw=bw,kernel='cosine',na.rm=TRUE) plot(mydensity6,main='Cosine Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density7.png') mydensity7<-density(x,bw=bw,kernel='optcosine',na.rm=TRUE) plot(mydensity7,main='Optcosine Kernel',xlab=xlab,ylab=ylab) grid() dev.off() load(file='createtable') a<-table.start() a<-table.row.start(a) a<-table.element(a,'Properties of Density Trace',2,TRUE) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'Bandwidth',header=TRUE) a<-table.element(a,mydensity1$bw) a<-table.row.end(a) a<-table.row.start(a) a<-table.element(a,'#Observations',header=TRUE) a<-table.element(a,mydensity1$n) a<-table.row.end(a) a<-table.end(a) table.save(a,file='mytable.tab')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation