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, 15 Dec 2013 08:00:49 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Dec/15/t1387112476i9fps0kojgf1q23.htm/, Retrieved Fri, 29 Mar 2024 15:23:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=232345, Retrieved Fri, 29 Mar 2024 15:23:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [Wine sales - ACF] [2013-12-15 12:41:55] [e1b6e5c15a370139a1f66dc7648af660]
- RMP     [Spectral Analysis] [Wine sales - Spec...] [2013-12-15 13:00:49] [e87fe8ad852a0fa5d933f43041f410cc] [Current]
Feedback Forum

Post a new message
Dataseries X:
1954
2302
3054
2414
2226
2725
2589
3470
2400
3180
4009
3924
2072
2434
2956
2828
2687
2629
3150
4119
3030
3055
3821
4001
2529
2472
3134
2789
2758
2993
3282
3437
2804
3076
3782
3889
2271
2452
3084
2522
2769
3438
2839
3746
2632
2851
3871
3618
2389
2344
2678
2492
2858
2246
2800
3869
3007
3023
3907
4209




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=232345&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=232345&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=232345&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'Herman Ole Andreas Wold' @ wold.wessa.net







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)181342.53536
0.0417 (24)98136.062366
0.0625 (16)37054.474858
0.0833 (12)26510.970071
0.1042 (9.6)180906.179686
0.125 (8)128481.501072
0.1458 (6.8571)44723.078077
0.1667 (6)15236.755145
0.1875 (5.3333)243826.011616
0.2083 (4.8)73212.664299
0.2292 (4.3636)259315.086046
0.25 (4)99619.683012
0.2708 (3.6923)216029.270965
0.2917 (3.4286)48623.307647
0.3125 (3.2)42306.930217
0.3333 (3)35036.355771
0.3542 (2.8235)335638.048546
0.375 (2.6667)120208.533237
0.3958 (2.5263)65439.336652
0.4167 (2.4)6581.378626
0.4375 (2.2857)87969.328787
0.4583 (2.1818)114664.949054
0.4792 (2.087)65018.237428
0.5 (2)82035.621801

\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) & 181342.53536 \tabularnewline
0.0417 (24) & 98136.062366 \tabularnewline
0.0625 (16) & 37054.474858 \tabularnewline
0.0833 (12) & 26510.970071 \tabularnewline
0.1042 (9.6) & 180906.179686 \tabularnewline
0.125 (8) & 128481.501072 \tabularnewline
0.1458 (6.8571) & 44723.078077 \tabularnewline
0.1667 (6) & 15236.755145 \tabularnewline
0.1875 (5.3333) & 243826.011616 \tabularnewline
0.2083 (4.8) & 73212.664299 \tabularnewline
0.2292 (4.3636) & 259315.086046 \tabularnewline
0.25 (4) & 99619.683012 \tabularnewline
0.2708 (3.6923) & 216029.270965 \tabularnewline
0.2917 (3.4286) & 48623.307647 \tabularnewline
0.3125 (3.2) & 42306.930217 \tabularnewline
0.3333 (3) & 35036.355771 \tabularnewline
0.3542 (2.8235) & 335638.048546 \tabularnewline
0.375 (2.6667) & 120208.533237 \tabularnewline
0.3958 (2.5263) & 65439.336652 \tabularnewline
0.4167 (2.4) & 6581.378626 \tabularnewline
0.4375 (2.2857) & 87969.328787 \tabularnewline
0.4583 (2.1818) & 114664.949054 \tabularnewline
0.4792 (2.087) & 65018.237428 \tabularnewline
0.5 (2) & 82035.621801 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=232345&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]181342.53536[/C][/ROW]
[ROW][C]0.0417 (24)[/C][C]98136.062366[/C][/ROW]
[ROW][C]0.0625 (16)[/C][C]37054.474858[/C][/ROW]
[ROW][C]0.0833 (12)[/C][C]26510.970071[/C][/ROW]
[ROW][C]0.1042 (9.6)[/C][C]180906.179686[/C][/ROW]
[ROW][C]0.125 (8)[/C][C]128481.501072[/C][/ROW]
[ROW][C]0.1458 (6.8571)[/C][C]44723.078077[/C][/ROW]
[ROW][C]0.1667 (6)[/C][C]15236.755145[/C][/ROW]
[ROW][C]0.1875 (5.3333)[/C][C]243826.011616[/C][/ROW]
[ROW][C]0.2083 (4.8)[/C][C]73212.664299[/C][/ROW]
[ROW][C]0.2292 (4.3636)[/C][C]259315.086046[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]99619.683012[/C][/ROW]
[ROW][C]0.2708 (3.6923)[/C][C]216029.270965[/C][/ROW]
[ROW][C]0.2917 (3.4286)[/C][C]48623.307647[/C][/ROW]
[ROW][C]0.3125 (3.2)[/C][C]42306.930217[/C][/ROW]
[ROW][C]0.3333 (3)[/C][C]35036.355771[/C][/ROW]
[ROW][C]0.3542 (2.8235)[/C][C]335638.048546[/C][/ROW]
[ROW][C]0.375 (2.6667)[/C][C]120208.533237[/C][/ROW]
[ROW][C]0.3958 (2.5263)[/C][C]65439.336652[/C][/ROW]
[ROW][C]0.4167 (2.4)[/C][C]6581.378626[/C][/ROW]
[ROW][C]0.4375 (2.2857)[/C][C]87969.328787[/C][/ROW]
[ROW][C]0.4583 (2.1818)[/C][C]114664.949054[/C][/ROW]
[ROW][C]0.4792 (2.087)[/C][C]65018.237428[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]82035.621801[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=232345&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=232345&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)181342.53536
0.0417 (24)98136.062366
0.0625 (16)37054.474858
0.0833 (12)26510.970071
0.1042 (9.6)180906.179686
0.125 (8)128481.501072
0.1458 (6.8571)44723.078077
0.1667 (6)15236.755145
0.1875 (5.3333)243826.011616
0.2083 (4.8)73212.664299
0.2292 (4.3636)259315.086046
0.25 (4)99619.683012
0.2708 (3.6923)216029.270965
0.2917 (3.4286)48623.307647
0.3125 (3.2)42306.930217
0.3333 (3)35036.355771
0.3542 (2.8235)335638.048546
0.375 (2.6667)120208.533237
0.3958 (2.5263)65439.336652
0.4167 (2.4)6581.378626
0.4375 (2.2857)87969.328787
0.4583 (2.1818)114664.949054
0.4792 (2.087)65018.237428
0.5 (2)82035.621801



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):
par4 <- '1'
par3 <- '1'
par2 <- '0'
par1 <- '1'
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')