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 computationTue, 29 Dec 2009 04:24:14 -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/2009/Dec/29/t12620859022wy368vt5joviqt.htm/, Retrieved Fri, 03 May 2024 06:36:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71098, Retrieved Fri, 03 May 2024 06:36:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact168
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Spectral Analysis] [spectraal w] [2009-12-29 11:24:14] [f47dffd5f5a8c03c3681db4cc9472742] [Current]
Feedback Forum

Post a new message
Dataseries X:
286.445
288.576
293.299
295.881
292.710
271.993
267.430
273.963
273.046
268.347
264.319
255.765
246.263
245.098
246.969
248.333
247.934
226.839
225.554
237.085
237.080
245.039
248.541
247.105
243.422
250.643
254.663
260.993
258.556
235.372
246.057
253.353
255.198
264.176
269.034
265.861
269.826
278.506
292.300
290.726
289.802
271.311
274.352
275.216
276.836
280.408
280.190
282.656
281.477
288.186
292.300
291.186
287.259
264.993
267.140
270.150
275.037
277.103
277.128




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71098&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]2 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=71098&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71098&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 time2 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)0
Seasonal Period (s)12
Frequency (Period)Spectrum
0.0167 (60)4188.389199
0.0333 (30)1588.626723
0.05 (20)624.99946
0.0667 (15)514.303082
0.0833 (12)507.6764
0.1 (10)2.347739
0.1167 (8.5714)27.444638
0.1333 (7.5)12.401095
0.15 (6.6667)12.216638
0.1667 (6)799.878102
0.1833 (5.4545)13.851349
0.2 (5)1.187435
0.2167 (4.6154)2.082464
0.2333 (4.2857)8.547259
0.25 (4)124.15802
0.2667 (3.75)22.64961
0.2833 (3.5294)1.886069
0.3 (3.3333)3.471894
0.3167 (3.1579)0.69682
0.3333 (3)94.898097
0.35 (2.8571)14.299932
0.3667 (2.7273)5.349211
0.3833 (2.6087)0.775942
0.4 (2.5)0.530071
0.4167 (2.4)56.132092
0.4333 (2.3077)3.450076
0.45 (2.2222)4.242119
0.4667 (2.1429)3.644819
0.4833 (2.069)3.945668
0.5 (2)21.616232

