Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
0.22 0.22 0.2 0.21 0.21 0.19 0.19 0.18 0.18 0.19 0.18 0.17 0.17 0.17 0.18 0.2 0.2 0.2 0.22 0.23 0.25 0.25 0.27 0.29 0.3 0.31 0.33 0.31 0.33 0.33 0.35 0.37 0.47 0.45 0.45 0.4 0.34 0.35 0.34 0.35 0.36 0.37 0.36 0.35 0.36 0.33 0.3 0.28 0.28 0.28 0.3 0.32 0.32 0.3 0.3 0.31 0.33 0.34 0.31 0.33 0.35 0.38 0.4 0.32 0.29 0.3 0.3 0.32 0.32 0.32 0.32 0.32 0.33 0.31 0.33 0.35 0.37 0.37 0.38 0.42 0.42 0.49 0.45 0.41 0.4 0.42 0.47 0.49 0.47 0.52 0.56 0.57 0.61 0.52 0.5 0.5
Sample Range:
(leave blank to include all observations)
From:
To:
Smoothing Bandwidth (leave zero for default)
Display values
(?)
no
yes
Number of density points
(?)
Chart options
Label y-axis:
Label x-axis:
R Code
bitmap(file='density1.png') mydensity1<-density(x,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,kernel='epanechnikov',na.rm=TRUE) plot(mydensity2,main='Epanechnikov Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density3.png') mydensity3<-density(x,kernel='rectangular',na.rm=TRUE) plot(mydensity3,main='Rectangular Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density4.png') mydensity4<-density(x,kernel='triangular',na.rm=TRUE) plot(mydensity4,main='Triangular Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density5.png') mydensity5<-density(x,kernel='biweight',na.rm=TRUE) plot(mydensity5,main='Biweight Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density6.png') mydensity6<-density(x,kernel='cosine',na.rm=TRUE) plot(mydensity6,main='Cosine Kernel',xlab=xlab,ylab=ylab) grid() dev.off() bitmap(file='density7.png') mydensity7<-density(x,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
1 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation