Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_density.wasp
Title produced by softwareKernel Density Estimation
Date of computationThu, 29 Sep 2016 15:23:13 +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/Sep/29/t1475159010hywrd0uvsklwe0e.htm/, Retrieved Sat, 04 May 2024 22:44:53 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Sat, 04 May 2024 22:44:53 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
1.386
1.388
1.391
1.394
1.402
1.414
1.419
1.419
1.42
1.424
1.431
1.438
1.44
1.437
1.437
1.439
1.439
1.438
1.437
1.437
1.43
1.43
1.432
1.427
1.422
1.417
1.416
1.414
1.414
1.415
1.414
1.414
1.415
1.415
1.414
1.414
1.415
1.42
1.425
1.425
1.425
1.424
1.426
1.428
1.429
1.433
1.435
1.44
1.442
1.442
1.444
1.444
1.445
1.448
1.447
1.445
1.445
1.447
1.447
1.447
1.446
1.447
1.446
1.445
1.447
1.447
1.447
1.445
1.448
1.45
1.449
1.452
1.454
1.455
1.459
1.465
1.463
1.463
1.465
1.467
1.466
1.466
1.466
1.462
1.463
1.464
1.464
1.464
1.461
1.462
1.458
1.458
1.459
1.459
1.458
1.457
1.458
1.456
1.456
1.456
1.457
1.457
1.455
1.456
1.455
1.455
1.457
1.457
1.456
1.451
1.449
1.445
1.445
1.447
1.446
1.446
1.444
1.446
1.445
1.445
1.444
1.446
1.446
1.445
1.446
1.442
1.442
1.443
1.439
1.434
1.429
1.427
1.425
1.425
1.426
1.426
1.426
1.424
1.425
1.423
1.423
1.425
1.423
1.422
1.418
1.417
1.415
1.415
1.415
1.417
1.416
1.416
1.416
1.407
1.408
1.409
1.403
1.4
1.397
1.397
1.391
1.391
1.392
1.388
1.386
1.384
1.381
1.376
1.375
1.377
1.376
1.374
1.371
1.369
1.366
1.367
1.367
1.367
1.367
1.367
1.367
1.365
1.366
1.367
1.367
1.371
1.375
1.38
1.385
1.385
1.387
1.391
1.394
1.396
1.397
1.402
1.402
1.404
1.408
1.415
1.419
1.429
1.434
1.435
1.437
1.437
1.437
1.436
1.438
1.436
1.436
1.437
1.437
1.437
1.436
1.437
1.435
1.435
1.437
1.437
1.44
1.445
1.451
1.45
1.45
1.452
1.454
1.457
1.459
1.466
1.469
1.469
1.47
1.474
1.475
1.475
1.475
1.473
1.473
1.475
1.476
1.476
1.476
1.476
1.475
1.474
1.476
1.476
1.477
1.476
1.478
1.478
1.478
1.479
1.477
1.476
1.475
1.476
1.473
1.473
1.475
1.474
1.474
1.472
1.472
1.471
1.471
1.472
1.472
1.473
1.469
1.468
1.467
1.467
1.483
1.487
1.486
1.484
1.485
1.484
1.484
1.486
1.486
1.486
1.493
1.496
1.498
1.499
1.5
1.501
1.502
1.5
1.497
1.494
1.494
1.496
1.493
1.492
1.489
1.489
1.484
1.485
1.486
1.486
1.485
1.483
1.485
1.481
1.482
1.483
1.483
1.483
1.48
1.479
1.475
1.475
1.477
1.475
1.474
1.472
1.473
1.471
1.471
1.473
1.475
1.474
1.472
1.474
1.472
1.472
1.474
1.474
1.473
1.471
1.472
1.468
1.468
1.47
1.468
1.466
1.463
1.46
1.452
1.452
1.454
1.449
1.446
1.445
1.447
1.443
1.443
1.445
1.445
1.442
1.437
1.437
1.434
1.434
1.436
1.434
1.434
1.433
1.434
1.433
1.433
1.435
1.441
1.443
1.442
1.444
1.443
1.443
1.444
1.445
1.449
1.449
1.453
1.452
1.452
1.455
1.454
1.454
1.453
1.453
1.451
1.452
1.455
1.454
1.455
1.453
1.457
1.456
1.456
1.458
1.459
1.458
1.457
1.461
1.46
1.46
1.462
1.463
1.462
1.462
1.464
1.464
1.464
1.466
1.469
1.474
1.473
1.478
1.477
1.478
1.48
1.482
1.482
1.48
1.482
1.48
1.48
1.482
1.481
1.479
1.474
1.475
1.468
1.467
1.468
1.466
1.464
1.462
1.464
1.46
1.46
1.461
1.458
1.455
1.453
1.45
1.444
1.444
1.446
1.444
1.443
1.437
1.435
1.432
1.43
1.434
1.434
1.433
1.432
1.434
1.435
1.436
1.436
1.438
1.442
1.44
1.442
1.438
1.437
1.44
1.439
1.439
1.437
1.433
1.422
1.422
1.424
1.418
1.409
1.402
1.395
1.391
1.391
1.392
1.392
1.391
1.389
1.391
1.39
1.391
1.393
1.391
1.392
1.387
1.384
1.381
1.382
1.383
1.384
1.383
1.381
1.384
1.382
1.382
1.384
1.384
1.384
1.382
1.389
1.394
1.397
1.396
1.398
1.399
1.398
1.4
1.396
1.397
1.399
1.398
1.399
1.399
1.401
1.398
1.399
1.401
1.399
1.395
1.392
1.393
1.39
1.39
1.391
1.392
1.392
1.39
1.391
1.39
1.391
1.393
1.394
1.393
1.392
1.396
1.394
1.394
1.396
1.397
1.396
1.395
1.396
1.395
1.396
1.397
1.399
1.396
1.398
1.404
1.407
1.408
1.411
1.411
1.412
1.416
1.419
1.418
1.419
1.421
1.421
1.421
1.42
1.427
1.426
1.429
1.429
1.429
1.429
1.427
1.429
1.426
1.428
1.428
1.429
1.428
1.427
1.429
1.427
1.428
1.43
1.43
1.429
1.426
1.421
1.418
1.418
1.419
1.419
1.419
1.417
1.418
1.417
1.419
1.421
1.424
1.429
1.427
1.43
1.427
1.428
1.43
1.429
1.433
1.437
1.442
1.441
1.443
1.444
1.445
1.444
1.442
1.444
1.443
1.444
1.446
1.445
1.444
1.442
1.444
1.442
1.442
1.444
1.443
1.442
1.439
1.441
1.435
1.436
1.438
1.434
1.426
1.421
1.418
1.412
1.413
1.414
1.413
1.412
1.411
1.414
1.41
1.411
1.413
1.413
1.412
1.411
1.413
1.411
1.413
1.414
1.41
1.409
1.407
1.408
1.405
1.405
1.407
1.407
1.407
1.404
1.401
1.392
1.393
1.394
1.392
1.391
1.388
1.39
1.386
1.388
1.39
1.389
1.386
1.382
1.38
1.376
1.378
1.379
1.379
1.378
1.378
1.381
1.379
1.38
1.382
1.384
1.384
1.383
1.391
1.392
1.394
1.396
1.398
1.402
1.403
1.408
1.405
1.406
1.408
1.408
1.407
1.405
1.409
1.406
1.407
1.408
1.408
1.407
1.405
1.407
1.403
1.404
1.405
1.404
1.399
1.396
1.398
1.399
1.4
1.401
1.402
1.402
1.4
1.404
1.403
1.404
1.404
1.404
1.44
1.438
1.441
1.438
1.439
1.44
1.44
1.437
1.434
1.437
1.435
1.435
1.437
1.434
1.431
1.426
1.426
1.423
1.425
1.426
1.427
1.424
1.422
1.427
1.424
1.426
1.427
1.429
1.427
1.425
1.427
1.425
1.426
1.428
1.427
1.427
1.425
1.428
1.426
1.428
1.429
1.434
1.434
1.435
1.439
1.437
1.438
1.439
1.439
1.439
1.438
1.442
1.441
1.441
1.442
1.442
1.44
1.438
1.439
1.435
1.435
1.437
1.438
1.434
1.429
1.43
1.424
1.424
1.425
1.423
1.42
1.415
1.413
1.409
1.409
1.411
1.41
1.406
1.4
1.4
1.4
1.401
1.402
1.407
1.408
1.407
1.41
1.41
1.411
1.412
1.418
1.419
1.416
1.419
1.417
1.418
1.42
1.419
1.419
1.417
1.419
1.417
1.418
1.42
1.421
1.421
1.425
1.429
1.428
1.428
1.429
1.43
1.429
1.428
1.431
1.429
1.43
1.431
1.431
1.429
1.428
1.428
1.424
1.424
1.425
1.422
1.42
1.418
1.42
1.418
1.419
1.421
1.421
1.421
1.423
1.428
1.427
1.428
1.43
1.431
1.429
1.428
1.43
1.428
1.429
1.43
1.43
1.429
1.427
1.43
1.428
1.429
1.43
1.431
1.427
1.424
1.422
1.419
1.42
1.421
1.421
1.421
1.42
1.423
1.427
1.428
1.43
1.43
1.429
1.434
1.442
1.445
1.447
1.448
1.448
1.448
1.447
1.449
1.447
1.448
1.449
1.449
1.444
1.439
1.439
1.432
1.433
1.435
1.433
1.427
1.424
1.424
1.42
1.421
1.422
1.42
1.42
1.419
1.42
1.414
1.415
1.416
1.416
1.418
1.418
1.419
1.417
1.418
1.42
1.419
1.422
1.425
1.427
1.425
1.426
1.427
1.425
1.421
1.418
1.42
1.419
1.421
1.421
1.421
1.419
1.417
1.419
1.418
1.418
1.419
1.415
1.412
1.408
1.41
1.409
1.409
1.411
1.411
1.414
1.413
1.421
1.421
1.421
1.424
1.425
1.426
1.422
1.424
1.427
1.426
1.428
1.427
1.427
1.422
1.419
1.415
1.415
1.416
1.413
1.409
1.408
1.409
1.408
1.407
1.41
1.409
1.407
1.404
1.405
1.406
1.406
1.408
1.408
1.412
1.414
1.411
1.406
1.406
1.409
1.405
1.4
1.393
1.387
1.378
1.378
1.378
1.374
1.37
1.361
1.355
1.351
1.35
1.352
1.35
1.349
1.351
1.356
1.355
1.355
1.357
1.357
1.357
1.355
1.358
1.357
1.358
1.361
1.365
1.366
1.364
1.366
1.364
1.364
1.367
1.372
1.373
1.371
1.374
1.365
1.365
1.368
1.362
1.36
1.356
1.357
1.352
1.352
1.354
1.347
1.344
1.342
1.342
1.33
1.33
1.332
1.323
1.319
1.313
1.313
1.304
1.304
1.305
1.299
1.291
1.283
1.28
1.27
1.27
1.271
1.261
1.252
1.24
1.236
1.228
1.228
1.229
1.227
1.225
1.221
1.223
1.222
1.222
1.223
1.217
1.212
1.207
1.208
1.206
1.206
1.208
1.207
1.206
1.203
1.205
1.198
1.2
1.201
1.197
1.191
1.186
1.187
1.184
1.185
1.187
1.187
1.186
1.185
1.186
1.184
1.184
1.187
1.188
1.189
1.188
1.19
1.19
1.192
1.194
1.201
1.21
1.219
1.222
1.225
1.225
1.229
1.237
1.249
1.255
1.26
1.267
1.268
1.271
1.276
1.279
1.28
1.282
1.28
1.28
1.282
1.283
1.283
1.282
1.289
1.291
1.291
1.293
1.293
1.293
1.291
1.293
1.292
1.292
1.294
1.294
1.294
1.292
1.293
1.292
1.291
1.293
1.292
1.287
1.283
1.284
1.278
1.278
1.28
1.279
1.28
1.277
1.278
1.276
1.277
1.278
1.277
1.275
1.273
1.27
1.268
1.268
1.269
1.27
1.269
1.268
1.268
1.261
1.262
1.263
1.264
1.269
1.272
1.282
1.288
1.289
1.291
1.294
1.299
1.3
1.304
1.31
1.31
1.309
1.312
1.312
1.312
1.31
1.306
1.306
1.307
1.306
1.307
1.312
1.313
1.312
1.312
1.313
1.31
1.309
1.309
1.311
1.31
1.31
1.312
1.313
1.313
1.308
1.309
1.308
1.309
1.309
1.31
1.313
1.312
1.31
1.306
1.306
1.304
1.309
1.31
1.31
1.309
1.303
1.302
1.304
1.302
1.301
1.302
1.302
1.301
1.302
1.304
1.305
1.305
1.304
1.305
1.299
1.299
1.301
1.297
1.296
1.295
1.295
1.293
1.293
1.295
1.295
1.295
1.293
1.294
1.294
1.293
1.295
1.294
1.289
1.285
1.284
1.28
1.28
1.281
1.28
1.275
1.267
1.262
1.254
1.254
1.255
1.251
1.245
1.242
1.242
1.239
1.24
1.239
1.233
1.225
1.22
1.22
1.218
1.219
1.22
1.218
1.215
1.21
1.209
1.203
1.203
1.204
1.201
1.197
1.194
1.194
1.193
1.193
1.194
1.194
1.194
1.192
1.19
1.181
1.181
1.181
1.172
1.163
1.157
1.156
1.155
1.155
1.157
1.165
1.174
1.175
1.181
1.186
1.188
1.19
1.196
1.197
1.199
1.2
1.199
1.199
1.201
1.2
1.198
1.198
1.199
1.193
1.194
1.196
1.194
1.193
1.193
1.189
1.185
1.184
1.186
1.185
1.182
1.181
1.184
1.181
1.181
1.185
1.184
1.187
1.19
1.193
1.196
1.197
1.2
1.201
1.199
1.195
1.193
1.187
1.188
1.19
1.186
1.179
1.172
1.172
1.17
1.17
1.172
1.172
1.17
1.169
1.175
1.173
1.173
1.175
1.18
1.187
1.196
1.199
1.198
1.198
1.202
1.206
1.207
1.208
1.208
1.203
1.204
1.206
1.199
1.195
1.191
1.191
1.186
1.186
1.188
1.184
1.181
1.181
1.182
1.18
1.18
1.182
1.177
1.172
1.168
1.162
1.157
1.157
1.159
1.158
1.151
1.143
1.139
1.129
1.129
1.131
1.122
1.113
1.107
1.101
1.094
1.094
1.096
1.087
1.081
1.078
1.071
1.07
1.07
1.071
1.068
1.064
1.067




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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'Herman Ole Andreas Wold' @ wold.wessa.net







