Home » date » 2008 » May » 24 »

Klassieke decompositie - prijs van stof voor jurken

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 24 May 2008 08:44:38 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l.htm/, Retrieved Sat, 24 May 2008 16:49:33 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
20.66 20.66 20.67 20.71 20.73 20.73 20.74 20.74 20.75 20.75 20.77 20.78 20.78 20.8 20.84 20.85 20.86 20.86 20.86 20.86 20.9 20.92 20.95 20.95 20.95 20.96 21.1 21.18 21.19 21.19 21.19 21.19 21.19 21.21 21.22 21.22 21.22 21.23 21.41 21.42 21.43 21.44 21.44 21.44 21.48 21.53 21.54 21.54 21.54 21.54 21.54 21.54 21.54 21.54 21.54 21.54 21.57 21.6 21.61 21.6 21.6 21.71 21.75 21.84 21.85 21.92 21.92 21.93 22 22 21.99 22.01 22.01
 
Text written by user:
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
120.66NANA0.998498838540187NA
220.66NANA0.998189033040509NA
320.67NANA1.00164531676306NA
420.71NANA1.00200768733897NA
520.73NANA1.00153015665378NA
620.73NANA1.00083016105406NA
720.7420.729678487769020.72916666666671.000024690867251.00049790990425
820.7420.722943037047920.740.9991775813427151.00082309558645
920.7520.744173319184720.75291666666670.999578693076141.00028088276769
1020.7520.766909194361920.76583333333331.000051809191150.999185762589724
1120.7720.772740210957020.77708333333330.9997909657334190.999868086206768
1220.7820.760374057375320.78791666666670.9986750663987621.00094535592521
1320.7820.767111676905020.79833333333330.9984988385401871.00062061221105
1420.820.770650129184620.80833333333330.9981890330405091.00141304536126
1520.8420.853838142791720.81958333333331.001645316763060.999336422259686
1620.8520.874742649692120.83291666666671.002007687338970.998814708755585
1720.8620.879399940839720.84751.001530156653780.999070857357268
1820.8620.879402222423320.86208333333331.000830161054060.999070748184426
1920.8620.876765452717420.876251.000024690867250.999196932457984
2020.8620.872819674249320.890.9991775813427150.999385819719167
2120.920.898691525489420.90750.999578693076141.00006261035573
2220.9220.933167807639920.93208333333331.000051809191150.999370959629193
2320.9520.955202062203420.95958333333330.9997909657334190.999751753183388
2420.9520.95927684143320.98708333333330.9986750663987620.999557387332435
2520.9520.983037050739321.01458333333330.9984988385401870.998425535318867
2620.9621.003976815657821.04208333333330.9981890330405090.997906262416695
2721.121.102580063121221.06791666666671.001645316763060.99987773707701
2821.1821.134429641994121.09208333333331.002007687338971.00215621423326
2921.1921.147726561976521.11541666666671.001530156653781.00199895898501
3021.1921.155464541847421.13791666666671.000830161054061.00163246040210
3121.1921.160939135705521.16041666666671.000024690867251.00137332582964
3221.1921.165495440784321.18291666666670.9991775813427151.00115775977389
3321.1921.198148642290121.20708333333330.999578693076140.999615596511392
3421.2121.231099909128121.231.000051809191150.999006179179676
3521.2221.245558021835121.250.9997909657334190.998797018096259
3621.2221.242234776912721.27041666666670.9986750663987620.998953275060455
3721.2221.259288396068721.291250.9984988385401870.998151942090592
3821.2321.273487854578721.31208333333330.9981890330405090.997955772232742
3921.4121.369685480924621.33458333333331.001645316763061.00188652842417
4021.4221.402884201560421.361.002007687338971.00079969588577
4121.4321.419391616968821.38666666666671.001530156653781.00049527004412
4221.4421.431109848704321.41333333333331.000830161054061.00041482458717
4321.4421.440529372193821.441.000024690867250.999975309742378
4421.4421.448595755498121.466250.9991775813427150.999599239241765
4521.4821.475531729618721.48458333333330.999578693076141.00020806331771
4621.5321.496113638563721.4951.000051809191151.00157639478494
4721.5421.500088138528121.50458333333330.9997909657334191.00185635803978
4821.5421.484829595125421.51333333333330.9986750663987621.00256787723777
4921.5421.489359170115721.52166666666670.9984988385401871.00235655374753
5021.5421.491009881362221.530.9981890330405091.00227956335734
5121.5421.573353361999821.53791666666671.001645316763060.998453955607173
5221.5421.58783812051521.54458333333331.002007687338970.997784024493423
5321.5421.583392180120921.55041666666671.001530156653780.997989556981647
5421.5421.573728146654621.55583333333331.000830161054060.99843661019434
5521.5421.561365689006921.56083333333331.000024690867250.999009075338035
5621.5421.552676753554621.57041666666670.9991775813427150.999411824633221
5721.5721.577155563414821.586250.999578693076140.999668373183212
5821.621.608619467097721.60751.000051809191150.999601109774233
5921.6121.628394645797221.63291666666670.9997909657334190.999149514048616
6021.621.632966396641221.66166666666670.9986750663987620.998476103737382
6121.621.660768137398421.69333333333330.9984988385401870.997194552981086
6221.7121.686072654902221.72541666666670.9981890330405091.00110335077626
6321.7521.795384740548921.75958333333331.001645316763060.99791769032347
6421.8421.837922539146721.79416666666671.002007687338971.00009513088297
6521.8521.860064885896521.82666666666671.001530156653780.99953957657724
6621.9221.877730308074721.85958333333331.000830161054061.00193208762198
6721.9221.894290575674821.893751.000024690867251.00117425244889
6821.93NANA0.999177581342715NA
6922NANA0.99957869307614NA
7022NANA1.00005180919115NA
7121.99NANA0.999790965733419NA
7222.01NANA0.998675066398762NA
7322.01NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/1dd371211640273.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/1dd371211640273.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/20ty01211640273.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/20ty01211640273.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/34gjk1211640273.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/34gjk1211640273.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/4zqa31211640273.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/24/t1211640573fsxh0uewowe0c3l/4zqa31211640273.ps (open in new window)


 
Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
 
Parameters (R input):
par1 = multiplicative ; par2 = 12 ;
 
R code (references can be found in the software module):
par2 <- as.numeric(par2)
x <- ts(x,freq=par2)
m <- decompose(x,type=par1)
m$figure
bitmap(file='test1.png')
plot(m)
dev.off()
mylagmax <- length(x)/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$trend),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$seasonal),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$random),na.action=na.pass,lag.max = mylagmax,main='Random')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
spectrum(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
spectrum(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
cpgram(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
cpgram(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Classical Decomposition by Moving Averages',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observations',header=TRUE)
a<-table.element(a,'Fit',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Random',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(m$trend)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
if (par1 == 'additive') a<-table.element(a,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[i])
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