Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_density.wasp
Title produced by softwareKernel Density Estimation
Date of computationTue, 09 Aug 2016 22:32:40 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Aug/09/t1470778511qe7zz8uy4e8q4lx.htm/, Retrieved Fri, 20 Sep 2024 23:57:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=296155, Retrieved Fri, 20 Sep 2024 23:57:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact131
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kernel Density Estimation] [] [2016-08-09 21:32:40] [3e69b53d94b342798d3f1a806941de01] [Current]
Feedback Forum

Post a new message
Dataseries X:
29 054,50 
28 543,50 
28 032,00 
27 009,50 
37 356,00 
36 844,50 
29 054,50 
23 881,50 
24 392,50 
24 392,50 
24 904,00 
25 982,00 
22 859,00 
19 731,00 
17 169,50 
17 169,50 
27 009,50 
28 032,00 
20 242,00 
11 429,50 
16 091,50 
16 091,50 
19 731,00 
21 831,50 
21 320,00 
16 091,50 
18 708,50 
17 681,00 
26 493,50 
24 392,50 
16 091,50 
9 891,00 
15 580,00 
17 169,50 
18 708,50 
20 753,50 
16 602,50 
13 019,00 
14 558,00 
15 069,00 
28 543,50 
28 543,50 
20 753,50 
19 731,00 
22 859,00 
21 320,00 
25 471,00 
30 644,00 
31 671,50 
24 392,50 
22 342,50 
20 242,00 
34 283,50 
35 311,00 
32 694,00 
35 311,00 
34 794,50 
30 644,00 
35 311,00 
40 484,00 
42 584,50 
36 333,50 
32 182,50 
35 311,00 
48 785,00 
52 936,00 
51 913,50 
53 958,00 
53 447,00 
48 274,00 
57 086,50 
59 187,00 
62 259,50 
52 936,00 
49 296,50 
53 447,00 
63 337,50 
72 150,00 
70 049,50 
70 049,50 
71 077,00 
67 488,00 
76 817,00 
76 817,00 
75 227,50 
66 410,00 
67 999,50 
69 027,00 
75 789,50 
84 602,00 
78 350,50 
81 479,00 
78 862,00 
77 328,00 
89 269,00 
86 652,00 
83 012,50 
77 839,50 
83 012,50 
85 629,50 
88 752,50 
92 903,00 
88 752,50 
91 314,00 
88 190,50 
87 679,50 
100 642,50 
101 720,50 
97 570,00 
90 291,50 
96 492,00 
99 104,00 
102 232,00 
106 894,00 
102 232,00 
105 871,50 
104 282,00 
98 592,50 
110 533,00 
110 533,00 




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ yule.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296155&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296155&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296155&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ yule.wessa.net







Properties of Density Trace
Bandwidth10511.2450214657
#Observations120

\begin{tabular}{lllllllll}
\hline
Properties of Density Trace \tabularnewline
Bandwidth & 10511.2450214657 \tabularnewline
#Observations & 120 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296155&T=1

[TABLE]
[ROW][C]Properties of Density Trace[/C][/ROW]
[ROW][C]Bandwidth[/C][C]10511.2450214657[/C][/ROW]
[ROW][C]#Observations[/C][C]120[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296155&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296155&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Properties of Density Trace
Bandwidth10511.2450214657
#Observations120







Maximum Density Values
Kernelx-valuemax. density
Gaussian24490.65769205371.6334550864513e-05
Epanechnikov25131.39925811551.52577817929211e-05
Rectangular31218.44413570281.46772286937571e-05
Triangular24490.65769205371.5702733303828e-05
Biweight24811.02847508461.55962863402957e-05
Cosine24811.02847508461.57071001652689e-05
Optcosine25451.77004114641.53589974822349e-05

