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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started