Multiple Linear Regression (2 factors, 1 output)

ChaoticLlama
Messages
58
Reaction score
0
Hello all;

I'm doing work for my job, and I've forgotten my statistics =(.

I first want to know if what I'm trying to do is possible.

I want to create a linear regression of the form Y = a * x1 + b * x2 + c.

http://imgur.com/Q4vGP"

As you can see, there is space that is grayed out (those tests were not performed). I was originally instructed to run my experiment by holding x1 constant and varying x2, and holding x2 constant and varying x1. (I made a dummy data set to make it easier to analyze).

I'm attempting to find the parameters (a,b, & c) using the trusty formula \beta = (X'X)^{-1}X'Y.

Thanks for your help!
 
Last edited by a moderator:
Physics news on Phys.org
http://imgur.com/mciGw"
 
Last edited by a moderator:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top