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 computationThu, 01 Dec 2011 11:49:05 -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/01/t1322758168dxaww0uxflbws7c.htm/, Retrieved Fri, 29 Mar 2024 12:02:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=149867, Retrieved Fri, 29 Mar 2024 12:02:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact131
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Explorative Data Analysis] [Monthly US soldie...] [2010-11-02 12:07:39] [b98453cac15ba1066b407e146608df68]
- RMP   [Spectral Analysis] [Soldiers] [2010-11-29 09:50:20] [b98453cac15ba1066b407e146608df68]
- R         [Spectral Analysis] [WS 9 - Cumulatiev...] [2011-12-01 16:49:05] [9afaf62527660fe62ab98f95fea710a5] [Current]
-   P         [Spectral Analysis] [WS 9 - Cumulatiev...] [2011-12-01 16:54:15] [6a3e51c0c7ab195427042dfaef1df5a0]
Feedback Forum

Post a new message
Dataseries X:
37
30
47
35
30
43
82
40
47
19
52
136
80
42
54
66
81
63
137
72
107
58
36
52
79
77
54
84
48
96
83
66
61
53
30
74
69
59
42
65
70
100
63
105
82
81
75
102
121
98
76
77
63
37
35
23
40
29
37
51
20
28
13
22
25
13
16
13
16
17
9
17
25
14
8
7
10
7
10
3




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149867&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'Gertrude Mary Cox' @ cox.wessa.net







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.0125 (80)8238.990542
0.025 (40)1954.440158
0.0375 (26.6667)3745.563106
0.05 (20)86.557786
0.0625 (16)1772.539025
0.075 (13.3333)80.029852
0.0875 (11.4286)86.661692
0.1 (10)1206.658284
0.1125 (8.8889)129.84607
0.125 (8)708.257964
0.1375 (7.2727)515.751156
0.15 (6.6667)595.210665
0.1625 (6.1538)1396.295883
0.175 (5.7143)796.896914
0.1875 (5.3333)65.32211
0.2 (5)252.289438
0.2125 (4.7059)926.181732
0.225 (4.4444)344.850265
0.2375 (4.2105)454.734692
0.25 (4)704.883259
0.2625 (3.8095)138.049649
0.275 (3.6364)352.525916
0.2875 (3.4783)18.39304
0.3 (3.3333)127.325009
0.3125 (3.2)256.828674
0.325 (3.0769)459.902093
0.3375 (2.963)493.197015
0.35 (2.8571)149.079734
0.3625 (2.7586)32.306677
0.375 (2.6667)442.983368
0.3875 (2.5806)15.54586
0.4 (2.5)318.288082
0.4125 (2.4242)335.542595
0.425 (2.3529)389.627185
0.4375 (2.2857)942.141473
0.45 (2.2222)141.055722
0.4625 (2.1622)176.352373
0.475 (2.1053)491.811977
0.4875 (2.0513)526.268306
0.5 (2)25.368987

