For Project One, you have been asked to create different regression models analyzing a housing data set. Before beginning work on the project, be sure to read through the Project One Guidelines and Rubric to understand what you need to do and how you will be graded on this assignment. Be sure to carefully review the Project One Summary Report template, which contains all of the questions that you will need to answer about the regression analyses you are performing.
For this project, you will be writing all the scripts yourself. You may reference the textbook and your previous work on the problem sets to help you write the scripts.
You are a data analyst working for a real estate company. You have access to a large set of historical data that you can use to analyze relationships between different attributes of a house (such as square footage or the number of bathrooms) and the house’s selling price. You have been asked to create different regression models to predict sale prices for houses based on critical variable factors. These regression models will help your company set better prices when listing a home for a client. Setting better prices will ensure that listings can be sold within a reasonable amount of time.
There are several variables in this data set, but you will be working with the following important variables:
VariableWhat does it represent?priceSale price of the homebedroomsNumber of bedroomsbathroomsNumber of bathroomssqft_livingSize of the living area in sqftsqft_aboveSize of the upper level in sqftsqft_lotSize of the lot in sqftageAge of the homegradeMeasure of craftsmanship and the quality of materials used to build the homeappliance_ageAverage age of all appliances in the homecrimeCrime rate per 100,000 peoplebackyardHome has a backyard (backyard=1) or not (backyard=0)viewHome backs out to a lake (view=2), backs out to trees (view=1), or backs out to a road (view=0)
In the following code block, you have been given the R code to prepare your data set.
Click the Run button on the toolbar to run this code.
In [1]:
housing <- read.csv(file="housing.csv", header=TRUE, sep=",")
# converting appropriate variables to factors
housing <- within(housing, {
view <- factor(view)
backyard <- factor(backyard)
})
# number of columns
ncol(housing)
# number of rows
nrow(housing)
222692
You have been asked to create a first order regression model for price as the response variable, and sqft_living, grade, bathrooms, and view as predictor variables. Before writing any code, review Section 3 of the Summary Report template to see the questions you will be answering about your first order multiple regression model.
Run your scripts to get the outputs of your regression analysis. Then use the outputs to answer the questions in your summary report.
Note: Use the + (plus) button to add new code blocks, if needed.
In [ ]:
myvars <- c("mpg","wt","drat")
mthouse_subset <- mthouse2[myvars]
# Print the first six rows
print("head")
head(mtcars_subset, 6)
# Print the correlation matrix
print("cor")
corr_matrix <- cor(mtcars_subset, method = "pearson")
round(corr_matrix, 4)
In [ ]:
In [ ]:
In [ ]:
In [ ]:
You have been asked to create a complete second order regression model for price as the response variable, and appliance_age and crime as predictor variables. Before writing any code, review Section 4 of the Summary Report template to see the questions you will be answering about your complete second order multiple regression model.
Run your scripts to get the outputs of your regression analysis. Then use the outputs to answer the questions in your summary report.
Note: Use the + (plus) button to add new code blocks, if needed.
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
You have been asked to create a reduced model and compare it with the complete second order model (Model #2 above). Before writing any code, review Section 5 of the Summary Report template to see the questions you will need to answer.
Run your scripts to get the outputs of your regression analysis. Then use the outputs to answer the questions in your summary report.
Note: Use the + (plus) button to add new code blocks, if needed.
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
The HTML output can be downloaded by clicking File, then Download as, then HTML. Be sure to answer all of the questions in the Summary Report template for Project One, and to include your completed Jupyter Notebook scripts as part of your submission.
Why Work with Us
Top Quality and Well-Researched Papers
We ensure that all instructions are followed meticulously to deliver exactly what you need. You can select your academic level— high school, college/university, or professional— and we will match you with a writer who holds the relevant degree for your task.
Professional and Experienced Academic Writers
Our team of professional writers brings extensive experience in both academic and business writing. Many of our writers are native speakers, ensuring high-quality work for any task you need assistance with.
Free Unlimited Revisions
If you feel something is missing, don’t worry—send your order for a free revision! You have 10 days to request a review after receiving your final document. Simply log into your personal account or contact our support team to initiate the revision process. We’re committed to ensuring your complete satisfaction!
Prompt Delivery and 100% Money-Back-Guarantee
We are committed to delivering all papers on time. Should we require additional time to ensure your paper meets the highest standards, we will reach out to discuss a deadline extension. If an extension is not possible, we offer a 100% refund guarantee to ensure your satisfaction.
Original & Confidential
We utilize advanced writing tools to ensure that every document you receive is free from plagiarism and AI-generated content. Our expert editors meticulously review all citations and references within the text for accuracy. Additionally, we guarantee the highest level of confidentiality with all of our services, ensuring your privacy is always protected.
24/7 Customer Support
Our support agents are available 24/7, dedicated to providing you with the best customer experience. Feel free to reach out anytime you need assistance—we’re here to help!
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Choose peace of mind. Choose Superior Custom Writers—your trusted partner for stress-free academic success!
Essays
No matter the type of academic paper you need or how urgent the deadline, we’ve got you covered! Choose your academic level and paper type, all at an affordable price. Our dedicated team handles all your paper needs while providing round-the-clock, 24/7 customer support for a seamless experience.
Admissions
Admission Essays Help
An admission essay is a critical component of your application, serving as a personal statement highlighting your unique qualities and aspirations for college, university, or graduate school. Our professional writing service,crafts an exceptional, compelling, and tailored admission essay that showcases your strengths and leaves a lasting impression. Let us help you stand out and secure your spot at your dream institution!
Reviews
Editing Support
Our team of expert academic writers and editors ensures your paper is thoroughly polished. We meticulously revise and refine your work, ensuring clarity and coherence. Additionally, we format your document according to your preferred style, including accurate citations and reference lists in APA, Harvard, MLA, Chicago, or Turabian formats.
Reviews
Revision Support
If you feel your paper could be improved, simply request a review. We will have the writer or an editor review your paper to ensure it meets your expectations. You can use this option as many times as needed, at no additional cost, because your satisfaction is our priority. We’re committed to delivering the best possible service, every time.