Linear Model with 6 Variables
How do I create a linear model for 6 variables? http://i.imgur.com/deSZewg.png I've done (a) but I'm stuck with (b), would really appreciate a few pointers! Thanks in advance for any help.
Does "R drive" have anything to do with the software R? As in the one available here: http://www.r-project.org/ Anyway, a linear model will posit that the amount of hydrocarbon emission is dependent on a linear combination of the 6 variables, plus an error component. In other words, if \(y\) denotes `hydrcarb` and \(x_1,x_2,\ldots,x_6\) denote `tanktemp`, `distemp`, `tankpres`, `disppres`, and the last two squared, then \[y=\beta_1x_1+\beta_2x_2+\cdots+\beta_5x_5+\beta_6x_6+\varepsilon\] where \(\varepsilon\) represents the error component. A regression analysis will give you estimates for the \(\beta_i\) coefficients for each of the \(i\) components.
Join our real-time social learning platform and learn together with your friends!