Question: Use Python to solve each problem. dataset: https://www.kaggle.com/uciml/adult-census-income 1.Partition the data set into a training set and a test set, each containing about half of
Use Python to solve each problem. dataset: https://www.kaggle.com/uciml/adult-census-income
1.Partition the data set into a training set and a test set, each containing about half of the records.
2.Run a regression model to predictHours per WeekusingAgeandEducation Num. Obtain a summary of the model. Are there any predictor variables that should not be in the model?
3.Validate the model from the previous exercise.
4.Use the regression equation to finish this sentence: "The estimated hours per week equals...."
5.Interpret the coefficient forAge.
6.Interpret the coefficient forEducation Num.
7.Find and interpret the value ofs.
8.Find and interpretRadj 2.
9.FindMAEBaselineandMAERegression, and determine whether the regression model outperformed its baseline model.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
