Comments (8)
Just to confirm, after applying my fix above DSGE.jl can be installed on Julia v1.5 for Windows.
from dsge.jl.
Executing run_default.jl
seems to work as well (I am not sure whether the missing values in the data are to be expected, though...)
Creating dataset...
API key loaded.
Fetching FRED series GDP...
Fetching FRED series CNP16OV...
Fetching FRED series GDPDEF...
Fetching FRED series AWHNONAG...
Fetching FRED series CE16OV...
Fetching FRED series COMPNFB...
Fetching FRED series PCEPILFE...
Fetching FRED series DFF...
Fetching FRED series PCE...
Fetching FRED series FPI...
Fetching FRED series BAA...
Fetching FRED series BAMLC8A0C15PYEY...
Fetching FRED series GS10...
Fetching FRED series GDI...
Updated data from FRED written to C:\Users\Juergen\.julia\packages\DSGE\tJSkz\save\input_data\raw\fred_181115.csv.
┌ Warning: C:\Users\Juergen\.julia\packages\DSGE\tJSkz\save\input_data\raw\dlx_181115.csv was not found; missings used
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:242
┌ Warning: C:\Users\Juergen\.julia\packages\DSGE\tJSkz\save\input_data\raw\ois_181115.csv was not found; missings used
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:242
┌ Warning: df[obs_longinflation] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_longrate] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_tfp] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_nominalrate1] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_nominalrate2] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_nominalrate3] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_nominalrate4] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_nominalrate5] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
┌ Warning: df[obs_nominalrate6] is all missing.
└ @ DSGE C:\Users\Juergen\.julia\packages\DSGE\tJSkz\src\data\load_data.jl:428
dataset creation successful
Reoptimizing...
Iter Function value Gradient norm
0 6.826539e+03 6.003667e+03
1 1.569033e+03 5.943879e+02
2 1.461981e+03 7.444913e+02
3 1.236580e+03 3.203990e+02
4 1.163819e+03 2.254286e+02
from dsge.jl.
Thanks for figuring out the problem for us, or at least a fix to whatever is causing the problem. I'll update the README to point to this post.
With regard to the data, run_default
uses Model1002
, which uses observables not available from FRED (e.g. we use overnight index swaps to proxy for interest rate expectations during ZLB periods). We get this data through vendors and sources that cannot be released publicly, hence the missing observables.
from dsge.jl.
William, can you help @StefanKarpinski (see here) regarding the TAR archive of DSGE.jl?
from dsge.jl.
The fix here as detailed in JuliaLang/Pkg.jl#1943 is to not include such long paths in the package. There are paths in this package that are 195 bytes long with file names as long as 109 bytes. That has multiple problems:
-
It's too long to be included in a TAR file without extended headers (max file name: 100 bytes), which the 7z tar extractor does not understand, which is why these bogus
.data
and.paxheader
files are created. -
Too long for the standard Windows path length limit of 260 UTF-16 characters. The length of these paths inside of packages leaves very little room for the user's home directory.
The error handling can be improved but if you want this package to be installable on Windows, shorten the paths.
from dsge.jl.
@JuergenWiemers Can you try dev'ing DSGE? I removed the problematic test files generated by the plot test script (although maybe there are other files that are problematic). Unfortunately, I don't have access to a Windows machine, or else I would test it myself.
Alternatively, you can check here: https://api.github.com/repos/FRBNY-DSGE/DSGE.jl/tarball/c6a269cab44459bc1747c3316a9b6bee1ac61887
from dsge.jl.
@chenwilliam77 Well, this is kind of embarassing. Before dev'ing DSGE, I first tried to reproduce the error. So I started from a clean state (I even completely deleted the .julia folder) and switched off the long pathname support in the Windows registry. DSGE 1.1.6 installed without problems. Then I tried the same thing on a second Windows machine, which didn't even have Julia installed before. Again, no problems with installing DSGE on that machine. It goes without saying that the current master of DSGE works as well.
I'm not sure what to make of that. Some weird Heisenbug?
from dsge.jl.
Hrmmmmm, well, whatever happened, I'm glad it works now. Fingers crossed that my changes to the plotting tests are all that's required in the future!
Thanks for all the help in getting this sorted out.
from dsge.jl.
Related Issues (20)
- metropolis_hastings() running too slow HOT 6
- metropolis-hastings draws fixed at the mode for some free parameters HOT 4
- Eval can be replaced by getfield in smooth HOT 1
- TagBot trigger issue HOT 3
- Docker file error HOT 1
- Plots error
- Policy Simulation Library Catalog Criteria HOT 6
- ZLB handling method HOT 2
- Is it possible to update Performance Comparison? HOT 2
- The package doesn't work with GR.jl above v.53 HOT 2
- Installation hangs with Julia 1.6.3 HOT 1
- AnSchorfheide HOT 16
- make_packet.jl HOT 1
- run_default.jl HOT 1
- Can't Get Simple Example To Xqt HOT 3
- run_default.jl HOT 1
- mhsave_vint HOT 2
- After 2020 Q3.
- Installation on Julia 1.9.4 HOT 1
- Failed installation on Julia 1.10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsge.jl.