search for: workingpapers

Displaying 5 results from an estimated 5 matches for "workingpapers".

2001 Dec 05
1
Code for Hodrick-Prescott Filter
...ur help. Nick Davis Crown Financial Policy Asset and Liability Management Branch The New Zealand Treasury Direct: +64-4-471-5924 Fax: +64-4-499-0143 Email: mailto:nick.davis at treasury.govt.nz Web: www.treasury.govt.nz Research: www.treasury.govt.nz/workingpapers Caution: The content of this email is the property of The New Zealand Treasury. If you have received this message in error please notify the sender immediately and delete. The content of this email does not necessarily reflect the views of The New Zealand Treasury. If the recipient has any conc...
2001 Dec 13
1
Code for Hodrick-Prescott Filter: Special Case of smooth. spline?
...Policy > Asset and Liability Management Branch > The New Zealand Treasury > > Direct: +64-4-471-5924 > Fax: +64-4-499-0143 > Email: mailto:nick.davis at treasury.govt.nz > Web: www.treasury.govt.nz > Research: www.treasury.govt.nz/workingpapers > > > Caution: The content of this email is the property of The New Zealand > Treasury. If you have received this message in error please notify the > sender immediately and delete. The content of this email does not > necessarily reflect the views of The New Zealand Treasury. I...
2007 Oct 04
1
Sweave and LaTeX
...very fluent in LaTeX I do the following: I texify my snw-file to look for errors in my LaTeX and correct them. However, if I have the following chunk, I get an error when texifying: ... \usepackage{Sweave} ... <<echo=F, results=tex>>= workdr<-('c:/aaa/Projekte/IOT2005/Bericht/Workingpapers') setwd(workdr) xtable(table_nzo,caption="Importg?ter, die nicht einem NOGA-Sektor zugeordnet werden k?nnen") @ The problematic line is the last one before @. If I comment it out, I get no error. The error in the LaTeX log is ! Missing $ inserted. <inserted text>...
2007 Sep 17
1
Create correlated data with skew
Hi all, I understand that it is simple to create data with a specific correlation (say, .5) using mvrnorm from the MASS library: > library(MASS) > set.seed(1) > > a=mvrnorm( + n=10 + ,mu=rep(0,2) + ,Sigma=matrix(c(1,.5,.5,1),2,2) + ,empirical=T + ) > a [,1] [,2] [1,] -1.0008380 -1.233467875 [2,] -0.1588633 -0.003410001 [3,] 1.2054727 -0.620558768
2007 Mar 16
1
Fast lookup in ragged array
Hello, I'm running an algorithm for graph structural cohesion that requires a depth-first search of subgraphs of a rather large network. The algorithm will necessarily be redundant in the subgraphs it recurses to, so to speed up the process I implemented a check at each subgraph to see if it's been searched already. This algorithm is very slow, and takes days to complete on a