document.write( "Question 156170: Hi, I need help
\n" );
document.write( ".
\n" );
document.write( "This is linear regression
\n" );
document.write( ".
\n" );
document.write( "I have these two lists
\n" );
document.write( ".
\n" );
document.write( "Let's say the left side is
\n" );
document.write( ".
\n" );
document.write( "Still heartbeat rate ! Racing heartbeat rate
\n" );
document.write( "... 50.......................... 166
\n" );
document.write( "... 60.......................... 168
\n" );
document.write( "... 70.......................... 170
\n" );
document.write( "... 80.......................... 172
\n" );
document.write( ".
\n" );
document.write( "I was told to use the first \"x\" as 0, and base the others on \"0\"
\n" );
document.write( "(For example, this is how you would write it in the calculator: 50 = 0, 60 = 10, 70 = 20, 80 = 30
\n" );
document.write( ".
\n" );
document.write( "If you put this in a calculator, using (0,10,20,30)as L1, (166,168,170,172) as L2
\n" );
document.write( ".
\n" );
document.write( "I get the regression line formula, of It has told me to predict
\n" );
document.write( ".
\n" );
document.write( "Still heartbeat rate ! Racing heartbeat rate
\n" );
document.write( "... 40.......................... ???
\n" );
document.write( "... 65.......................... ???
\n" );
document.write( "... 84.......................... ???
\n" );
document.write( ".
\n" );
document.write( "If I put in the numbers ( -10, 15, 34)(based on the first \"50\" = 0
\n" );
document.write( ".
\n" );
document.write( "Using the formula
\n" );
document.write( ".
\n" );
document.write( "(-10) = =
=
=
\n" );
document.write( ".
\n" );
document.write( "The other solutions are ( 169, and 172.8 )
\n" );
document.write( ".
\n" );
document.write( "Now, I found that if you just use the numbers themselves (50, 60, 70, 80) Instead of (0,10,20,30)
\n" );
document.write( ".
\n" );
document.write( "You come up with a different equation
\n" );
document.write( ".
\n" );
document.write( "The new equation = ( The book I got this problem from, has this answer/equation)
\n" );
document.write( ".
\n" );
document.write( "If I predict the same heart rates ( 40, 65, 84)
\n" );
document.write( ".
\n" );
document.write( "If I use the new equation
\n" );
document.write( ".
\n" );
document.write( "(40) = =
=
=
\n" );
document.write( ".
\n" );
document.write( "I get the same predictions, so which regression line is correct
\n" );
document.write( ".
\n" );
document.write( "(A)
\n" );
document.write( ".
\n" );
document.write( "(B)
\n" );
document.write( ".
\n" );
document.write( "Is it \"A\" or \"B\", my question is, \"How do you know which regression line formula is correct?\" It can be an infinite number of equations, depending on what you use for \"L1\"
\n" );
document.write( ".
\n" );
document.write( "Do you only use the First Number in list as \"0\" if it is a year?
\n" );
document.write( ".
\n" );
document.write( "Thanks ahead of time, Levi
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #115040 by stanbon(75887)![]() ![]() ![]() You can put this solution on YOUR website! Using the orinal set of numbers gives you the equation you want: \n" ); document.write( "y = 0.2x + 156 \n" ); document.write( "------------------- \n" ); document.write( "Making the 50 becomes 0 change sinply \n" ); document.write( "moved the regression line 10 to the left. \n" ); document.write( "The y-value for 50 in the 1st set and 0 \n" ); document.write( "in the 2nd set are the same because you \n" ); document.write( "only translated the x values. \n" ); document.write( "-------------------------------- \n" ); document.write( "Each of your sets of x/y pairs gives rise \n" ); document.write( "to a different regression line. I don't \n" ); document.write( "know who told you to traslate 50 to 0; \n" ); document.write( "you might ask them, why? \n" ); document.write( "========================== \n" ); document.write( "Cheers, \n" ); document.write( "Stan H. \n" ); document.write( " \n" ); document.write( " |