\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.0125 (80) & 8238.990542 \tabularnewline
0.025 (40) & 1954.440158 \tabularnewline
0.0375 (26.6667) & 3745.563106 \tabularnewline
0.05 (20) & 86.557786 \tabularnewline
0.0625 (16) & 1772.539025 \tabularnewline
0.075 (13.3333) & 80.029852 \tabularnewline
0.0875 (11.4286) & 86.661692 \tabularnewline
0.1 (10) & 1206.658284 \tabularnewline
0.1125 (8.8889) & 129.84607 \tabularnewline
0.125 (8) & 708.257964 \tabularnewline
0.1375 (7.2727) & 515.751156 \tabularnewline
0.15 (6.6667) & 595.210665 \tabularnewline
0.1625 (6.1538) & 1396.295883 \tabularnewline
0.175 (5.7143) & 796.896914 \tabularnewline
0.1875 (5.3333) & 65.32211 \tabularnewline
0.2 (5) & 252.289438 \tabularnewline
0.2125 (4.7059) & 926.181732 \tabularnewline
0.225 (4.4444) & 344.850265 \tabularnewline
0.2375 (4.2105) & 454.734692 \tabularnewline
0.25 (4) & 704.883259 \tabularnewline
0.2625 (3.8095) & 138.049649 \tabularnewline
0.275 (3.6364) & 352.525916 \tabularnewline
0.2875 (3.4783) & 18.39304 \tabularnewline
0.3 (3.3333) & 127.325009 \tabularnewline
0.3125 (3.2) & 256.828674 \tabularnewline
0.325 (3.0769) & 459.902093 \tabularnewline
0.3375 (2.963) & 493.197015 \tabularnewline
0.35 (2.8571) & 149.079734 \tabularnewline
0.3625 (2.7586) & 32.306677 \tabularnewline
0.375 (2.6667) & 442.983368 \tabularnewline
0.3875 (2.5806) & 15.54586 \tabularnewline
0.4 (2.5) & 318.288082 \tabularnewline
0.4125 (2.4242) & 335.542595 \tabularnewline
0.425 (2.3529) & 389.627185 \tabularnewline
0.4375 (2.2857) & 942.141473 \tabularnewline
0.45 (2.2222) & 141.055722 \tabularnewline
0.4625 (2.1622) & 176.352373 \tabularnewline
0.475 (2.1053) & 491.811977 \tabularnewline
0.4875 (2.0513) & 526.268306 \tabularnewline
0.5 (2) & 25.368987 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149867&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.0125 (80)[/C][C]8238.990542[/C][/ROW]
[ROW][C]0.025 (40)[/C][C]1954.440158[/C][/ROW]
[ROW][C]0.0375 (26.6667)[/C][C]3745.563106[/C][/ROW]
[ROW][C]0.05 (20)[/C][C]86.557786[/C][/ROW]
[ROW][C]0.0625 (16)[/C][C]1772.539025[/C][/ROW]
[ROW][C]0.075 (13.3333)[/C][C]80.029852[/C][/ROW]
[ROW][C]0.0875 (11.4286)[/C][C]86.661692[/C][/ROW]
[ROW][C]0.1 (10)[/C][C]1206.658284[/C][/ROW]
[ROW][C]0.1125 (8.8889)[/C][C]129.84607[/C][/ROW]
[ROW][C]0.125 (8)[/C][C]708.257964[/C][/ROW]
[ROW][C]0.1375 (7.2727)[/C][C]515.751156[/C][/ROW]
[ROW][C]0.15 (6.6667)[/C][C]595.210665[/C][/ROW]
[ROW][C]0.1625 (6.1538)[/C][C]1396.295883[/C][/ROW]
[ROW][C]0.175 (5.7143)[/C][C]796.896914[/C][/ROW]
[ROW][C]0.1875 (5.3333)[/C][C]65.32211[/C][/ROW]
[ROW][C]0.2 (5)[/C][C]252.289438[/C][/ROW]
[ROW][C]0.2125 (4.7059)[/C][C]926.181732[/C][/ROW]
[ROW][C]0.225 (4.4444)[/C][C]344.850265[/C][/ROW]
[ROW][C]0.2375 (4.2105)[/C][C]454.734692[/C][/ROW]
[ROW][C]0.25 (4)[/C][C]704.883259[/C][/ROW]
[ROW][C]0.2625 (3.8095)[/C][C]138.049649[/C][/ROW]
[ROW][C]0.275 (3.6364)[/C][C]352.525916[/C][/ROW]
[ROW][C]0.2875 (3.4783)[/C][C]18.39304[/C][/ROW]
[ROW][C]0.3 (3.3333)[/C][C]127.325009[/C][/ROW]
[ROW][C]0.3125 (3.2)[/C][C]256.828674[/C][/ROW]
[ROW][C]0.325 (3.0769)[/C][C]459.902093[/C][/ROW]
[ROW][C]0.3375 (2.963)[/C][C]493.197015[/C][/ROW]
[ROW][C]0.35 (2.8571)[/C][C]149.079734[/C][/ROW]
[ROW][C]0.3625 (2.7586)[/C][C]32.306677[/C][/ROW]
[ROW][C]0.375 (2.6667)[/C][C]442.983368[/C][/ROW]
[ROW][C]0.3875 (2.5806)[/C][C]15.54586[/C][/ROW]
[ROW][C]0.4 (2.5)[/C][C]318.288082[/C][/ROW]
[ROW][C]0.4125 (2.4242)[/C][C]335.542595[/C][/ROW]
[ROW][C]0.425 (2.3529)[/C][C]389.627185[/C][/ROW]
[ROW][C]0.4375 (2.2857)[/C][C]942.141473[/C][/ROW]
[ROW][C]0.45 (2.2222)[/C][C]141.055722[/C][/ROW]
[ROW][C]0.4625 (2.1622)[/C][C]176.352373[/C][/ROW]
[ROW][C]0.475 (2.1053)[/C][C]491.811977[/C][/ROW]
[ROW][C]0.4875 (2.0513)[/C][C]526.268306[/C][/ROW]
[ROW][C]0.5 (2)[/C][C]25.368987[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149867&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149867&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.0125 (80)8238.990542
0.025 (40)1954.440158
0.0375 (26.6667)3745.563106
0.05 (20)86.557786
0.0625 (16)1772.539025
0.075 (13.3333)80.029852
0.0875 (11.4286)86.661692
0.1 (10)1206.658284
0.1125 (8.8889)129.84607
0.125 (8)708.257964
0.1375 (7.2727)515.751156
0.15 (6.6667)595.210665
0.1625 (6.1538)1396.295883
0.175 (5.7143)796.896914
0.1875 (5.3333)65.32211
0.2 (5)252.289438
0.2125 (4.7059)926.181732
0.225 (4.4444)344.850265
0.2375 (4.2105)454.734692
0.25 (4)704.883259
0.2625 (3.8095)138.049649
0.275 (3.6364)352.525916
0.2875 (3.4783)18.39304
0.3 (3.3333)127.325009
0.3125 (3.2)256.828674
0.325 (3.0769)459.902093
0.3375 (2.963)493.197015
0.35 (2.8571)149.079734
0.3625 (2.7586)32.306677
0.375 (2.6667)442.983368
0.3875 (2.5806)15.54586
0.4 (2.5)318.288082
0.4125 (2.4242)335.542595
0.425 (2.3529)389.627185
0.4375 (2.2857)942.141473
0.45 (2.2222)141.055722
0.4625 (2.1622)176.352373
0.475 (2.1053)491.811977
0.4875 (2.0513)526.268306
0.5 (2)25.368987



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