R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- c(83.87 + ,84.23 + ,84.61 + ,84.82 + ,85.04 + ,85.06 + ,84.93 + ,84.98 + ,85.23 + ,85.30 + ,85.33 + ,85.55 + ,85.70 + ,85.88 + ,86.04 + ,86.07 + ,86.31 + ,86.38 + ,86.35 + ,86.55 + ,86.70 + ,86.74 + ,86.85 + ,86.95 + ,86.80 + ,87.01 + ,87.17 + ,87.43 + ,87.66 + ,87.68 + ,87.59 + ,87.65 + ,87.72 + ,87.70 + ,87.71 + ,87.80 + ,87.62 + ,87.84 + ,88.17 + ,88.47 + ,88.58 + ,88.57 + ,88.55 + ,88.68 + ,88.79 + ,88.85 + ,88.95 + ,89.27 + ,89.09 + ,89.42 + ,89.72 + ,89.85 + ,89.96 + ,90.25 + ,90.20 + ,90.27 + ,90.78 + ,90.79 + ,90.98 + ,91.25 + ,90.75 + ,91.01 + ,91.50 + ,92.09 + ,92.56 + ,92.66 + ,92.38 + ,92.38 + ,92.66 + ,92.69 + ,92.59 + ,92.98 + ,92.98 + ,93.15 + ,93.65 + ,94.06 + ,94.24 + ,94.24 + ,94.11 + ,94.16 + ,94.43 + ,94.67 + ,94.60 + ,95.00 + ,94.84 + ,95.26 + ,95.81 + ,95.92 + ,95.85 + ,95.90 + ,95.80 + ,96.00 + ,96.34 + ,96.43 + ,96.48 + ,96.75 + ,96.51 + ,96.69 + ,97.28 + ,97.69 + ,98.08 + ,98.09 + ,97.92 + ,98.06 + ,98.23 + ,98.57 + ,98.53 + ,98.92 + ,98.42 + ,98.73 + ,99.32 + ,99.73 + ,100.00 + ,100.08 + ,100.02 + ,100.26 + ,100.71 + ,100.95 + ,100.75 + ,101.03 + ,100.64 + ,100.93 + ,101.41 + ,102.07 + ,102.42 + ,102.53 + ,102.43 + ,102.60 + ,102.65 + ,102.74 + ,102.82 + ,103.21 + ,102.75 + ,103.09 + ,103.71 + ,104.30 + ,104.58 + ,104.71 + ,104.44 + ,104.57 + ,104.95 + ,105.49 + ,106.03 + ,106.48 + ,106.25 + ,106.70 + ,107.60 + ,108.05 + ,108.72 + ,109.17 + ,109.08 + ,109.04 + ,109.34 + ,109.37 + ,108.96 + ,108.77 + ,108.11 + ,108.67 + ,109.05 + ,109.43 + ,109.62 + ,109.85 + ,109.34 + ,109.65 + ,109.69 + ,109.91 + ,110.09) > par1 = '6' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > par1 <- as.numeric(par1) > n <- length(x) > sx <- sort(x) > > #Note: the /var/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Variance Reduction Matrix',6,TRUE) > a<-table.row.end(a) > for (bigd in 0:2) { + for (smalld in 0:3) { + mylabel <- 'V(Y[t],d=' + mylabel <- paste(mylabel,as.character(smalld),sep='') + mylabel <- paste(mylabel,',D=',sep='') + mylabel <- paste(mylabel,as.character(bigd),sep='') + mylabel <- paste(mylabel,')',sep='') + a<-table.row.start(a) + a<-table.element(a,mylabel,header=TRUE) + myx <- x + if (smalld > 0) myx <- diff(x,lag=1,differences=smalld) + if (bigd > 0) myx <- diff(myx,lag=par1,differences=bigd) + a<-table.element(a,var(myx)) + a<-table.element(a,'Range',header=TRUE) + a<-table.element(a,max(myx)-min(myx)) + a<-table.element(a,'Trim Var.',header=TRUE) + smyx <- sort(myx) + sn <- length(smyx) + a<-table.element(a,var(smyx[smyx>quantile(smyx,0.05) & smyx a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/1trox1261565831.tab") > > > > proc.time() user system elapsed 0.215 0.045 0.357