Home » date » 2008 » Dec » 24 »

*Unverified author*
R Software Module: rwasp_spectrum.wasp (opens new window with default values)
Title produced by software: Spectral Analysis
Date of computation: Wed, 24 Dec 2008 01:27:29 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/24/t12301072860kv1yebu981y08u.htm/, Retrieved Wed, 24 Dec 2008 09:28:08 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/24/t12301072860kv1yebu981y08u.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
46402 45329 42185 49341 50472 33020 29567 22870 25730 32609 23536 15135 36776 29982 38062 34226 24906 30233 27405 20784 22886 25425 20838 15655 37158 36364 43213 31635 30113 29985 20919 19429 21427 26064 20109 15369 35466 25954 33504 28115 28501 28618 21434 20177 21484 25642 23515 12941 36190 37785 38407 33326 30304 27576 27048 17291 21018 26792 19426 13927 35647 31746 31277 31583 25607 28151 24947 18077 23429 26313 18862 14753 36409 33163 34122 35225 28249 30374 26311 22069 23651 28628 23187 14727 43080 32519 39657 33614 28671 34243 27336 22916 24537 26128 22602 15744 41086 39690 43129 37863 35953 29133 24693 22205 21725 27192 21790 13253 37702 30364 32609 30212 29965 28352 25814 22414 20506 28806 22228 13971 36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738
 
Output produced by software:


Summary of computational 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)-0.6
Degree of non-seasonal differencing (d)0
Degree of seasonal differencing (D)0
Seasonal Period (s)12
Frequency (Period)Spectrum
0.0052 (192)1e-06
0.0104 (96)1e-06
0.0156 (64)0
0.0208 (48)0
0.026 (38.4)0
0.0312 (32)0
0.0365 (27.4286)0
0.0417 (24)0
0.0469 (21.3333)0
0.0521 (19.2)0
0.0573 (17.4545)0
0.0625 (16)0
0.0677 (14.7692)0
0.0729 (13.7143)0
0.0781 (12.8)0
0.0833 (12)1.5e-05
0.0885 (11.2941)0
0.0937 (10.6667)0
0.099 (10.1053)0
0.1042 (9.6)0
0.1094 (9.1429)0
0.1146 (8.7273)0
0.1198 (8.3478)0
0.125 (8)0
0.1302 (7.68)0
0.1354 (7.3846)0
0.1406 (7.1111)0
0.1458 (6.8571)0
0.151 (6.6207)0
0.1562 (6.4)0
0.1615 (6.1935)0
0.1667 (6)5e-06
0.1719 (5.8182)0
0.1771 (5.6471)0
0.1823 (5.4857)0
0.1875 (5.3333)0
0.1927 (5.1892)0
0.1979 (5.0526)0
0.2031 (4.9231)0
0.2083 (4.8)0
0.2135 (4.6829)0
0.2188 (4.5714)0
0.224 (4.4651)0
0.2292 (4.3636)0
0.2344 (4.2667)0
0.2396 (4.1739)0
0.2448 (4.0851)0
0.25 (4)8e-06
0.2552 (3.9184)0
0.2604 (3.84)0
0.2656 (3.7647)0
0.2708 (3.6923)0
0.276 (3.6226)0
0.2812 (3.5556)0
0.2865 (3.4909)0
0.2917 (3.4286)0
0.2969 (3.3684)0
0.3021 (3.3103)0
0.3073 (3.2542)0
0.3125 (3.2)0
0.3177 (3.1475)0
0.3229 (3.0968)0
0.3281 (3.0476)0
0.3333 (3)4e-06
0.3385 (2.9538)0
0.3437 (2.9091)0
0.349 (2.8657)0
0.3542 (2.8235)0
0.3594 (2.7826)0
0.3646 (2.7429)0
0.3698 (2.7042)0
0.375 (2.6667)0
0.3802 (2.6301)0
0.3854 (2.5946)0
0.3906 (2.56)0
0.3958 (2.5263)0
0.401 (2.4935)0
0.4062 (2.4615)0
0.4115 (2.4304)0
0.4167 (2.4)4e-06
0.4219 (2.3704)0
0.4271 (2.3415)0
0.4323 (2.3133)0
0.4375 (2.2857)0
0.4427 (2.2588)0
0.4479 (2.2326)0
0.4531 (2.2069)0
0.4583 (2.1818)0
0.4635 (2.1573)0
0.4687 (2.1333)0
0.474 (2.1099)0
0.4792 (2.087)0
0.4844 (2.0645)0
0.4896 (2.0426)0
0.4948 (2.0211)0
0.5 (2)3e-06
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301072860kv1yebu981y08u/13bpc1230107247.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301072860kv1yebu981y08u/13bpc1230107247.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301072860kv1yebu981y08u/26al61230107247.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/24/t12301072860kv1yebu981y08u/26al61230107247.ps (open in new window)


 
Parameters (Session):
par1 = -0.6 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
 
Parameters (R input):
par1 = -0.6 ; 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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by