Error in the R-code for the Oblig

It was pointed out to me that there is an error in the function ndist() for the age distribution. The index k should run from 0 to K and not from 1 to K+1. A corrected version is now on the web page. If you made your computation based on the old, faulty version, do not worry, you will not be failed for that.

Published Apr. 13, 2018 10:40 AM - Last modified Apr. 13, 2018 10:40 AM