Commit 87cf35fe authored by Houtan Bastani's avatar Houtan Bastani

setup depo for inclusion as submodule in macro.nomics.world

parent 598ef66d
......@@ -8,9 +8,9 @@ afv2013table1/*.mat
afv2013table1/*.json
afv2013table1/afv2013table1/*
content/sw2007/Smets_Wouters_2007/*
content/sw2007/+Smets_Wouters_2007/*
content/sw2007/*.log
content/sw2007/*.png
content/sw2007/*.dat
content/sw2007/*.mat
sw2007/Smets_Wouters_2007/*
sw2007/+Smets_Wouters_2007/*
sw2007/*.log
sw2007/*.png
sw2007/*.dat
sw2007/*.mat
[submodule "dynare"]
path = dynare
url = https://git.dynare.org/Dynare/dynare.git
[submodule "theme"]
path = theme
url = https://git.nomics.world/macro/theme-bootstrap3.git
[submodule "plugins"]
path = plugins
url = https://git.nomics.world/macro/pelican-plugins.git
[submodule "theme-bootstrap3"]
path = theme-bootstrap3
url = https://git.nomics.world/macro/theme-bootstrap3.git
PELICAN=pelican
BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py
all: html
html: content/dynare-preprocessor-w-json.rst
$(PELICAN) -o $(OUTPUTDIR) -s $(CONFFILE)
clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
......@@ -2,13 +2,9 @@
This repository contains the code for the above-titled blog post on the [CEPREMAP Macro Observatory blog](https://macro.nomics.world/).
To build the blog post, simply do the following (after having installed Python, Pelican, and other dependencies):
- `git clone --recurse-submodules --depth 1 https://github.com/houtanb/obsmacro-dynare-json.git`
- `cd obsmacro-dynare-json && make`
To run the code described in the model, do the following:
- `git clone --depth 1 https://github.com/houtanb/obsmacro-dynare-json.git`
- Download the latest [snapshot of dynare](http://www.dynare.org/snapshot/) for your system. The code below will work with any version of Dynare newer than the version pointed to by the submodule in this repository.
- Download the latest [Dynare 4.6 or later](http://www.dynare.org/download/) for your system.
- Open Matlab or Octave and type:
- `addpath <<path to dynare/matlab folder>>` where `dynare` points to the snapshot you downloaded
- `addpath <<path to obsmacro-dynare-json/content/ols>>`
......
% This file was created with JabRef 2.10.
% Encoding: ISO8859_1
@Article{benevs2010estimating,
Title = {Estimating potential output with a multivariate filter},
Author = {Bene{\v{s}}, Jarom{\'\i}r and Clinton, Kevin and Garc{\'\i}a-Saltos, Roberto and Johnson, Marianne and Laxton, Douglas and Manchev, Peter B and Matheson, Troy},
Journal = {IMF Working Papers},
Year = {2010},
Pages = {1--37},
Owner = {tbrand},
Timestamp = {2017.05.16},
Url = {http://dx.doi.org/10.5089/9781455210923.001}
}
@Manual{rsd16,
Title = {rsdmx: Tools for Reading SDMX Data and Metadata},
Author = {Emmanuel Blondel},
Note = {R package version 0.5-3},
Year = {2016},
Url = {https://CRAN.R-project.org/package=rsdmx}
}
@Article{borio2013rethinking,
Title = {Rethinking potential output: Embedding information about the financial cycle},
Author = {Borio, Claudio EV and Disyatat, Piti and Juselius, Mikael},
Year = {2013},
Owner = {tbrand},
Publisher = {BIS Working paper},
Timestamp = {2017.05.16}
}
@Article{Chri14a,
Title = {Risk Shocks},
Author = {Christiano, L and Motto, Roberto and Rostagno, Massimo},
Journal = {American Economic Review},
Year = {2014},
Number = {1},
Pages = {27-65},
Volume = {104},
Doi = {10.1257/aer.104.1.27},
File = {:Chri14a technical appendix.pdf:PDF;Chri14a.pdf:Chri14a.pdf:PDF},
Owner = {tbrand},
Timestamp = {2016.05.24},
Url = {http://www.aeaweb.org/articles.php?doi=10.1257/aer.104.1.27}
}
@Article{Faga01,
Title = {An Area-Wide Model (AWM) for the Euro Area},
Author = {Fagan, G. and Henry, J. and Mestre, R.},
Journal = {ECB Working Paper Series},
Year = {2001},
File = {Faga01.pdf:Users/Nicolas/Dropbox/v2mars/bibli/Faga01.pdf:PDF},
Owner = {Nicolas},
Timestamp = {2015.07.02}
}
@Article{Naso94,
Title = {Testing the implications of long-run neutrality for monetary business cycle models},
Author = {Nason, James M and Cogley, Timothy},
Journal = {Journal of Applied Econometrics},
Year = {1994},
Number = {S1},
Pages = {S37--S70},
Volume = {9},
Doi = {10.1002/jae.3950090504},
Owner = {tbrand},
Timestamp = {2017.05.16}
}
@Article{ppp09,
Title = {{A quarterly fiscal database for the euro area based on intra-annual fiscal information}},
Author = {Paredes, Joan and Pedregal, Diego J. and Pérez, Javier J.},
Year = {2009},
Month = Dec,
Number = {1132},
Institution = {European Central Bank},
Keywords = {euro area; Fiscal policies; Interpolation; mixed frequencies; Unobserved Components models},
Owner = {tbrand},
Timestamp = {2017.05.16},
Type = {Working Paper Series},
Url = {https://ideas.repec.org/p/ecb/ecbwps/20091132.html}
}
@Manual{RCT16,
Title = {R: A Language and Environment for Statistical
Computing},
Address = {Vienna, Austria},
Author = {{R Core Team}},
Organization = {R Foundation for Statistical Computing},
Year = {2016},
Url = {https://www.R-project.org}
}
@Manual{RStu16,
Title = {RStudio: Integrated Development Environment for R},
Address = {Boston, MA},
Author = {{RStudio Team}},
Organization = {RStudio, Inc.},
Year = {2016},
Url = {http://www.rstudio.com/}
}
@Manual{seas16,
Title = {seasonal: R Interface to X-13-ARIMA-SEATS},
Author = {Christoph Sax},
Note = {R package version 1.2.1},
Year = {2016},
Owner = {tbrand},
Timestamp = {2017.05.16},
Url = {https://CRAN.R-project.org/package=seasonal}
}
@Article{Scho00,
Title = {{Loss function-based evaluation of DSGE models}},
Author = {Schorfheide, Frank},
Journal = {Journal of Applied Econometrics},
Year = {2000},
Number = {6},
Pages = {645--670},
Volume = {15},
Doi = {10.1002/jae.582},
File = {Scho00.pdf:Scho00.pdf:PDF},
ISSN = {1099-1255},
Owner = {tbrand},
Timestamp = {2016.06.29}
}
@Article{Smet03,
Title = {An estimated dynamic stochastic general equilibrium model of the Euro Area},
Author = {Smets, F. and Wouters, R.},
Journal = {Journal of the European Economic Association},
Year = {2003},
File = {Smet03.pdf:Users/Nicolas/Dropbox/v2mars/bibli/Smet03.pdf:PDF},
Owner = {Nicolas},
Timestamp = {2015.06.30}
}
@TechReport{RePEc:nbr:nberwo:16566,
author={Joshua Angrist and Ivan Fernandez-Val},
title={{ExtrapoLATE-ing: External Validity and Overidentification in the LATE Framework}},
year=2010,
month=Dec,
institution={National Bureau of Economic Research, Inc},
type={NBER Working Papers},
url={https://ideas.repec.org/p/nbr/nberwo/16566.html},
number={16566},
abstract={This paper develops a covariate-based approach to the external validity of instrumental variables (IV) estimates. Assuming that differences in observed complier characteristics are what make IV estimates differ from one another and from parameters like the effect of treatment on the treated, we show how to construct estimates for new subpopulations from a given set of covariate-specific LATEs. We also develop a reweighting procedure that uses the traditional overidentification test statistic to define a population for which a given pair of IV estimates has external validity. These ideas are illustrated through a comparison of twins and sex-composition IV estimates of the effects childbearing on labor supply.},
keywords={},
doi={},
}
#!/usr/bin/env python3
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
LOAD_CONTENT_CACHE = False
DELETE_OUTPUT_DIRECTORY = False
DEFAULT_LANG = 'en'
DEFAULT_DATE_FORMAT = ' %B %-d, %Y'
LOCALE = ('en_US', 'utf8', # On linux
'en_US', 'UTF-8') # On macOS
AUTHOR = 'Macroeconomic Observatory'
SITENAME = 'Macroeconomic Observatory'
# HIDE_SITENAME = True
SITEURL = '..'
BANNER_SUBTITLE = \
'Providing free and state-of-the-art tools for macroeconomic analysis.'
DISPLAY_CATEGORY_IN_BREADCRUMBS = True
SHOW_ARTICLE_AUTHOR = True
DISPLAY_ARTICLE_INFO_ON_INDEX = True
DISPLAY_TAGS_INLINE = True
DIRECT_TEMPLATES = (
'archives',
'authors',
'categories',
'index',
'search',
'tags',
)
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
# FEED_ALL_ATOM = 'feeds/all.atom.xml'
# TAG_FEED_ATOM = 'feeds/tag-%s.atom.xml'
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
FEED_ALL_RSS = 'feeds/all.rss.xml'
TAG_FEED_RSS = 'feeds/{slug}.rss.xml'
RSS_FEED_SUMMARY_ONLY = False
# Blogroll
LINKS = (
('Dynare', 'http://www.dynare.org/'),
('DB.nomics', 'https://db.nomics.world/'),
('R-bloggers', 'http://www.r-bloggers.com/'),
)
# Social widget
SOCIAL = (
('Gitlab', 'https://git.nomics.world/macro'),
('Twitter', 'https://twitter.com/obsmacro'),
)
DEFAULT_PAGINATION = 5
TWITTER_USERNAME = 'obsmacro'
TWITTER_WIDGET_ID = '573544104640049152'
ARTICLE_URL = 'article/{date:%Y}-{date:%m}/{slug}/'
ARTICLE_SAVE_AS = 'article/{date:%Y}-{date:%m}/{slug}/index.html'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
TAGS_URL = 'tags.html'
TAG_CLOUD_MAX_ITEMS = 15
RELATED_POSTS_MAX = 4
HIDE_SIDEBAR = True
DISPLAY_BREADCRUMBS = True
MATH_JAX = {'responsive': 'True'}
# Plugins.
PLUGIN_PATHS = ['./plugins']
PLUGINS = [
# 'feed_summary',
# 'liquid_tags.img',
# 'liquid_tags.notebook',
# 'liquid_tags.video',
# 'liquid_tags.youtube',
'pelican-cite',
'related_posts',
'render_math',
'rmd_reader',
'simple_footnotes',
'tipue_search',
]
MENUITEMS = (
('About', '/about.html'),
)
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = True
# Themes
THEME = "./theme"
MARKUP = 'md'
PYGMENTS_STYLE = 'trac'
TYPOGRIFY = True
STATIC_PATHS = [
'images',
'notebooks',
'figure']
# SITELOGO = 'images/obsmacro.svg'
# SITELOGO_SIZE = 180
RMD_READER_RENAME_PLOT = 'directory'
RMD_READER_KNITR_OPTS_CHUNK = {'fig.path': 'figure/'}
LOAD_CONTENT_CACHE = False
PUBLICATIONS_SRC = 'content/biblio.bib'
SHARIFF = True
SHARIFF_LANG = 'en'
SHARIFF_THEME = 'white'
SHARIFF_SERVICES = '[&quot;twitter&quot;]'
# SHARIFF_BACKEND_URL =
# License
CC_LICENSE = "CC-BY-SA"
# Uncomment following line if you want document-relative URLs when developing.
# RELATIVE_URLS = True
# Piwik configuration
PIWIK_URL = 'analytics.nomics.world'
PIWIK_SITE_ID = 3
plugins @ 150b3e9b
Subproject commit 150b3e9b7329d7793ef59ebc89299dbef41fea93
theme @ 29156de5
Subproject commit 29156de59d923599d06976b82519b72510c68b54
theme-bootstrap3 @ 29156de5
Subproject commit 29156de59d923599d06976b82519b72510c68b54
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment