Project 1

See attached files.

Competency

Don't use plagiarized sources. Get Your Custom Essay on
Project 1
Just from $13/Page
Order Essay

In this project, you will demonstrate your mastery of the following competencies:

· Implement statistical analysis using quantitative and qualitative variables

· Apply statistical techniques to address research problems

Scenario

You are a data analyst working for a real estate company based in Seattle. You have access to a large set of historical data that you can use to analyze patterns between different attributes of a house (such as square footage and number of bathrooms) and the house’s selling price. You have been asked to create different regression models that can be used to predict a house’s selling price based on different factors. These regression models will help your company set better prices when listing a home for a client. You will use the R programming language to perform the statistical analyses and then prepare a report of your findings. Since your report will be read by different stakeholders within your real estate company, you will need to interpret your findings and describe their practical implications.

Note: This data set has been “cleaned” for the purposes of this assignment.

Reference

Harlfoxem. (2016). House Sales in King County, USA [Data file]. Retrieved from https://www.kaggle.com/harlfoxem/housesalesprediction

Directions

1. R Script: To complete the tasks listed below, open the Project One Jupyter Notebook link in the Assignment Information module. Your project contains the data set and a Jupyter Notebook. The Jupyter Notebook contains instructions and blank code blocks where you will write your R scripts. You will be asked to complete the following regression analyses:

· First Order Regression Model with Quantitative and Qualitative Variables

· Complete Second Order Multiple Regression Model with Quantitative Variables

· Nested Models F-Test

2. Summary Report: Once you have completed all the steps in your R script, you will create a summary report to present your findings. Use the provided template to create your report. You must complete each of the following sections by answering all of the questions in each section.

· Introduction: Set the context for your scenario and the analyses you will be performing.

· First Order Regression Model with Quantitative and Qualitative Variables:

i. Correlation analysis between the variables using data visualizations, correlation coefficients, and the correlation matrix

ii. Reporting results of the model by listing and interpreting various model statistics, including R2 and Ra2

i

ii. Evaluate the significance of the model by reporting parameter estimates and performing hypothesis testing for each estimate and the overall model.

iv. Use model equations to make predictions.

· Complete Second Order Model with Quantitative Variables:

i. Correlation analysis between the variables using data visualizations, correlation coefficients, and the correlation matrix

i

i. Reporting results of the model by listing and interpreting estimates of various model statistics

, including R2 and Ra2

iii. Evaluate the significance of the model by reporting parameter estimates and performing hypothesis testing for each estimate and the overall model.
iv. Use model equations to make predictions.

· Nested Models F-Test:

i. Reporting results of the model by listing and interpreting estimates of various model statistics
ii. Evaluate the significance of the model by reporting parameter estimates and performing hypothesis testing for each estimate and the overall model.

iii. Model Comparison: Evaluate whether the complete model is necessary by performing the nested models F-test.

· Conclusion: Summarize your findings and explain their practical implications.

What to Submit

To complete this project, you must submit the following:

R Script
Your Jupyter Notebook R script contains all the statistical analyses you completed for this project. Download your work as an HTML file. Review the file to make sure that every step and all your outputs are included. Submit the HTML file as part of your submission. Review the Jupyter Notebook in Codio Tutorial in the Supporting Materials section if you need help.

Summary Report

Use the provided template to create your summary report. The template contains guiding questions to help you complete each section. Be sure to remove these questions before submitting your report. Your summary report should be submitted as a 3– to 5–page Microsoft Word document. It should include an APA-style cover page and APA citations for any sources used. Use single spacing, 11-point Calibri font, and one-inch margins.

MAT303 Project One Summary Report

[Full Name]

[SNHU Email]

Southern New Hampshire University

Note: Replace the bracketed text on page one (the cover page) with your personal information.

1

. Introduction

Discuss the statement of the problem in terms of the statistical analyses that are being performed. Be sure to address the following:

·

What is the data set that you are exploring?

· How will your results be used?

· What type of analyses will you be running in this project?

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

2. Data Preparation

There are some important variables that are used in this project. Identify and explain these variables.

· What are the important variables in this data set?

· How many rows and columns are present in this data set?

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

3. Model #1 – First Order Regression Model with Quantitative and Qualitative Variables

