Question
We will use the Ames Housing dataset, which has 82 variables and 2930 observations (AmesHousing.txt). The 82 features include 23 nominal, 23 ordinal, 14 discrete,
We will use the Ames Housing dataset, which has 82 variables and 2930 observations (AmesHousing.txt). The 82 features include 23 nominal, 23 ordinal, 14 discrete, and 20 continuous variables. You may just use 20 continuous variables in this project.
Your goal is to predict the sale price. \textbf{Exclude the Order, PID, and of course SalesPrice variables from your predictors.} You may want to combine variables (e.g. summing square feet) and perform transformations for addressing the nonlinearity that we have learned about.
You should try multiple linear regression (with or without transformations) and perform variable selection or shrinkage methods, but you are welcome to explore more! You need to preprocess the dataset. After the preprocessing, use the following code to define your test set, and its complement the training set.
I'm nit able to upload the txt file here.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp)
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Step: 3
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started