Home » date » 2009 » Jun » 01 »

Ken soltvedt Sigaretten O9

*Unverified author*
R Software Module: rwasp_decomposeloess.wasp (opens new window with default values)
Title produced by software: Decomposition by Loess
Date of computation: Mon, 01 Jun 2009 12:02:35 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw.htm/, Retrieved Mon, 01 Jun 2009 20:03:05 +0200
 
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/2009/Jun/01/t1243879381wskbbff7s18q7hw.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
3.42 3.42 3.43 3.47 3.51 3.52 3.52 3.52 3.52 3.52 3.52 3.52 3.52 3.52 3.58 3.6 3.61 3.61 3.61 3.63 3.68 3.69 3.69 3.69 3.69 3.69 3.69 3.69 3.69 3.78 3.79 3.79 3.8 3.8 3.8 3.8 3.81 3.95 3.99 4 4.06 4.16 4.19 4.2 4.2 4.2 4.2 4.2 4.23 4.38 4.43 4.44 4.44 4.44 4.44 4.44 4.45 4.45 4.45 4.45 4.45 4.45 4.45 4.45 4.46 4.46 4.46 4.48 4.58 4.67 4.68 4.68
 
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


Seasonal Decomposition by Loess - Parameters
ComponentWindowDegreeJump
Seasonal721073
Trend1912
Low-pass1312


Seasonal Decomposition by Loess - Time Series Components
tObservedFittedSeasonalTrendRemainder
13.423.42277036083856-0.02643710287884763.443666742040290.00277036083856208
23.423.41136724319596-0.02361420907379033.45224696587783-0.00863275680403497
33.433.4162215802799-0.01704876999526443.46082718971536-0.0137784197201003
43.473.49049235535188-0.01998283749251873.469490482140640.0204923553518763
53.513.535641157850850.00620506758323123.478153774565920.0256411578508491
63.523.511669487242880.04130947657544513.48702103618167-0.00833051275711716
73.523.512400653271610.03171104893096153.49588829779742-0.00759934672838636
83.523.516509245598270.01857759739080573.50491315701093-0.00349075440173285
93.523.516931915661350.009130068114219423.51393801622443-0.00306808433864836
103.523.509659392951420.007058847493253623.52328175955533-0.0103406070485819
113.523.51407069225833-0.006696195144558463.53262550288623-0.00592930774166911
123.523.51798764208719-0.02021297926100423.54222533717382-0.00201235791281373
133.523.51461193141744-0.02643710287884763.55182517146141-0.00538806858256047
143.523.50126284691584-0.02361420907379033.56235136215796-0.0187371530841647
153.583.60417121714076-0.01704876999526443.57287755285450.0241712171407622
163.63.63427855744771-0.01998283749251873.585704280044810.0342785574477129
173.613.615263925181660.00620506758323123.598531007235110.00526392518165997
183.613.566238959230890.04130947657544513.61245156419366-0.0437610407691085
193.613.561916829916820.03171104893096153.62637212115222-0.0480831700831801
203.633.602403341305840.01857759739080573.63901906130335-0.0275966586941596
213.683.699203930431290.009130068114219423.651666001454490.0192039304312921
223.693.710110717230280.007058847493253623.662830435276470.0201107172302786
233.693.71270132604611-0.006696195144558463.673994869098450.0227013260461120
243.693.71494954045873-0.02021297926100423.685263438802270.0249495404587341
253.693.70990509437275-0.02643710287884763.696532008506090.0199050943727537
263.693.69646996914736-0.02361420907379033.707144239926430.00646996914735665
273.693.67929229864849-0.01704876999526443.71775647134677-0.0107077013515093
283.693.67293648607637-0.01998283749251873.72704635141614-0.0170635139236262
293.693.637458700931250.00620506758323123.73633623148552-0.0525412990687473
303.783.770785665853800.04130947657544513.74790485757075-0.00921433414619566
313.793.788815467413050.03171104893096153.75947348365598-0.00118453258694640
323.793.780938852903620.01857759739080573.78048354970558-0.00906114709638217
333.83.789376316130610.009130068114219423.80149361575517-0.0106236838693881
343.83.763594682027190.007058847493253623.82934647047956-0.0364053179728132
353.83.74949686994061-0.006696195144558463.85719932520395-0.0505031300593917
363.83.73140680392041-0.02021297926100423.88880617534059-0.0685931960795867
373.813.72602407740162-0.02643710287884763.92041302547723-0.0839759225983836
383.953.96963478110675-0.02361420907379033.953979427967040.0196347811067459
393.994.00950293953841-0.01704876999526443.987545830456860.0195029395384059
4043.99796180444714-0.01998283749251874.02202103304538-0.00203819555286255
414.064.057298696782860.00620506758323124.0564962356339-0.00270130321713591
424.164.191096456729420.04130947657544514.087594066695140.0310964567294194
434.194.229597053312670.03171104893096154.118691897756370.0395970533126722
444.24.236352828399090.01857759739080574.145069574210110.0363528283990870
454.24.219422681221930.009130068114219424.171447250663850.0194226812219336
464.24.197073678676510.007058847493253624.19586747383024-0.00292632132349446
474.24.18640849814792-0.006696195144558464.22028769699663-0.0135915018520762
484.24.17575548641116-0.02021297926100424.24445749284984-0.0242445135888385
494.234.2178098141758-0.02643710287884764.26862728870305-0.0121901858242044
504.384.49339368253614-0.02361420907379034.290220526537650.113393682536142
514.434.56523500562302-0.01704876999526444.311813764372240.135235005623019
524.444.56700194062333-0.01998283749251874.332980896869190.127001940623327
534.444.519646903050630.00620506758323124.354148029366140.0796469030506293
544.444.461680203865450.04130947657544514.377010319559110.0216802038654471
554.444.448416341316960.03171104893096154.399872609752080.00841634131696356
564.444.444607250675920.01857759739080574.416815151933270.00460725067592449
574.454.457112237771320.009130068114219424.433757694114460.00711223777131664
584.454.45113858511730.007058847493253624.441802567389450.00113858511729781
594.454.45684875448013-0.006696195144558464.449847440664430.00684875448012612
604.454.46354484788485-0.02021297926100424.456668131376150.0135448478848499
614.454.46294828079097-0.02643710287884764.463488822087880.0129482807909689
624.454.44789407820248-0.02361420907379034.47572013087131-0.00210592179751856
634.454.42909733034053-0.01704876999526444.48795143965474-0.0209026696594750
644.454.40643934174566-0.01998283749251874.51354349574686-0.043560658254342
654.464.374659380577790.00620506758323124.53913555183898-0.0853406194222135
664.464.3189129529490.04130947657544514.55977757047555-0.141087047050997
674.464.307869361956920.03171104893096154.58041958911212-0.152130638043082
684.484.340561459409530.01857759739080574.60086094319967-0.139438540590472
694.584.529567634598570.009130068114219424.62130229728721-0.0504323654014325
704.674.69068108682410.007058847493253624.642260065682650.0206810868240970
714.684.70347836106647-0.006696195144558464.663217834078080.0234783610664744
724.684.69552129136193-0.02021297926100424.684691687899070.0155212913619325
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/1pj9a1243879353.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/1pj9a1243879353.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/2ye0o1243879353.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/2ye0o1243879353.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/3sdz61243879353.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/3sdz61243879353.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/46ant1243879353.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879381wskbbff7s18q7hw/46ant1243879353.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = periodic ; par3 = 0 ; par5 = 1 ; par7 = 1 ; par8 = TRUE ;
 
