Comments (3)
@Xincheng-Qiu . Equation (16.3) in the lab is written in exactly the same way as in Judd (1998, p. 72) equation (3.6.3). The only difference is in how the indices over which the terms are summed are expressed (but they are the same). Below is the specification in Judd (1998, p. 72) equation (3.6.3).
I think the equation above is the correct specification of the Gauss-Seidel algorithm. Or at least, your issue with the k
superscript on the second term in the brackets is not the problem.
Judd (1998, p. 71) specifies the Gauss-Jacobi algorithm in equation (3.6.2).
The reference for Judd (1998) is the following.
Kenneth L. Judd, Numerical Methods in Economics, MIT Press, 1998.
from bootcamp2019.
@rickecon I think Judd (1998, p. 72) equation (3.6.3) is the same as my specification above. Equation (16.3) in the lab (see below), however, specifies the (k+1)-th iteration term (mistakenly) as the k-th iteration term.
from bootcamp2019.
@rickecon Ah I guess I didn't express it clearly in my first post. The equation in my first post is the correct one, not the wrong expression in the lab file.
from bootcamp2019.
Related Issues (20)
- How to submit homeworks/problem sets HOT 2
- Rust (1987) Python code
- Machine Learning material HOT 2
- Sublime Text [or other editor] button in Mac Finder HOT 1
- LaTeX symbols HOT 1
- Errors in running install_SG.sh HOT 5
- Jupyter notebooks on the cluster. HOT 1
- Try grid1.setSurplusRefinement(fTol, -1, "fds")
- Plotting points and function HOT 2
- Fixing the error when running main.py HOT 1
- Midway Alias (an easier way to access Midway, for Mac)
- Draw random numbers in C++ HOT 2
- Does anyone know how to time functions in C on cluster?
- Dynare Pset
- Cannot run Dynare in MatLab HOT 1
- Intertemporal Asset Pricing using scipy.optimize.broyden1 HOT 2
- Bellman equation in Aiyagari problem set HOT 1
- Trouble reading Pickle file & the wayout
- Linear Systems - Sparse matrices HOT 4
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 bootcamp2019.