Properties of Density Trace
Bandwidth0.0200242275489204
#Observations1461

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
Bandwidth0.0200242275489204
#Observations1461







Maximum Density Values
Kernelx-valuemax. density
Gaussian1.42663232003158.03898413878181
Epanechnikov1.425540059042677.74788508824208
Rectangular1.424447798053847.61616762208085
Triangular1.42663232003157.91931073062903
Biweight1.42663232003157.8367858929572
Cosine1.42663232003157.86975683434157
Optcosine1.425540059042677.77232799468233

\begin{tabular}{lllllllll}
\hline
Maximum Density Values \tabularnewline
Kernel & x-value & max. density \tabularnewline
Gaussian & 1.4266323200315 & 8.03898413878181 \tabularnewline
Epanechnikov & 1.42554005904267 & 7.74788508824208 \tabularnewline
Rectangular & 1.42444779805384 & 7.61616762208085 \tabularnewline
Triangular & 1.4266323200315 & 7.91931073062903 \tabularnewline
Biweight & 1.4266323200315 & 7.8367858929572 \tabularnewline
Cosine & 1.4266323200315 & 7.86975683434157 \tabularnewline
Optcosine & 1.42554005904267 & 7.77232799468233 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]1.4266323200315[/C][C]8.03898413878181[/C][/ROW]
[ROW][C]Epanechnikov[/C][C]1.42554005904267[/C][C]7.74788508824208[/C][/ROW]
[ROW][C]Rectangular[/C][C]1.42444779805384[/C][C]7.61616762208085[/C][/ROW]
[ROW][C]Triangular[/C][C]1.4266323200315[/C][C]7.91931073062903[/C][/ROW]
[ROW][C]Biweight[/C][C]1.4266323200315[/C][C]7.8367858929572[/C][/ROW]
[ROW][C]Cosine[/C][C]1.4266323200315[/C][C]7.86975683434157[/C][/ROW]
[ROW][C]Optcosine[/C][C]1.42554005904267[/C][C]7.77232799468233[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
Gaussian1.42663232003158.03898413878181
Epanechnikov1.425540059042677.74788508824208
Rectangular1.424447798053847.61616762208085
Triangular1.42663232003157.91931073062903
Biweight1.42663232003157.8367858929572
Cosine1.42663232003157.86975683434157
Optcosine1.425540059042677.77232799468233







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=&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=&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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):
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')