I’m working on the second part of the Data Modeling Lab and I’ve been looking at both the instructions on the data modeling lab sheet and the least squares page and still cannot figure out what the coeffs
array is telling us. I assumed that if we took a = np.exp(0.02801)
and r = np.exp(-34.921)
that this may be about the model we are looking for, but clearly that didn’t work. So, what is the coeffs
array exactly telling us? And how can we translate that to find a
and r
?
An archive of Mark's Spring 2018 Numerical Analysis course.
Data Modeling Lab Exercise 2 Help
theoldernoah
mark
Any thoughts about this @anonymous_user??
anonymous_user
Hey Noah,
The short version is, the vector of coefficients gives us the right numbers, but we have to interpret them in the right order. If you try reversing which number you’re assigning to which variable, it should plot something that looks much more appropriately shaped (i.e. models a population that doesn’t get wiped out in the first few centuries of the current era).