search for: statfinbook

Displaying 1 result from an estimated 1 matches for "statfinbook".

2008 Nov 22
1
declaring constants in an Sweave / LaTeX document
...the following in my '.Rnw' file: ============================================================================== smallPlotSize = 4 <<fig1, echo=false, results=hide, height=smallPlotSize, width=smallPlotSize, fig=true>>= dat <- read.table(" http://www.stanford.edu/~xing/statfinbook/_BookData/Chap05/q_us_gdp.txt", skip=2, header=T) GDP <- ts(data=dat$VALUE, start=c(1947,1), frequency=4) acf(GDP, type="correlation", main= "ACF of US GDP") @ ============================================================================== This way I can tweak things i...