\begin{tabular}{lllllllll}
\hline
Maximum Density Values \tabularnewline
Kernel & x-value & max. density \tabularnewline
Gaussian & 24490.6576920537 & 1.6334550864513e-05 \tabularnewline
Epanechnikov & 25131.3992581155 & 1.52577817929211e-05 \tabularnewline
Rectangular & 31218.4441357028 & 1.46772286937571e-05 \tabularnewline
Triangular & 24490.6576920537 & 1.5702733303828e-05 \tabularnewline
Biweight & 24811.0284750846 & 1.55962863402957e-05 \tabularnewline
Cosine & 24811.0284750846 & 1.57071001652689e-05 \tabularnewline
Optcosine & 25451.7700411464 & 1.53589974822349e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296155&T=2

[TABLE]
[ROW][C]Maximum Density Values[/C][/ROW]
[ROW][C]Kernel[/C][C]x-value[/C][C]max. density[/C][/ROW]
[ROW][C]Gaussian[/C][C]24490.6576920537[/C][C]1.6334550864513e-05[/C][/ROW]
[ROW][C]Epanechnikov[/C][C]25131.3992581155[/C][C]1.52577817929211e-05[/C][/ROW]
[ROW][C]Rectangular[/C][C]31218.4441357028[/C][C]1.46772286937571e-05[/C][/ROW]
[ROW][C]Triangular[/C][C]24490.6576920537[/C][C]1.5702733303828e-05[/C][/ROW]
[ROW][C]Biweight[/C][C]24811.0284750846[/C][C]1.55962863402957e-05[/C][/ROW]
[ROW][C]Cosine[/C][C]24811.0284750846[/C][C]1.57071001652689e-05[/C][/ROW]
[ROW][C]Optcosine[/C][C]25451.7700411464[/C][C]1.53589974822349e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296155&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296155&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Maximum Density Values
Kernelx-valuemax. density
Gaussian24490.65769205371.6334550864513e-05
Epanechnikov25131.39925811551.52577817929211e-05
Rectangular31218.44413570281.46772286937571e-05
Triangular24490.65769205371.5702733303828e-05
Biweight24811.02847508461.55962863402957e-05
Cosine24811.02847508461.57071001652689e-05
Optcosine25451.77004114641.53589974822349e-05







Kernel Density Values
x-valueGaussianEpanechnikovRectangularTriangularBiweightCosineOptcosine
Kernel Density Values are not shown

\begin{tabular}{lllllllll}
\hline
Kernel Density Values \tabularnewline
x-value & Gaussian & Epanechnikov & Rectangular & Triangular & Biweight & Cosine & Optcosine \tabularnewline
Kernel Density Values are not shown \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=296155&T=3

