Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_spectrum.wasp
Title produced by softwareSpectral Analysis
Date of computationSat, 06 Dec 2008 11:06:54 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/06/t1228586920if9xqzvmn8ul08x.htm/, Retrieved Sun, 19 May 2024 09:23:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=29783, Retrieved Sun, 19 May 2024 09:23:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact242
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
F RMP   [Variance Reduction Matrix] [step 2] [2008-12-06 09:12:19] [9f5bfe3b95f9ec3d2ed4c0a560a9648a]
F RMPD      [Spectral Analysis] [step 2] [2008-12-06 18:06:54] [a9e6d7cd6e144e8b311d9f96a24c5a25] [Current]
Feedback Forum
2008-12-16 19:04:37 [Kevin Vermeiren] [reply
Het klopt inderdaad dat door te differentiëren met parameter d=1 de lange termijn trend uit de reeks is verdwenen. De student had nog mogen vermelden dat dit te zien is doordat er nu geen steil begin meer is van de curve. Verder vermeldt de student goed dat er nog een duidelijke seizoenaliteit aanwezig is. Ook hier had gezegd moeten worden hoe dit te zien is. We zien dit doordat de grafiek een trapsgewijs verloop representeert. Om deze uitgesproken seizoenaliteit te verwijderen dienen we te differentiëren met D=1.

Post a new message
Dataseries X:
2648.9
2669.6
3042.3
2604.2
2732.1
2621.7
2483.7
2479.3
2684.6
2834.7
2566.1
2251.2
2350
2299.8
2542.8
2530.2
2508.1
2616.8
2534.1
2181.8
2578.9
2841.9
2529.9
2103.2
2326.2
2452.6
2782.1
2727.3
2648.2
2760.7
2613
2225.4
2713.9
2923.3
2707
2473.9
2521
2531.8
3068.8
2826.9
2674.2
2966.6
2798.8
2629.6
3124.6
3115.7
3083
2863.9
2728.7
2789.4
3225.7
3148.2
2836.5
3153.5
2656.9
2834.7
3172.5
2998.8
3103.1
2735.6
2818.1
2874.4
3438.5
2949.1
3306.8
3530
3003.8
3206.4
3514.6
3522.6
3525.5
2996.2
3231.1
3030
3541.7
3113.2
3390.8
3424.2
3079.8
3123.4
3317.1
3579.9
3317.9
2668.1
3609.2
3535.2
3644.7
3925.7
3663.2
3905.3
3990
3695.8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 1 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29783&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29783&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=29783&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 time1 seconds
R Server'George Udny Yule' @ 72.249.76.132







Raw Periodogram
ParameterValue
Box-Cox transformation parameter (lambda)1
Degree of non-seasonal differencing (d)1
Degree of seasonal differencing (D)0
Seasonal Period (s)12
Frequency (Period)Spectrum
0.0104 (96)571.142517
0.0208 (48)1901.000856
0.0312 (32)4203.694857
0.0417 (24)11265.914353
0.0521 (19.2)5434.760547
0.0625 (16)31.951067
0.0729 (13.7143)1.933881
0.0833 (12)21487.001661
0.0938 (10.6667)278.357215
0.1042 (9.6)16133.403023
0.1146 (8.7273)17573.708685
0.125 (8)610.009688
0.1354 (7.3846)840.412851
0.1458 (6.8571)6770.948998
0.1562 (6.4)16950.951514
0.1667 (6)607799.075443
0.1771 (5.6471)39137.070745
0.1875 (5.3333)25957.476908
0.1979 (5.0526)29513.05783
0.2083 (4.8)26395.349801
0.2187 (4.5714)3854.787076
0.2292 (4.3636)82364.017439
0.2396 (4.1739)35209.04196
0.25 (4)681306.211983
0.2604 (3.84)40813.907521
0.2708 (3.6923)79011.403438
0.2812 (3.5556)10657.970977
0.2917 (3.4286)10302.639776
0.3021 (3.3103)98235.345755
0.3125 (3.2)64394.867743
0.3229 (3.0968)24097.402405
0.3333 (3)280666.512696
0.3438 (2.9091)553449.091528
0.3542 (2.8235)89317.719994
0.3646 (2.7429)33729.815282
0.375 (2.6667)22750.318192
0.3854 (2.5946)79222.093077
0.3958 (2.5263)44321.795614
0.4062 (2.4615)78330.244395
0.4167 (2.4)442507.989592
0.4271 (2.3415)219205.368155
0.4375 (2.2857)32549.482148
0.4479 (2.2326)18411.078748
0.4583 (2.1818)13070.334281
0.4688 (2.1333)11816.827904
0.4792 (2.087)93233.232345
0.4896 (2.0426)26678.890447
0.5 (2)529229.598314

\begin{tabular}{lllllllll}
\hline
Raw Periodogram \tabularnewline
Parameter & Value \tabularnewline
Box-Cox transformation parameter (lambda) & 1 \tabularnewline
Degree of non-seasonal differencing (d) & 1 \tabularnewline
Degree of seasonal differencing (D) & 0 \tabularnewline
Seasonal Period (s) & 12 \tabularnewline
Frequency (Period) & Spectrum \tabularnewline
0.0104 (96) & 571.142517 \tabularnewline
0.0208 (48) & 1901.000856 \tabularnewline
0.0312 (32) & 4203.694857 \tabularnewline
0.0417 (24) & 11265.914353 \tabularnewline
0.0521 (19.2) & 5434.760547 \tabularnewline
0.0625 (16) & 31.951067 \tabularnewline
0.0729 (13.7143) & 1.933881 \tabularnewline
0.0833 (12) & 21487.001661 \tabularnewline
0.0938 (10.6667) & 278.357215 \tabularnewline
0.1042 (9.6) & 16133.403023 \tabularnewline
0.1146 (8.7273) & 17573.708685 \tabularnewline
0.125 (8) & 610.009688 \tabularnewline
0.1354 (7.3846) & 840.412851 \tabularnewline
0.1458 (6.8571) & 6770.948998 \tabularnewline
0.1562 (6.4) & 16950.951514 \tabularnewline
0.1667 (6) & 607799.075443 \tabularnewline
0.1771 (5.6471) & 39137.070745 \tabularnewline
0.1875 (5.3333) & 25957.476908 \tabularnewline
0.1979 (5.0526) & 29513.05783 \tabularnewline
0.2083 (4.8) & 26395.349801 \tabularnewline
0.2187 (4.5714) & 3854.787076 \tabularnewline
0.2292 (4.3636) & 82364.017439 \tabularnewline
0.2396 (4.1739) & 35209.04196 \tabularnewline
0.25 (4) & 681306.211983 \tabularnewline
0.2604 (3.84) & 40813.907521 \tabularnewline
0.2708 (3.6923) & 79011.403438 \tabularnewline
0.2812 (3.5556) & 10657.970977 \tabularnewline
0.2917 (3.4286) & 10302.639776 \tabularnewline
0.3021 (3.3103) & 98235.345755 \tabularnewline
0.3125 (3.2) & 64394.867743 \tabularnewline
0.3229 (3.0968) & 24097.402405 \tabularnewline
0.3333 (3) & 280666.512696 \tabularnewline
0.3438 (2.9091) & 553449.091528 \tabularnewline
0.3542 (2.8235) & 89317.719994 \tabularnewline
0.3646 (2.7429) & 33729.815282 \tabularnewline
0.375 (2.6667) & 22750.318192 \tabularnewline
0.3854 (2.5946) & 79222.093077 \tabularnewline
0.3958 (2.5263) & 44321.795614 \tabularnewline
0.4062 (2.4615) & 78330.244395 \tabularnewline
0.4167 (2.4) & 442507.989592 \tabularnewline
0.4271 (2.3415) & 219205.368155 \tabularnewline
0.4375 (2.2857) & 32549.482148 \tabularnewline
0.4479 (2.2326) & 18411.078748 \tabularnewline
0.4583 (2.1818) & 13070.334281 \tabularnewline
0.4688 (2.1333) & 11816.827904 \tabularnewline
0.4792 (2.087) & 93233.232345 \tabularnewline
0.4896 (2.0426) & 26678.890447 \tabularnewline
0.5 (2) & 529229.598314 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=29783&T=1

[TABLE]
[ROW][C]Raw Periodogram[/C][/ROW]
[ROW][C]Parameter[/C][C]Value[/C][/ROW]
[ROW][C]Box-Cox transformation parameter (lambda)[/C][C]1[/C][/ROW]
[ROW][C]Degree of non-seasonal differencing (d)[/C][C]1[/C][/ROW]
[ROW][C]Degree of seasonal differencing (D)[/C][C]0[/C][/ROW]
[ROW][C]Seasonal Period (s)[/C][C]12[/C][/ROW]
[ROW][C]Frequency (Period)[/C][C]Spectrum[/C][/ROW]
[ROW][C]0.0104 (96)[/C][C]571.142517[/C][/ROW]
[ROW][C]0.0208 (48)[/C][C]1901.000856[/C][/ROW]
[ROW][C]0.0312 (32)[/C][C]4203.694857[/C][/ROW]
[ROW][C]0.0417 (24)[/C][C]11265.914353[/C][/ROW]
[ROW][C]0.0521 (19.2)[/C][C]5434.760547[/C][/ROW]
[ROW][C]0.0625 (16)[/C][C]31.951067[/C][/ROW]
[ROW][C]0.0729 (13.7143)[/C][C]1.933881[/C][/ROW]
[ROW][C]0.0833 (12)[/C][C]21487.001661[/C][/ROW]
[ROW][C]0.0938 (10.6667)[/C][C]278.357215[/C][/ROW]
[ROW][C]0.1042 (9.6)[/C][C]16133.403023[/C][/ROW]
[ROW][C]0.1146 (8.7273)[/C][C]17573.708685[/C][/ROW]
[ROW][C]0.125 (8)[/C][C]610.009688[/C][/ROW]
[ROW][C]0.1354 (7.3846)[/C][C]840.412851[/C][/ROW]
[ROW][C]0.1458 (6.8571)[/C][C]6770.948998[/C][/ROW]
[ROW][C]0.1562 (6.4)[/C][C]16950.951514[/C][/ROW]
[ROW][C]0.1667 (6)[/C][C]607799.075443[/C][/ROW]
[ROW][C]0.1771 (5.6471)[/C][C]39137.070745[/C][/ROW]
[ROW][C]0.1875 (5.3333)[/C][C]25957.476908[/C][/ROW]
[ROW][C]0.1979 (5.0526)[/C][C]29513.05783[/C][/ROW]
[ROW][C]0.2083 (4.8)[/C][C]26395.349801[/C][/ROW]
[ROW][C]0.2187 (4.5714)[/C][C]3854.787076[/C][/ROW]
[ROW][C]0.2292 (4.3636)[/C][C]82364.017439[/C][/ROW]
[ROW][C]0.2396 (4.1739)[/C][C]35209.04196[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]681306.211983[/C][/ROW]
[ROW][C]0.2604 (3.84)[/C][C]40813.907521[/C][/ROW]
[ROW][C]0.2708 (3.6923)[/C][C]79011.403438[/C][/ROW]
[ROW][C]0.2812 (3.5556)[/C][C]10657.970977[/C][/ROW]
[ROW][C]0.2917 (3.4286)[/C][C]10302.639776[/C][/ROW]
[ROW][C]0.3021 (3.3103)[/C][C]98235.345755[/C][/ROW]
[ROW][C]0.3125 (3.2)[/C][C]64394.867743[/C][/ROW]
[ROW][C]0.3229 (3.0968)[/C][C]24097.402405[/C][/ROW]
[ROW][C]0.3333 (3)[/C][C]280666.512696[/C][/ROW]
[ROW][C]0.3438 (2.9091)[/C][C]553449.091528[/C][/ROW]
[ROW][C]0.3542 (2.8235)[/C][C]89317.719994[/C][/ROW]
[ROW][C]0.3646 (2.7429)[/C][C]33729.815282[/C][/ROW]
[ROW][C]0.375 (2.6667)[/C][C]22750.318192[/C][/ROW]
[ROW][C]0.3854 (2.5946)[/C][C]79222.093077[/C][/ROW]
[ROW][C]0.3958 (2.5263)[/C][C]44321.795614[/C][/ROW]
[ROW][C]0.4062 (2.4615)[/C][C]78330.244395[/C][/ROW]
[ROW][C]0.4167 (2.4)[/C][C]442507.989592[/C][/ROW]
[ROW][C]0.4271 (2.3415)[/C][C]219205.368155[/C][/ROW]
[ROW][C]0.4375 (2.2857)[/C][C]32549.482148[/C][/ROW]
[ROW][C]0.4479 (2.2326)[/C][C]18411.078748[/C][/ROW]
[ROW][C]0.4583 (2.1818)[/C][C]13070.334281[/C][/ROW]
[ROW][C]0.4688 (2.1333)[/C][C]11816.827904[/C][/ROW]
[ROW][C]0.4792 (2.087)[/C][C]93233.232345[/C][/ROW]
[ROW][C]0.4896 (2.0426)[/C][C]26678.890447[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]529229.598314[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=29783&T=1

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

As an alternative you can also use a QR Code:  

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

Raw Periodogram
ParameterValue
Box-Cox transformation parameter (lambda)1
Degree of non-seasonal differencing (d)1
Degree of seasonal differencing (D)0
Seasonal Period (s)12
Frequency (Period)Spectrum
0.0104 (96)571.142517
0.0208 (48)1901.000856
0.0312 (32)4203.694857
0.0417 (24)11265.914353
0.0521 (19.2)5434.760547
0.0625 (16)31.951067
0.0729 (13.7143)1.933881
0.0833 (12)21487.001661
0.0938 (10.6667)278.357215
0.1042 (9.6)16133.403023
0.1146 (8.7273)17573.708685
0.125 (8)610.009688
0.1354 (7.3846)840.412851
0.1458 (6.8571)6770.948998
0.1562 (6.4)16950.951514
0.1667 (6)607799.075443
0.1771 (5.6471)39137.070745
0.1875 (5.3333)25957.476908
0.1979 (5.0526)29513.05783
0.2083 (4.8)26395.349801
0.2187 (4.5714)3854.787076
0.2292 (4.3636)82364.017439
0.2396 (4.1739)35209.04196
0.25 (4)681306.211983
0.2604 (3.84)40813.907521
0.2708 (3.6923)79011.403438
0.2812 (3.5556)10657.970977
0.2917 (3.4286)10302.639776
0.3021 (3.3103)98235.345755
0.3125 (3.2)64394.867743
0.3229 (3.0968)24097.402405
0.3333 (3)280666.512696
0.3438 (2.9091)553449.091528
0.3542 (2.8235)89317.719994
0.3646 (2.7429)33729.815282
0.375 (2.6667)22750.318192
0.3854 (2.5946)79222.093077
0.3958 (2.5263)44321.795614
0.4062 (2.4615)78330.244395
0.4167 (2.4)442507.989592
0.4271 (2.3415)219205.368155
0.4375 (2.2857)32549.482148
0.4479 (2.2326)18411.078748
0.4583 (2.1818)13070.334281
0.4688 (2.1333)11816.827904
0.4792 (2.087)93233.232345
0.4896 (2.0426)26678.890447
0.5 (2)529229.598314



Parameters (Session):
par1 = 1 ; par2 = 1 ; par3 = 0 ; par4 = 12 ;
Parameters (R input):
par1 = 1 ; par2 = 1 ; par3 = 0 ; par4 = 12 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
if (par1 == 0) {
x <- log(x)
} else {
x <- (x ^ par1 - 1) / par1
}
if (par2 > 0) x <- diff(x,lag=1,difference=par2)
if (par3 > 0) x <- diff(x,lag=par4,difference=par3)
bitmap(file='test1.png')
r <- spectrum(x,main='Raw Periodogram')
dev.off()
bitmap(file='test2.png')
cpgram(x,main='Cumulative Periodogram')
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Raw Periodogram',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Box-Cox transformation parameter (lambda)',header=TRUE)
a<-table.element(a,par1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of non-seasonal differencing (d)',header=TRUE)
a<-table.element(a,par2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of seasonal differencing (D)',header=TRUE)
a<-table.element(a,par3)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Seasonal Period (s)',header=TRUE)
a<-table.element(a,par4)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Frequency (Period)',header=TRUE)
a<-table.element(a,'Spectrum',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(r$freq)) {
a<-table.row.start(a)
mylab <- round(r$freq[i],4)
mylab <- paste(mylab,' (',sep='')
mylab <- paste(mylab,round(1/r$freq[i],4),sep='')
mylab <- paste(mylab,')',sep='')
a<-table.element(a,mylab,header=TRUE)
a<-table.element(a,round(r$spec[i],6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')