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 computationFri, 02 Dec 2011 09:31:30 -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/2011/Dec/02/t1322836323nvlm3aqlrxuwdvd.htm/, Retrieved Sun, 28 Apr 2024 19:43:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=150247, Retrieved Sun, 28 Apr 2024 19:43:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact92
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2008-12-08 19:22:39] [d2d412c7f4d35ffbf5ee5ee89db327d4]
- RMPD    [Spectral Analysis] [WS9 Wine Sales Au...] [2011-12-02 14:31:30] [2a6d487209befbc7c5ce02a41ecac161] [Current]
-   P       [Spectral Analysis] [Paper Spectral An...] [2011-12-23 09:51:01] [9d4f280afcb4ecc352d7c6f913a0a151]
Feedback Forum

Post a new message
Dataseries X:
2564
2820
3508
3088
3299
2939
3320
3418
3604
3495
4163
4882
2211
3260
2992
2425
2707
3244
3965
3315
3333
3583
4021
4904
2252
2952
3573
3048
3059
2731
3563
3092
3478
3478
4308
5029
2075
3264
3308
3688
3136
2824
3644
4694
2914
3686
4358
5587
2265
3685
3754
3708
3210
3517
3905
3670
4221
4404
5086
5725




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 & 1 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150247&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150247&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150247&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'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)3838.234787
0.0417 (24)75240.858919
0.0625 (16)83006.084832
0.0833 (12)6570.608378
0.1042 (9.6)80483.804093
0.125 (8)661600.311026
0.1458 (6.8571)45571.236074
0.1667 (6)1699.368893
0.1875 (5.3333)142753.962777
0.2083 (4.8)480930.296435
0.2292 (4.3636)584498.447379
0.25 (4)23035.644115
0.2708 (3.6923)413878.040772
0.2917 (3.4286)243709.192619
0.3125 (3.2)579995.143777
0.3333 (3)23630.021692
0.3542 (2.8235)165106.093717
0.375 (2.6667)372651.095068
0.3958 (2.5263)98162.850347
0.4167 (2.4)22877.151166
0.4375 (2.2857)56267.375396
0.4583 (2.1818)738380.655763
0.4792 (2.087)385380.890221
0.5 (2)55532.864591

\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) & 3838.234787 \tabularnewline
0.0417 (24) & 75240.858919 \tabularnewline
0.0625 (16) & 83006.084832 \tabularnewline
0.0833 (12) & 6570.608378 \tabularnewline
0.1042 (9.6) & 80483.804093 \tabularnewline
0.125 (8) & 661600.311026 \tabularnewline
0.1458 (6.8571) & 45571.236074 \tabularnewline
0.1667 (6) & 1699.368893 \tabularnewline
0.1875 (5.3333) & 142753.962777 \tabularnewline
0.2083 (4.8) & 480930.296435 \tabularnewline
0.2292 (4.3636) & 584498.447379 \tabularnewline
0.25 (4) & 23035.644115 \tabularnewline
0.2708 (3.6923) & 413878.040772 \tabularnewline
0.2917 (3.4286) & 243709.192619 \tabularnewline
0.3125 (3.2) & 579995.143777 \tabularnewline
0.3333 (3) & 23630.021692 \tabularnewline
0.3542 (2.8235) & 165106.093717 \tabularnewline
0.375 (2.6667) & 372651.095068 \tabularnewline
0.3958 (2.5263) & 98162.850347 \tabularnewline
0.4167 (2.4) & 22877.151166 \tabularnewline
0.4375 (2.2857) & 56267.375396 \tabularnewline
0.4583 (2.1818) & 738380.655763 \tabularnewline
0.4792 (2.087) & 385380.890221 \tabularnewline
0.5 (2) & 55532.864591 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150247&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]3838.234787[/C][/ROW]
[ROW][C]0.0417 (24)[/C][C]75240.858919[/C][/ROW]
[ROW][C]0.0625 (16)[/C][C]83006.084832[/C][/ROW]
[ROW][C]0.0833 (12)[/C][C]6570.608378[/C][/ROW]
[ROW][C]0.1042 (9.6)[/C][C]80483.804093[/C][/ROW]
[ROW][C]0.125 (8)[/C][C]661600.311026[/C][/ROW]
[ROW][C]0.1458 (6.8571)[/C][C]45571.236074[/C][/ROW]
[ROW][C]0.1667 (6)[/C][C]1699.368893[/C][/ROW]
[ROW][C]0.1875 (5.3333)[/C][C]142753.962777[/C][/ROW]
[ROW][C]0.2083 (4.8)[/C][C]480930.296435[/C][/ROW]
[ROW][C]0.2292 (4.3636)[/C][C]584498.447379[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]23035.644115[/C][/ROW]
[ROW][C]0.2708 (3.6923)[/C][C]413878.040772[/C][/ROW]
[ROW][C]0.2917 (3.4286)[/C][C]243709.192619[/C][/ROW]
[ROW][C]0.3125 (3.2)[/C][C]579995.143777[/C][/ROW]
[ROW][C]0.3333 (3)[/C][C]23630.021692[/C][/ROW]
[ROW][C]0.3542 (2.8235)[/C][C]165106.093717[/C][/ROW]
[ROW][C]0.375 (2.6667)[/C][C]372651.095068[/C][/ROW]
[ROW][C]0.3958 (2.5263)[/C][C]98162.850347[/C][/ROW]
[ROW][C]0.4167 (2.4)[/C][C]22877.151166[/C][/ROW]
[ROW][C]0.4375 (2.2857)[/C][C]56267.375396[/C][/ROW]
[ROW][C]0.4583 (2.1818)[/C][C]738380.655763[/C][/ROW]
[ROW][C]0.4792 (2.087)[/C][C]385380.890221[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]55532.864591[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150247&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150247&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)3838.234787
0.0417 (24)75240.858919
0.0625 (16)83006.084832
0.0833 (12)6570.608378
0.1042 (9.6)80483.804093
0.125 (8)661600.311026
0.1458 (6.8571)45571.236074
0.1667 (6)1699.368893
0.1875 (5.3333)142753.962777
0.2083 (4.8)480930.296435
0.2292 (4.3636)584498.447379
0.25 (4)23035.644115
0.2708 (3.6923)413878.040772
0.2917 (3.4286)243709.192619
0.3125 (3.2)579995.143777
0.3333 (3)23630.021692
0.3542 (2.8235)165106.093717
0.375 (2.6667)372651.095068
0.3958 (2.5263)98162.850347
0.4167 (2.4)22877.151166
0.4375 (2.2857)56267.375396
0.4583 (2.1818)738380.655763
0.4792 (2.087)385380.890221
0.5 (2)55532.864591



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