# MultiLinear regression analysis - have answer just need someone to verify

Watch
Announcements
#1

I have obtained the following values of

for b i)
0
7 years ago
#2
(Original post by ajayhp)

I have obtained the following values of

for b i)
Just ran the data through LINEST on Excel, and I get 7.977777778 0.546153846 respectively for the two parameters.

Assuming it's the standard least squares regression, we appear to have a discrepancy.
0
#3
(Original post by ghostwalker)
Just ran the data through LINEST on Excel, and I get 7.977777778 0.546153846 respectively for the two parameters.

Assuming it's the standard least squares regression, we appear to have a discrepancy.
Hi ghostwalker.

I have also run it in SAS and it appears to give your answer.

0
7 years ago
#4
(Original post by ajayhp)
Hi ghostwalker.

I have also run it in SAS and it appears to give your answer.

I'm not well up on the theory, and have no idea what an X matrix is in the context, nor how you got the values you posted, or what part a) of the question was.

If you can elaborate I may be able to help, but can't guarantee it.
0
#5
For a generalised Linear model:

Where

The X matrix is as folows:

We also have:

what would Y be in this case

(Original post by ghostwalker)
I'm not well up on the theory, and have no idea what an X matrix is in the context, nor how you got the values you posted, or what part a) of the question was.

If you can elaborate I may be able to help, but can't guarantee it.
0
#6
Since Y has some repeated values maybe i can remake the whole of the matrix X

so then Y would be:

0
7 years ago
#7
(Original post by ajayhp)
...
I'm guessing there, and can't find anything in the literature available to me.

But since y is actually the Y matrix of values, I suspect you need to have all 9 values in the Y matrix, and add repeats to the X matrix as necessary.

As per your last post, but without the zero entries, so 9 columns in each.

But I am guessing!
0
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### Poll

Join the discussion

#### How would you feel if uni students needed to be double vaccinated to start in Autumn?

I'd feel reassured about my own health (25)
16.56%
I'd feel reassured my learning may be less disrupted by isolations/lockdowns (49)
32.45%
I'd feel less anxious about being around large groups (14)
9.27%
I don't mind if others are vaccinated or not (15)
9.93%
I'm concerned it may disadvantage some students (7)
4.64%
I think it's an unfair expectation (38)
25.17%
Something else (tell us in the thread) (3)
1.99%