Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data:
5.10 5.21 5.31 5.34 5.44 5.47 5.60 5.68 5.76 6.03 6.14 6.54 6.50 6.43 6.93 6.77 6.58 6.55 6.41 6.28 6.18 6.35 6.17 6.04 5.68 5.43 5.43 5.38 5.28 5.33 5.35 5.31 5.24 5.12 5.04 5.03 4.98 4.98 5.09 5.12 5.07 5.05 5.05 5.05 5.03 5.11 5.19 5.14 4.97 4.94 4.93 4.92 4.90 4.90 4.82 4.81 4.72 4.54 4.51 4.30 4.08 4.05 4.03 3.85 3.80 3.91 3.99 4.08 5.15 4.78 4.79 4.79 4.69 4.82 4.98 5.12 5.55 5.65 5.66 5.74 5.76 5.91 5.92 5.74 5.25 5.06 4.84 4.66 4.38 4.14 4.11 3.96 3.51 3.00 2.75 2.63 2.58 2.63 2.69 2.69 2.69 2.67 2.63 2.57 2.56 2.52 2.29 2.18 2.10 2.02 1.91 1.92 1.85 1.64 1.62 1.64 1.65 1.65 1.67 1.66 1.61 1.59 1.57 1.60 1.67 1.81 1.88 1.92 2.01 2.12 2.24 2.34 2.41 2.48 2.59 2.65 2.70 2.77 2.87 2.97 3.03 3.19 3.36 3.48 3.56 3.68 3.82 3.93 4.04 4.19 4.30 4.33 4.36 4.44 4.49 4.52
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
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