Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Perform a Linear Regression Analysis on a data set

1 visualización (últimos 30 días)
Jared Martin
Jared Martin el 21 de Abr. de 2015
Cerrada: John D'Errico el 21 de Abr. de 2015
Write a program that will perform a linear regression analysis on a data set provided by the instructor. The data set will consist of two columns of data separated by spaces in a text file. The two columns of data are the x and y data values recorded from a process that can be modeled by a simple f (x) = m x + b equation. The idea behind linear regression is to process the the given x and y data in a way that allows you to fit the slope and y-intercept parameters in the modeled equation. The equations that perform this analysis are given below in Equation 1 and 2.
In the above equations, Xk and Yk are the data points from the file. Where X0 and Y0 are the first (x,y) data set from the file, X1 and Y1 are the second values in the file and so on until all N values where XN
  1 comentario
John D'Errico
John D'Errico el 21 de Abr. de 2015
Ok. So start writing. This is your homework, not ours. They gave you the formulas. If we do it for you, all you learn is how to con someone into doing your work. Where is the gain in that?

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by