Given a data frame house.price with two columns: size for the number of square feets, and price for the price in thousand dollars. Write a R script to predict the prices for houses of 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000 square feet, using a simple linear regression.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter24: Forecasting Models
Section24.5: Ad Hoc Forecasting
Problem 1P
icon
Related questions
Question

Given a data frame house.price with two columns: size for the number of square feets, and price for the price in thousand dollars. Write a R script to predict the prices for houses of 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000 square feet, using a simple linear regression.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Bayes' Theorem
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole