Question: Problem 3: Least squares Grading criteria: code correctness for a, mathematical correctness for b. I was recently working on a paper involving a function N(g,q)

Problem 3: Least squares Grading criteria: code correctness for a, mathematical correctness for b. I was recently working on a paper involving a function N(g,q) for which I have the following values. (This is a true story, by the way.) g=1 g=2 g=3 g=4 2 3 4 5 7 9 35 63 91 215 677 1397 1645 10963 38160 9 129 2953 132839 a. For each fixed value of g, we expect N(9,9) to be approximately bqa for some a and b. Using Scipy, make a least-squares calculation to guess reasonable values of a and b. b. Based on your answer to a, make a guess as to the values that would appear if I added the column q = 7. Problem 3: Least squares Grading criteria: code correctness for a, mathematical correctness for b. I was recently working on a paper involving a function N(g,q) for which I have the following values. (This is a true story, by the way.) g=1 g=2 g=3 g=4 2 3 4 5 7 9 35 63 91 215 677 1397 1645 10963 38160 9 129 2953 132839 a. For each fixed value of g, we expect N(9,9) to be approximately bqa for some a and b. Using Scipy, make a least-squares calculation to guess reasonable values of a and b. b. Based on your answer to a, make a guess as to the values that would appear if I added the column q = 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