Parameters (R input):
par1 = 12 ; par2 = periodic ; par3 = 0 ; par5 = 1 ; par7 = 1 ; par8 = TRUE ;
 
R code (references can be found in the software module):
par1 <- as.numeric(par1) #seasonal period
if (par2 != 'periodic') par2 <- as.numeric(par2) #s.window
par3 <- as.numeric(par3) #s.degree
if (par4 == '') par4 <- NULL else par4 <- as.numeric(par4)#t.window
par5 <- as.numeric(par5)#t.degree
if (par6 != '') par6 <- as.numeric(par6)#l.window
par7 <- as.numeric(par7)#l.degree
if (par8 == 'FALSE') par8 <- FALSE else par9 <- TRUE #robust
nx <- length(x)
x <- ts(x,frequency=par1)
if (par6 != '') {
m <- stl(x,s.window=par2, s.degree=par3, t.window=par4, t.degre=par5, l.window=par6, l.degree=par7, robust=par8)
} else {
m <- stl(x,s.window=par2, s.degree=par3, t.window=par4, t.degre=par5, l.degree=par7, robust=par8)
}
m$time.series
m$win
m$deg
m$jump
m$inner
m$outer
bitmap(file='test1.png')
plot(m,main=main)
dev.off()
mylagmax <- nx/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$time.series[,'trend']),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$time.series[,'seasonal']),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$time.series[,'remainder']),na.action=na.pass,lag.max = mylagmax,main='Remainder')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$time.series[!is.na(m$time.series[,'trend']),'trend']),main='Trend')
spectrum(as.numeric(m$time.series[!is.na(m$time.series[,'seasonal']),'seasonal']),main='Seasonal')
spectrum(as.numeric(m$time.series[!is.na(m$time.series[,'remainder']),'remainder']),main='Remainder')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$time.series[!is.na(m$time.series[,'trend']),'trend']),main='Trend')
cpgram(as.numeric(m$time.series[!is.na(m$time.series[,'seasonal']),'seasonal']),main='Seasonal')
cpgram(as.numeric(m$time.series[!is.na(m$time.series[,'remainder']),'remainder']),main='Remainder')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Seasonal Decomposition by Loess - Parameters',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Component',header=TRUE)
a<-table.element(a,'Window',header=TRUE)
a<-table.element(a,'Degree',header=TRUE)
a<-table.element(a,'Jump',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,m$win['s'])
a<-table.element(a,m$deg['s'])
a<-table.element(a,m$jump['s'])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,m$win['t'])
a<-table.element(a,m$deg['t'])
a<-table.element(a,m$jump['t'])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Low-pass',header=TRUE)
a<-table.element(a,m$win['l'])
a<-table.element(a,m$deg['l'])
a<-table.element(a,m$jump['l'])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Seasonal Decomposition by Loess - Time Series Components',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observed',header=TRUE)
a<-table.element(a,'Fitted',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Remainder',header=TRUE)
a<-table.row.end(a)
for (i in 1:nx) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]+m$time.series[i,'remainder'])
a<-table.element(a,m$time.series[i,'seasonal'])
a<-table.element(a,m$time.series[i,'trend'])
a<-table.element(a,m$time.series[i,'remainder'])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.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