Correlation Analysis

· Create the following scatterplots and include a copy of each in this section:

· Price (price) vs. the living area (sqft_living)

· Price (price) vs. the age of the home (age)

· Describe what trends, if any, exist for each scatterplot.

· Report the correlation coefficients between the following variables:

·

Price (price) vs. the living area (sqft_living)

· Price (price) vs. the age of the home (age)

· Describe the strength and direction of each correlation coefficient.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Reporting Results

· Write the general form of the multiple regression model using price as the response variable and living area, grade of the home, number of bathrooms, and view as predictor variables. Use (where i
1, 2, … ) to represent the slope parameters for all predictor variables.
Note: You will use the variables living area, grade of the home, and number of bathrooms as quantitative variables and view as a qualitative variable in this model. Use the equation editor to write the general form of the regression equation.

· Create the multiple regression model for price as a response variable with living area, grade of the home, number of bathrooms and views as predictor variables. Write the model equation.
Note: Use the equation editor to write the regression equation.

· What are the values of R2 and
for the model? Provide your interpretation of these statistics.

· Interpret the beta estimates for the living area and lake view.

· Obtain the residuals and fitted values to create the following plots. Include these plots and comment on the validity of assumptions. Include any tables for the values for residuals or the fitted values.

· Residuals against Fitted Values

· Normal Q-Q plot

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Evaluating Significance of Model

· Is the model significant at a 5% level of significance? Carry out the overall F-test by identifying the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of the test.

· Which terms are significant at a 5% level of significance? Carry out individual beta tests by identifying the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of each test.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Making Predictions Using Model

· What is the predicted price for a home that backs out to a lake and has a 2,150 sq ft living area, 7 grade, and three bathrooms? Obtain 90% prediction and confidence intervals for the price of this home. Interpret each interval.

· What is the predicted price for a home that backs out to a road and has a 2,150 sq ft living area, 7 grade, and three bathrooms? Obtain 90% prediction and confidence intervals for the price of this home. Interpret each interval.

· Why is the prediction interval wider than the confidence interval?

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

4. Model #2 – Complete Second Order Regression Model with Quantitative Variables
Correlation Analysis

· Create scatterplots of:

· Price (price) vs. the age of appliances (appliance_age)

· Price (price) vs. the crime rate per 100,000 people (crime)

· Comment on each scatterplot. Is a second order model appropriate using these variables?

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Reporting Results

· Write the general form of a complete second order model for price using age of appliances and crime rate per 100,000 people as predictors. Use (where i
1, 2, … ) to represent the slope parameters for all predictor variables.
Note: Use age of appliances and crime rate as quantitative variables in this model. Use the equation editor to write the general form of the regression equation.

· Create and write the equation for the complete second order regression model for price using age of appliances and crime rate per 100,000 people as predictors.
Note: Use age of appliances and crime rate as quantitative variables in this model. Use the equation editor to write the general form of the regression equation.

· What are the values of and for the model? Provide your interpretation of these statistics.

· Obtain the residuals and fitted values to create the following plots. Include these plots and comment on the validity of assumptions. Include any tables for the values for residuals or the fitted values.
· Residuals against Fitted Values
· Normal Q-Q plot

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Evaluating Significance of Model
· Is the model significant at a 5% level of significance? Carry out the overall F-test by identifying the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of the test.
· Which terms are significant at a 5% level of significance? Carry out individual beta tests by identifying the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of each test.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Making Predictions Using Model

· What is the predicted price for a home that has one-year-old appliances and is in an area that has a crime rate of 81.02 per 100,000 individuals? Obtain 90% prediction and confidence intervals for the price of this home. Interpret each interval.

· What is the predicted price for a home that has 15-year-old appliances and is in an area that has a crime rate of 200.50 per 100,000 individuals? Obtain 90% prediction and confidence intervals for the price of this home. Interpret each interval.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

5. Nested Models F-Test
Reporting Results

· Write the general form of a first order model for price using age of appliances and crime rate per 100,000 people as predictors. Include the interaction term between age of appliances and crime rate. Use (where i
1, 2, … ) to represent the slope parameters for all predictor variables.
Note: Use age of appliances and crime rate as quantitative variables in this model. Use the equation editor to write the general form of the regression equation.