\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) & 0 \tabularnewline
Seasonal Period (s) & 12 \tabularnewline
Frequency (Period) & Spectrum \tabularnewline
0.0167 (60) & 4188.389199 \tabularnewline
0.0333 (30) & 1588.626723 \tabularnewline
0.05 (20) & 624.99946 \tabularnewline
0.0667 (15) & 514.303082 \tabularnewline
0.0833 (12) & 507.6764 \tabularnewline
0.1 (10) & 2.347739 \tabularnewline
0.1167 (8.5714) & 27.444638 \tabularnewline
0.1333 (7.5) & 12.401095 \tabularnewline
0.15 (6.6667) & 12.216638 \tabularnewline
0.1667 (6) & 799.878102 \tabularnewline
0.1833 (5.4545) & 13.851349 \tabularnewline
0.2 (5) & 1.187435 \tabularnewline
0.2167 (4.6154) & 2.082464 \tabularnewline
0.2333 (4.2857) & 8.547259 \tabularnewline
0.25 (4) & 124.15802 \tabularnewline
0.2667 (3.75) & 22.64961 \tabularnewline
0.2833 (3.5294) & 1.886069 \tabularnewline
0.3 (3.3333) & 3.471894 \tabularnewline
0.3167 (3.1579) & 0.69682 \tabularnewline
0.3333 (3) & 94.898097 \tabularnewline
0.35 (2.8571) & 14.299932 \tabularnewline
0.3667 (2.7273) & 5.349211 \tabularnewline
0.3833 (2.6087) & 0.775942 \tabularnewline
0.4 (2.5) & 0.530071 \tabularnewline
0.4167 (2.4) & 56.132092 \tabularnewline
0.4333 (2.3077) & 3.450076 \tabularnewline
0.45 (2.2222) & 4.242119 \tabularnewline
0.4667 (2.1429) & 3.644819 \tabularnewline
0.4833 (2.069) & 3.945668 \tabularnewline
0.5 (2) & 21.616232 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71098&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]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.0167 (60)[/C][C]4188.389199[/C][/ROW]
[ROW][C]0.0333 (30)[/C][C]1588.626723[/C][/ROW]
[ROW][C]0.05 (20)[/C][C]624.99946[/C][/ROW]
[ROW][C]0.0667 (15)[/C][C]514.303082[/C][/ROW]
[ROW][C]0.0833 (12)[/C][C]507.6764[/C][/ROW]
[ROW][C]0.1 (10)[/C][C]2.347739[/C][/ROW]
[ROW][C]0.1167 (8.5714)[/C][C]27.444638[/C][/ROW]
[ROW][C]0.1333 (7.5)[/C][C]12.401095[/C][/ROW]
[ROW][C]0.15 (6.6667)[/C][C]12.216638[/C][/ROW]
[ROW][C]0.1667 (6)[/C][C]799.878102[/C][/ROW]
[ROW][C]0.1833 (5.4545)[/C][C]13.851349[/C][/ROW]
[ROW][C]0.2 (5)[/C][C]1.187435[/C][/ROW]
[ROW][C]0.2167 (4.6154)[/C][C]2.082464[/C][/ROW]
[ROW][C]0.2333 (4.2857)[/C][C]8.547259[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]124.15802[/C][/ROW]
[ROW][C]0.2667 (3.75)[/C][C]22.64961[/C][/ROW]
[ROW][C]0.2833 (3.5294)[/C][C]1.886069[/C][/ROW]
[ROW][C]0.3 (3.3333)[/C][C]3.471894[/C][/ROW]
[ROW][C]0.3167 (3.1579)[/C][C]0.69682[/C][/ROW]
[ROW][C]0.3333 (3)[/C][C]94.898097[/C][/ROW]
[ROW][C]0.35 (2.8571)[/C][C]14.299932[/C][/ROW]
[ROW][C]0.3667 (2.7273)[/C][C]5.349211[/C][/ROW]
[ROW][C]0.3833 (2.6087)[/C][C]0.775942[/C][/ROW]
[ROW][C]0.4 (2.5)[/C][C]0.530071[/C][/ROW]
[ROW][C]0.4167 (2.4)[/C][C]56.132092[/C][/ROW]
[ROW][C]0.4333 (2.3077)[/C][C]3.450076[/C][/ROW]
[ROW][C]0.45 (2.2222)[/C][C]4.242119[/C][/ROW]
[ROW][C]0.4667 (2.1429)[/C][C]3.644819[/C][/ROW]
[ROW][C]0.4833 (2.069)[/C][C]3.945668[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]21.616232[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71098&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71098&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)0
Seasonal Period (s)12
Frequency (Period)Spectrum
0.0167 (60)4188.389199
0.0333 (30)1588.626723
0.05 (20)624.99946
0.0667 (15)514.303082
0.0833 (12)507.6764
0.1 (10)2.347739
0.1167 (8.5714)27.444638
0.1333 (7.5)12.401095
0.15 (6.6667)12.216638
0.1667 (6)799.878102
0.1833 (5.4545)13.851349
0.2 (5)1.187435
0.2167 (4.6154)2.082464
0.2333 (4.2857)8.547259
0.25 (4)124.15802
0.2667 (3.75)22.64961
0.2833 (3.5294)1.886069
0.3 (3.3333)3.471894
0.3167 (3.1579)0.69682
0.3333 (3)94.898097
0.35 (2.8571)14.299932
0.3667 (2.7273)5.349211
0.3833 (2.6087)0.775942
0.4 (2.5)0.530071
0.4167 (2.4)56.132092
0.4333 (2.3077)3.450076
0.45 (2.2222)4.242119
0.4667 (2.1429)3.644819
0.4833 (2.069)3.945668
0.5 (2)21.616232



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