Suppose a linear regression was fitted on these data. The estimated model is ππ = 2 β 0.5ππ1 + 2.5ππ2, where ΕΆ is the predicted (or expected) value of Y, X1 and X2 are the observed values of the columns X1 and X2. Design a Python program to compute ΕΆ for every row of the array and store the results in a separate NumPy array as well.
ANL252: Python for Data Analytics Question 1 Given the following data which contain 20 rows and 3 columns: X1, X2, […]