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 computationMon, 08 Dec 2008 16:23:12 -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/09/t1228778655fcmtf2wq23crqkf.htm/, Retrieved Sat, 25 May 2024 01:42:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=31121, Retrieved Sat, 25 May 2024 01:42:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact192
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]
- RMPD  [Variance Reduction Matrix] [VRM] [2008-12-08 22:53:48] [8d78428855b119373cac369316c08983]
F RMP     [Spectral Analysis] [cum per] [2008-12-08 23:11:23] [8d78428855b119373cac369316c08983]
F   P         [Spectral Analysis] [stationair maken] [2008-12-08 23:23:12] [d6e9f26c3644bfc30f06303d9993b878] [Current]
Feedback Forum
2008-12-12 19:59:24 [Bas van Keken] [reply
Goed uitgevoerd alleen mis ik de uitleg. Zie reactie op de blog van part2.
2008-12-13 13:49:44 [An De Koninck] [reply
Nu is er inderdaad helemaal geen sprake meer van lange termijntrend of seizonaliteit. De tijdsreeks is dus stationair gemaakt.
Spijtig dat je geen uitleg gegeven hebt.
2008-12-15 11:56:15 [Romina Machiels] [reply
De vraag werd correct berekend, er had enkel wat meer uitleg bij gemogen.
Er is geen langetermijntrend of seizonaliteit meer.
2008-12-15 22:44:12 [df2ed12c9b09685cd516719b004050c5] [reply
zie vraag 2!

Post a new message
Dataseries X:
11703.7
16283.6
16726.5
14968.9
14861.0
14583.3
15305.8
17903.9
16379.4
15420.3
17870.5
15912.8
13866.5
17823.2
17872.0
17420.4
16704.4
15991.2
16583.6
19123.5
17838.7
17209.4
18586.5
16258.1
15141.6
19202.1
17746.5
19090.1
18040.3
17515.5
17751.8
21072.4
17170.0
19439.5
19795.4
17574.9
16165.4
19464.6
19932.1
19961.2
17343.4
18924.2
18574.1
21350.6
18594.6
19823.1
20844.4
19640.2
17735.4
19813.6
22160.0
20664.3
17877.4
21211.2
21423.1
21688.7
23243.2
21490.2
22925.8
23184.8
18562.2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=31121&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=31121&T=0

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







Raw Periodogram
ParameterValue
Box-Cox transformation parameter (lambda)1
Degree of non-seasonal differencing (d)0
Degree of seasonal differencing (D)1
Seasonal Period (s)12
Frequency (Period)Spectrum
0.02 (50)2726740.770704
0.04 (25)764592.218672
0.06 (16.6667)200619.475709
0.08 (12.5)489710.146577
0.1 (10)956742.24778
0.12 (8.3333)311843.018714
0.14 (7.1429)230069.806597
0.16 (6.25)124866.163943
0.18 (5.5556)53805.163572
0.2 (5)53833.373814
0.22 (4.5455)1205297.245893
0.24 (4.1667)240471.040675
0.26 (3.8462)280132.237259
0.28 (3.5714)548558.677291
0.3 (3.3333)589290.430074
0.32 (3.125)1907469.196436
0.34 (2.9412)4358607.903378
0.36 (2.7778)1267626.793696
0.38 (2.6316)586349.125569
0.4 (2.5)1339966.793868
0.42 (2.381)37119.430169
0.44 (2.2727)1232450.832607
0.46 (2.1739)90309.344498
0.48 (2.0833)2585838.527754
0.5 (2)1778.931362

\begin{tabular}{lllllllll}
\hline
Raw Periodogram \tabularnewline
Parameter & Value \tabularnewline
Box-Cox transformation parameter (lambda) & 1 \tabularnewline
Degree of non-seasonal differencing (d) & 0 \tabularnewline
Degree of seasonal differencing (D) & 1 \tabularnewline
Seasonal Period (s) & 12 \tabularnewline
Frequency (Period) & Spectrum \tabularnewline
0.02 (50) & 2726740.770704 \tabularnewline
0.04 (25) & 764592.218672 \tabularnewline
0.06 (16.6667) & 200619.475709 \tabularnewline
0.08 (12.5) & 489710.146577 \tabularnewline
0.1 (10) & 956742.24778 \tabularnewline
0.12 (8.3333) & 311843.018714 \tabularnewline
0.14 (7.1429) & 230069.806597 \tabularnewline
0.16 (6.25) & 124866.163943 \tabularnewline
0.18 (5.5556) & 53805.163572 \tabularnewline
0.2 (5) & 53833.373814 \tabularnewline
0.22 (4.5455) & 1205297.245893 \tabularnewline
0.24 (4.1667) & 240471.040675 \tabularnewline
0.26 (3.8462) & 280132.237259 \tabularnewline
0.28 (3.5714) & 548558.677291 \tabularnewline
0.3 (3.3333) & 589290.430074 \tabularnewline
0.32 (3.125) & 1907469.196436 \tabularnewline
0.34 (2.9412) & 4358607.903378 \tabularnewline
0.36 (2.7778) & 1267626.793696 \tabularnewline
0.38 (2.6316) & 586349.125569 \tabularnewline
0.4 (2.5) & 1339966.793868 \tabularnewline
0.42 (2.381) & 37119.430169 \tabularnewline
0.44 (2.2727) & 1232450.832607 \tabularnewline
0.46 (2.1739) & 90309.344498 \tabularnewline
0.48 (2.0833) & 2585838.527754 \tabularnewline
0.5 (2) & 1778.931362 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=31121&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]0[/C][/ROW]
[ROW][C]Degree of seasonal differencing (D)[/C][C]1[/C][/ROW]
[ROW][C]Seasonal Period (s)[/C][C]12[/C][/ROW]
[ROW][C]Frequency (Period)[/C][C]Spectrum[/C][/ROW]
[ROW][C]0.02 (50)[/C][C]2726740.770704[/C][/ROW]
[ROW][C]0.04 (25)[/C][C]764592.218672[/C][/ROW]
[ROW][C]0.06 (16.6667)[/C][C]200619.475709[/C][/ROW]
[ROW][C]0.08 (12.5)[/C][C]489710.146577[/C][/ROW]
[ROW][C]0.1 (10)[/C][C]956742.24778[/C][/ROW]
[ROW][C]0.12 (8.3333)[/C][C]311843.018714[/C][/ROW]
[ROW][C]0.14 (7.1429)[/C][C]230069.806597[/C][/ROW]
[ROW][C]0.16 (6.25)[/C][C]124866.163943[/C][/ROW]
[ROW][C]0.18 (5.5556)[/C][C]53805.163572[/C][/ROW]
[ROW][C]0.2 (5)[/C][C]53833.373814[/C][/ROW]
[ROW][C]0.22 (4.5455)[/C][C]1205297.245893[/C][/ROW]
[ROW][C]0.24 (4.1667)[/C][C]240471.040675[/C][/ROW]
[ROW][C]0.26 (3.8462)[/C][C]280132.237259[/C][/ROW]
[ROW][C]0.28 (3.5714)[/C][C]548558.677291[/C][/ROW]
[ROW][C]0.3 (3.3333)[/C][C]589290.430074[/C][/ROW]
[ROW][C]0.32 (3.125)[/C][C]1907469.196436[/C][/ROW]
[ROW][C]0.34 (2.9412)[/C][C]4358607.903378[/C][/ROW]
[ROW][C]0.36 (2.7778)[/C][C]1267626.793696[/C][/ROW]
[ROW][C]0.38 (2.6316)[/C][C]586349.125569[/C][/ROW]
[ROW][C]0.4 (2.5)[/C][C]1339966.793868[/C][/ROW]
[ROW][C]0.42 (2.381)[/C][C]37119.430169[/C][/ROW]
[ROW][C]0.44 (2.2727)[/C][C]1232450.832607[/C][/ROW]
[ROW][C]0.46 (2.1739)[/C][C]90309.344498[/C][/ROW]
[ROW][C]0.48 (2.0833)[/C][C]2585838.527754[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]1778.931362[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=31121&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=31121&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)0
Degree of seasonal differencing (D)1
Seasonal Period (s)12
Frequency (Period)Spectrum
0.02 (50)2726740.770704
0.04 (25)764592.218672
0.06 (16.6667)200619.475709
0.08 (12.5)489710.146577
0.1 (10)956742.24778
0.12 (8.3333)311843.018714
0.14 (7.1429)230069.806597
0.16 (6.25)124866.163943
0.18 (5.5556)53805.163572
0.2 (5)53833.373814
0.22 (4.5455)1205297.245893
0.24 (4.1667)240471.040675
0.26 (3.8462)280132.237259
0.28 (3.5714)548558.677291
0.3 (3.3333)589290.430074
0.32 (3.125)1907469.196436
0.34 (2.9412)4358607.903378
0.36 (2.7778)1267626.793696
0.38 (2.6316)586349.125569
0.4 (2.5)1339966.793868
0.42 (2.381)37119.430169
0.44 (2.2727)1232450.832607
0.46 (2.1739)90309.344498
0.48 (2.0833)2585838.527754
0.5 (2)1778.931362



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 1 ; par4 = 12 ;
Parameters (R input):
par1 = 1 ; par2 = 0 ; par3 = 1 ; 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')