Question: Hi , I spend so much time trying to solve this problem using python and sys . argv but was not successful. I can get

Hi, I spend so much time trying to solve this problem using python and sys.argv but was not successful. I can get the answer but not exactly the expected answer which is -
.{0,}-284.99
.{0,}13.74
.{0,}146.77
dtype: float64
0.39
Q.german.py
Use the german_credit_data.csv file to complete the following assignment.
Create a file,
german.py, that loads the .csv file and runs a regression predicting
credit amount from age and duration, in that order. Add a constant using
sm.add_constant(data).
You will need to rename the column 'Credit amount' to 'Credit_amount'.
Then, print the parameters and R-squared to 2 decimals using
 Hi, I spend so much time trying to solve this problem

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!