[TABLE]
[ROW][C]Kernel Density Values[/C][/ROW]
[ROW][C]x-value[/C][C]Gaussian[/C][C]Epanechnikov[/C][C]Rectangular[/C][C]Triangular[/C][C]Biweight[/C][C]Cosine[/C][C]Optcosine[/C][/ROW]
[ROW][C]Kernel Density Values are not shown[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=296155&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=296155&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Kernel Density Values
x-valueGaussianEpanechnikovRectangularTriangularBiweightCosineOptcosine
Kernel Density Values are not shown



Parameters (Session):
par1 = 0 ; par2 = no ; par3 = 512 ;
Parameters (R input):
par1 = 0 ; par2 = no ; par3 = 512 ;
R code (references can be found in the software module):
x <- as.matrix(read.csv(file='https://automated.biganalytics.eu/uploads/temp/Naamloos.png'));
if (par1 == '0') bw <- 'nrd0'
if (par1 != '0') bw <- as.numeric(par1)
par3 <- as.numeric(par3)
mydensity <- array(NA, dim=c(par3,8))
bitmap(file='density1.png')
mydensity1<-density(x,bw=bw,kernel='gaussian',na.rm=TRUE)
mydensity[,8] = signif(mydensity1$x,3)
mydensity[,1] = signif(mydensity1$y,3)
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)
mydensity[,2] = signif(mydensity2$y,3)
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)
mydensity[,3] = signif(mydensity3$y,3)
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)
mydensity[,4] = signif(mydensity4$y,3)
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)
mydensity[,5] = signif(mydensity5$y,3)
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)
mydensity[,6] = signif(mydensity6$y,3)
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)
mydensity[,7] = signif(mydensity7$y,3)
plot(mydensity7,main='Optcosine Kernel',xlab=xlab,ylab=ylab)
grid()
dev.off()
load(file='createtable')
ab<-table.start()
ab<-table.row.start(ab)
ab<-table.element(ab,'Properties of Density Trace',2,TRUE)
ab<-table.row.end(ab)
ab<-table.row.start(ab)
ab<-table.element(ab,'Bandwidth',header=TRUE)
ab<-table.element(ab,mydensity1$bw)
ab<-table.row.end(ab)
ab<-table.row.start(ab)
ab<-table.element(ab,'#Observations',header=TRUE)
ab<-table.element(ab,mydensity1$n)
ab<-table.row.end(ab)
ab<-table.end(ab)
a <- ab
table.save(ab,file='mytable123.tab')
b<-table.start()
b<-table.row.start(b)
b<-table.element(b,'Maximum Density Values',3,TRUE)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Kernel',1,TRUE)
b<-table.element(b,'x-value',1,TRUE)
b<-table.element(b,'max. density',1,TRUE)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Gaussian',1,TRUE)
b<-table.element(b,mydensity1$x[mydensity1$y==max(mydensity1$y)],1)
b<-table.element(b,mydensity1$y[mydensity1$y==max(mydensity1$y)],1)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Epanechnikov',1,TRUE)
b<-table.element(b,mydensity2$x[mydensity2$y==max(mydensity2$y)],1)
b<-table.element(b,mydensity2$y[mydensity2$y==max(mydensity2$y)],1)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Rectangular',1,TRUE)
b<-table.element(b,mydensity3$x[mydensity3$y==max(mydensity3$y)],1)
b<-table.element(b,mydensity3$y[mydensity3$y==max(mydensity3$y)],1)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Triangular',1,TRUE)
b<-table.element(b,mydensity4$x[mydensity4$y==max(mydensity4$y)],1)
b<-table.element(b,mydensity4$y[mydensity4$y==max(mydensity4$y)],1)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Biweight',1,TRUE)
b<-table.element(b,mydensity5$x[mydensity5$y==max(mydensity5$y)],1)
b<-table.element(b,mydensity5$y[mydensity5$y==max(mydensity5$y)],1)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Cosine',1,TRUE)
b<-table.element(b,mydensity6$x[mydensity6$y==max(mydensity6$y)],1)
b<-table.element(b,mydensity6$y[mydensity6$y==max(mydensity6$y)],1)
b<-table.row.end(b)
b<-table.row.start(b)
b<-table.element(b,'Optcosine',1,TRUE)
b<-table.element(b,mydensity7$x[mydensity7$y==max(mydensity7$y)],1)
b<-table.element(b,mydensity7$y[mydensity7$y==max(mydensity7$y)],1)
b<-table.row.end(b)
b<-table.end(b)
a <- b[1]
table.save(b,file='mytable2a.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Kernel Density Values',8,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'x-value',1,TRUE)
a<-table.element(a,'Gaussian',1,TRUE)
a<-table.element(a,'Epanechnikov',1,TRUE)
a<-table.element(a,'Rectangular',1,TRUE)
a<-table.element(a,'Triangular',1,TRUE)
a<-table.element(a,'Biweight',1,TRUE)
a<-table.element(a,'Cosine',1,TRUE)
a<-table.element(a,'Optcosine',1,TRUE)
a<-table.row.end(a)
if (par2=='yes') {
for(i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,mydensity[i,8],1,TRUE)
for(j in 1:7) {
a<-table.element(a,mydensity[i,j],1)
}
a<-table.row.end(a)
}
} else {
a<-table.row.start(a)
a<-table.element(a,'Kernel Density Values are not shown',8)
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')