· Create and write the equation for a first order regression model for price using age of appliances and crime rate per 100,000 people as predictors. Include the interaction term between age of appliances and crime rate.
Note: Use age of appliances and crime rate as quantitative variables in this model. Use the equation editor to write the general form of the regression equation.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Evaluating Significance of Model

· Is the model significant at a 5% level of significance? Carry out the overall F-test by identifying the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of the test.

· Which terms are significant at a 5% level of significance? Carry out individual beta tests by identifying the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of each test.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

Model Comparison

You will now compare this model with the second order model for price using age of appliances and crime rate per 100,000 people as predictors to test whether the quadratic (squared) terms contribute in predicting the prices of homes. The complete second order model is Model #2, which you created in this project.

·

In general, what is a reduced and a complete model when comparing two models?

·

Write the general form of the model that is the reduced model in this comparison.

· Write the general form of the model that is the complete model in this comparison.

·

Run the nested model F-test at a 5% level of significance to evaluate if the quadratic (squared) terms are needed. Identify the null hypothesis, the alternative hypothesis, the P-value, and the conclusion of the test.

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

6. Conclusion

Describe the results of the statistical analyses clearly, using proper descriptions of statistical terms and concepts. Fully describe what these results mean for your scenario.

· Which model would you choose to predict house prices? Briefly summarize your findings in plain language.

· What is the practical importance of the analyses that were performed?

Answer the questions in a paragraph response. Remove all questions and this note before submitting! Do not include R code in your report.

7. Citations

You were not
required to use external resources for this report. If you did not use any resources, you should remove this entire section. However, if you did use any resources to help you with your interpretation, you must
cite them. Use proper APA format for citations.

Insert references here in the following format:

Author’s Last Name, First Initial. Middle Initial. (Year of Publication). Title of book: Subtitle of book, edition. Place of Publication: Publisher.

1

What Will You Get?

We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.

Premium Quality

Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.

Experienced Writers

Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.

On-Time Delivery

Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.

24/7 Customer Support

Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.

Complete Confidentiality

Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.

Authentic Sources

We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.

Moneyback Guarantee

Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.

Order Tracking

You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.

image

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

image

Trusted Partner of 9650+ Students for Writing

From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.

Preferred Writer

Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.

Grammar Check Report

Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.

One Page Summary

You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.

Plagiarism Report

You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.

Free Features $66FREE

  • Most Qualified Writer $10FREE
  • Plagiarism Scan Report $10FREE
  • Unlimited Revisions $08FREE
  • Paper Formatting $05FREE
  • Cover Page $05FREE
  • Referencing & Bibliography $10FREE
  • Dedicated User Area $08FREE
  • 24/7 Order Tracking $05FREE
  • Periodic Email Alerts $05FREE
image

Our Services

Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.

  • On-time Delivery
  • 24/7 Order Tracking
  • Access to Authentic Sources
Academic Writing

We create perfect papers according to the guidelines.

Professional Editing

We seamlessly edit out errors from your papers.

Thorough Proofreading

We thoroughly read your final draft to identify errors.

image

Delegate Your Challenging Writing Tasks to Experienced Professionals

Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!

Check Out Our Sample Work

Dedication. Quality. Commitment. Punctuality

Categories
All samples
Essay (any type)
Essay (any type)
The Value of a Nursing Degree
Undergrad. (yrs 3-4)
Nursing
2
View this sample

It May Not Be Much, but It’s Honest Work!

Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.

0+

Happy Clients

0+

Words Written This Week

0+

Ongoing Orders

0%

Customer Satisfaction Rate
image

Process as Fine as Brewed Coffee

We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.

See How We Helped 9000+ Students Achieve Success

image

We Analyze Your Problem and Offer Customized Writing

We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.

  • Clear elicitation of your requirements.
  • Customized writing as per your needs.

We Mirror Your Guidelines to Deliver Quality Services

We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.

  • Proactive analysis of your writing.
  • Active communication to understand requirements.
image
image

We Handle Your Writing Tasks to Ensure Excellent Grades

We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.

  • Thorough research and analysis for every order.
  • Deliverance of reliable writing service to improve your grades.
Place an Order Start Chat Now
image

Order your essay today and save 30% with the discount code Happy