Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
7 18 20 9 19 12 16 17 9 28 20 16 22 17 12 18 20 12 16 16 21 15 17 17 17 18 15 20 13 21 12 6 13 6 19 12 14 13 12 17 19 10 10 11 11 10 7 22 12 18 20 9 16 14 11 20 17 14 8 16 11 10 15 15 10 10 18 10 22 16 10 7 16 16 16 22 13 5 18 10 8 16 8 16 14 15 9 21 7 17 18 16 16 14 15 8 22 5 13 22 18 15 11 19 19 21 4 17 10 13 15 11 20 13 18 20 15 4 9 18 12 17 12 16 17 14 13 20 16 15 10 16 21 15 16 19 9 19 7 23 14 10 16 12 10 7 20 9 14 12 10 19 16 11 15 14 11 14 15 7 22 19 22 11 19 9 11 17 12 17 10 17 13 11 19 21 24 13 16 13 15 15 11 7 13 13 12 8 7 17 9 18 17 17 18 12 14 22 19 21 10 16 11 15 12 21 22 20 15 9 15 14 11 9 18 12 11 14 10 18 11 14 16 11 8 16 13 12 17 23 14 10 16 11 16 19 17 12 17 11 19 12 8 17 13 17 7 23 18 13 17 13 13 8 16 14 13 19 15 15 8 14 7 11 17 19 17 12 12 18 16 15 20 16 12 10 28 19 18 19 8 17 16 18 12 17 13 18 13 6 10 12 10 13 15 8 4 4 9 10 12 21 6 11 17 10 16 12 12 11 14 11 19 16 21 16 11 12 8 9 14 13 7 17 8 9 15 11 20 13 7 8 20 15 19 17 18 19 5 11 13 8 19 14 24 11 12 9 10 22 18 8 15 10 10 20 17 12 17 10 15 14 8 17 10 16 13 17 16 13 14 6 16 18 16 15 18 20 19 16 11 24 13 17 14 16 18 16 16 9 5 11 10 16 17 15 13 12 12 16 22 19 23 6 19 7 9 16 19 8 15 10 18 19 12 16 12 20 19 10 16 12 15 15 17 13 14 18 4 11 10 7 20 10 18 14 11 12 16 19 18 16 9 15 14 17 14 11 11 19 25 20 15 17 12 10 24 16 9 16 8 11 13 14 12 14 16 19 17 20 11 19 6 16 14 14 16 11 14 16 22 7 17 16 18 22 13 11 19 14 15 15 15 15 19 22 18 10
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