Question: Topic: A linear model can be used to predict unknown values in a dataset. Describe in your own words how, when given a value for
Topic: A linear model can be used to predict unknown values in a dataset. Describe in your own words how, when given a value for the input variable, you can predict the value of the output variable. Provide an example. A linear model uses the standard equation for a line to estimate an output based on an input. In the linear equation, y=mx+b, y is the output value while x is input value. M is the slope (rise over run) and b is the y-intercept or where the line crosses the y-axis. Ultimately, all you need is a slope (m) and an intercept (b) and you can be off an running! For instance, you could predict the what the value of a home should be by how many bedrooms it has. You would collect sales price and the number of bedrooms data from home sales and chart them. From this, you would identify the slope and intercept of the model. Using the linear equation, you could plug in any number of bedrooms for x and get a sales price y. It would not take into account location, size of home and other factors that ultimately affect the overall sales price
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
