Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_spectrum.wasp
Title produced by softwareSpectral Analysis
Date of computationThu, 29 Nov 2007 09:30:52 -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/2007/Nov/29/t11963532368u6z474tmm0jtej.htm/, Retrieved Fri, 03 May 2024 14:00:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7542, Retrieved Fri, 03 May 2024 14:00:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsChristel Stuer, Steven Coomans
Estimated Impact240
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Spectral Analysis] [WS4 - Q2 - method...] [2007-11-29 16:30:52] [7071e8240f1069aec69cdda95d3fa1f8] [Current]
Feedback Forum

Post a new message
Dataseries X:
118,4
108,1
105,4
114,6
106,9
115,9
109,8
101,8
114,2
110,8
108,4
127,5
128,6
116,6
127,4
105
108,3
125
111,6
106,5
130,3
115
116,1
134
126,5
125,8
136,4
114,9
110,9
125,5
116,8
116,8
125,5
104,2
115,1
132,8
123,3
124,8
122
117,4
117,9
137,4
114,6
124,7
129,6
109,4
120,9
134,9
136,3
133,2
127,2
122,7
120,5
137,8
119,1
124,3
134,4
121,7
121
128,6




Summary of compuational 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 compuational 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=7542&T=0

[TABLE]
[ROW][C]Summary of compuational 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=7542&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7542&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 compuational 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.0208 (48)87.578398
0.0417 (24)148.100847
0.0625 (16)51.028615
0.0833 (12)2.427727
0.1042 (9.6)49.473577
0.125 (8)9.461858
0.1458 (6.8571)35.867751
0.1667 (6)9.935474
0.1875 (5.3333)49.152479
0.2083 (4.8)45.618204
0.2292 (4.3636)140.933653
0.25 (4)3.395823
0.2708 (3.6923)3.691017
0.2917 (3.4286)58.679225
0.3125 (3.2)11.190456
0.3333 (3)26.333588
0.3542 (2.8235)141.072652
0.375 (2.6667)38.294554
0.3958 (2.5263)5.488298
0.4167 (2.4)5.674539
0.4375 (2.2857)54.730034
0.4583 (2.1818)0.206148
0.4792 (2.087)53.882563
0.5 (2)1.397131

\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.0208 (48) & 87.578398 \tabularnewline
0.0417 (24) & 148.100847 \tabularnewline
0.0625 (16) & 51.028615 \tabularnewline
0.0833 (12) & 2.427727 \tabularnewline
0.1042 (9.6) & 49.473577 \tabularnewline
0.125 (8) & 9.461858 \tabularnewline
0.1458 (6.8571) & 35.867751 \tabularnewline
0.1667 (6) & 9.935474 \tabularnewline
0.1875 (5.3333) & 49.152479 \tabularnewline
0.2083 (4.8) & 45.618204 \tabularnewline
0.2292 (4.3636) & 140.933653 \tabularnewline
0.25 (4) & 3.395823 \tabularnewline
0.2708 (3.6923) & 3.691017 \tabularnewline
0.2917 (3.4286) & 58.679225 \tabularnewline
0.3125 (3.2) & 11.190456 \tabularnewline
0.3333 (3) & 26.333588 \tabularnewline
0.3542 (2.8235) & 141.072652 \tabularnewline
0.375 (2.6667) & 38.294554 \tabularnewline
0.3958 (2.5263) & 5.488298 \tabularnewline
0.4167 (2.4) & 5.674539 \tabularnewline
0.4375 (2.2857) & 54.730034 \tabularnewline
0.4583 (2.1818) & 0.206148 \tabularnewline
0.4792 (2.087) & 53.882563 \tabularnewline
0.5 (2) & 1.397131 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7542&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.0208 (48)[/C][C]87.578398[/C][/ROW]
[ROW][C]0.0417 (24)[/C][C]148.100847[/C][/ROW]
[ROW][C]0.0625 (16)[/C][C]51.028615[/C][/ROW]
[ROW][C]0.0833 (12)[/C][C]2.427727[/C][/ROW]
[ROW][C]0.1042 (9.6)[/C][C]49.473577[/C][/ROW]
[ROW][C]0.125 (8)[/C][C]9.461858[/C][/ROW]
[ROW][C]0.1458 (6.8571)[/C][C]35.867751[/C][/ROW]
[ROW][C]0.1667 (6)[/C][C]9.935474[/C][/ROW]
[ROW][C]0.1875 (5.3333)[/C][C]49.152479[/C][/ROW]
[ROW][C]0.2083 (4.8)[/C][C]45.618204[/C][/ROW]
[ROW][C]0.2292 (4.3636)[/C][C]140.933653[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]3.395823[/C][/ROW]
[ROW][C]0.2708 (3.6923)[/C][C]3.691017[/C][/ROW]
[ROW][C]0.2917 (3.4286)[/C][C]58.679225[/C][/ROW]
[ROW][C]0.3125 (3.2)[/C][C]11.190456[/C][/ROW]
[ROW][C]0.3333 (3)[/C][C]26.333588[/C][/ROW]
[ROW][C]0.3542 (2.8235)[/C][C]141.072652[/C][/ROW]
[ROW][C]0.375 (2.6667)[/C][C]38.294554[/C][/ROW]
[ROW][C]0.3958 (2.5263)[/C][C]5.488298[/C][/ROW]
[ROW][C]0.4167 (2.4)[/C][C]5.674539[/C][/ROW]
[ROW][C]0.4375 (2.2857)[/C][C]54.730034[/C][/ROW]
[ROW][C]0.4583 (2.1818)[/C][C]0.206148[/C][/ROW]
[ROW][C]0.4792 (2.087)[/C][C]53.882563[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]1.397131[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7542&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7542&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.0208 (48)87.578398
0.0417 (24)148.100847
0.0625 (16)51.028615
0.0833 (12)2.427727
0.1042 (9.6)49.473577
0.125 (8)9.461858
0.1458 (6.8571)35.867751
0.1667 (6)9.935474
0.1875 (5.3333)49.152479
0.2083 (4.8)45.618204
0.2292 (4.3636)140.933653
0.25 (4)3.395823
0.2708 (3.6923)3.691017
0.2917 (3.4286)58.679225
0.3125 (3.2)11.190456
0.3333 (3)26.333588
0.3542 (2.8235)141.072652
0.375 (2.6667)38.294554
0.3958 (2.5263)5.488298
0.4167 (2.4)5.674539
0.4375 (2.2857)54.730034
0.4583 (2.1818)0.206148
0.4792 (2.087)53.882563
0.5 (2)1.397131



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')