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 computationSun, 14 Dec 2008 08:41:55 -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/14/t12292693598ou7uzpsorzsz42.htm/, Retrieved Wed, 15 May 2024 10:26:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=33431, Retrieved Wed, 15 May 2024 10:26:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Variance Reduction Matrix] [worjshop] [2008-12-14 15:37:30] [3a9fc6d5b5e0e816787b7dbace57e7cd]
- RMP   [Spectral Analysis] [workshop] [2008-12-14 15:40:29] [3a9fc6d5b5e0e816787b7dbace57e7cd]
-   P       [Spectral Analysis] [workshop] [2008-12-14 15:41:55] [821c4b3d195be8e737cf8c9dc649d3cf] [Current]
Feedback Forum

Post a new message
Dataseries X:
2074
2049
2406
2558
2251
2059
2397
1747
1707
2319
1631
1627
1791
2034
1997
2169
2028
2253
2218
1855
2187
1852
1570
1851
1954
1828
2251
2277
2085
2282
2266
1878
2267
2069
1746
2299
2360
2214
2825
2355
2333
3016
2155
2172
2150
2533
2058
2160
2259
2498
2695
2799
2945
2930
2318
2540
2570
2669
2450
2842




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=33431&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=33431&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33431&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)0
Degree of seasonal differencing (D)1
Seasonal Period (s)12
Frequency (Period)Spectrum
0.0208 (48)128709.373395
0.0417 (24)62456.048441
0.0625 (16)108012.607821
0.0833 (12)1046.412592
0.1042 (9.6)11690.69449
0.125 (8)66186.161983
0.1458 (6.8571)35259.202038
0.1667 (6)2360.698658
0.1875 (5.3333)73184.333767
0.2083 (4.8)70424.773445
0.2292 (4.3636)30789.723326
0.25 (4)26015.350982
0.2708 (3.6923)121271.508633
0.2917 (3.4286)79101.070087
0.3125 (3.2)198262.562131
0.3333 (3)66921.554355
0.3542 (2.8235)92476.509009
0.375 (2.6667)127128.932069
0.3958 (2.5263)34206.752349
0.4167 (2.4)16038.566256
0.4375 (2.2857)77306.332786
0.4583 (2.1818)37238.546753
0.4792 (2.087)74344.348373
0.5 (2)3480.511569

\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) & 128709.373395 \tabularnewline
0.0417 (24) & 62456.048441 \tabularnewline
0.0625 (16) & 108012.607821 \tabularnewline
0.0833 (12) & 1046.412592 \tabularnewline
0.1042 (9.6) & 11690.69449 \tabularnewline
0.125 (8) & 66186.161983 \tabularnewline
0.1458 (6.8571) & 35259.202038 \tabularnewline
0.1667 (6) & 2360.698658 \tabularnewline
0.1875 (5.3333) & 73184.333767 \tabularnewline
0.2083 (4.8) & 70424.773445 \tabularnewline
0.2292 (4.3636) & 30789.723326 \tabularnewline
0.25 (4) & 26015.350982 \tabularnewline
0.2708 (3.6923) & 121271.508633 \tabularnewline
0.2917 (3.4286) & 79101.070087 \tabularnewline
0.3125 (3.2) & 198262.562131 \tabularnewline
0.3333 (3) & 66921.554355 \tabularnewline
0.3542 (2.8235) & 92476.509009 \tabularnewline
0.375 (2.6667) & 127128.932069 \tabularnewline
0.3958 (2.5263) & 34206.752349 \tabularnewline
0.4167 (2.4) & 16038.566256 \tabularnewline
0.4375 (2.2857) & 77306.332786 \tabularnewline
0.4583 (2.1818) & 37238.546753 \tabularnewline
0.4792 (2.087) & 74344.348373 \tabularnewline
0.5 (2) & 3480.511569 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33431&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]128709.373395[/C][/ROW]
[ROW][C]0.0417 (24)[/C][C]62456.048441[/C][/ROW]
[ROW][C]0.0625 (16)[/C][C]108012.607821[/C][/ROW]
[ROW][C]0.0833 (12)[/C][C]1046.412592[/C][/ROW]
[ROW][C]0.1042 (9.6)[/C][C]11690.69449[/C][/ROW]
[ROW][C]0.125 (8)[/C][C]66186.161983[/C][/ROW]
[ROW][C]0.1458 (6.8571)[/C][C]35259.202038[/C][/ROW]
[ROW][C]0.1667 (6)[/C][C]2360.698658[/C][/ROW]
[ROW][C]0.1875 (5.3333)[/C][C]73184.333767[/C][/ROW]
[ROW][C]0.2083 (4.8)[/C][C]70424.773445[/C][/ROW]
[ROW][C]0.2292 (4.3636)[/C][C]30789.723326[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]26015.350982[/C][/ROW]
[ROW][C]0.2708 (3.6923)[/C][C]121271.508633[/C][/ROW]
[ROW][C]0.2917 (3.4286)[/C][C]79101.070087[/C][/ROW]
[ROW][C]0.3125 (3.2)[/C][C]198262.562131[/C][/ROW]
[ROW][C]0.3333 (3)[/C][C]66921.554355[/C][/ROW]
[ROW][C]0.3542 (2.8235)[/C][C]92476.509009[/C][/ROW]
[ROW][C]0.375 (2.6667)[/C][C]127128.932069[/C][/ROW]
[ROW][C]0.3958 (2.5263)[/C][C]34206.752349[/C][/ROW]
[ROW][C]0.4167 (2.4)[/C][C]16038.566256[/C][/ROW]
[ROW][C]0.4375 (2.2857)[/C][C]77306.332786[/C][/ROW]
[ROW][C]0.4583 (2.1818)[/C][C]37238.546753[/C][/ROW]
[ROW][C]0.4792 (2.087)[/C][C]74344.348373[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]3480.511569[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33431&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33431&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)128709.373395
0.0417 (24)62456.048441
0.0625 (16)108012.607821
0.0833 (12)1046.412592
0.1042 (9.6)11690.69449
0.125 (8)66186.161983
0.1458 (6.8571)35259.202038
0.1667 (6)2360.698658
0.1875 (5.3333)73184.333767
0.2083 (4.8)70424.773445
0.2292 (4.3636)30789.723326
0.25 (4)26015.350982
0.2708 (3.6923)121271.508633
0.2917 (3.4286)79101.070087
0.3125 (3.2)198262.562131
0.3333 (3)66921.554355
0.3542 (2.8235)92476.509009
0.375 (2.6667)127128.932069
0.3958 (2.5263)34206.752349
0.4167 (2.4)16038.566256
0.4375 (2.2857)77306.332786
0.4583 (2.1818)37238.546753
0.4792 (2.087)74344.348373
0.5 (2)3480.511569



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