Finding linear regression equation with unequal sample sizes

Thread Starter

asilvester635

Joined Jan 26, 2017
73
The data samples x and y for question 2 are unequal. Here, we have more y points than x points. How do I go about solving that?

I just need help with the calculations. Once I know how to do the calculations I can just translate that into java code.

LR#2.jpeg
 

Thread Starter

asilvester635

Joined Jan 26, 2017
73
For linear regression you need a y value for every x value.
You have 26 x and 26 y so you do have equal numbers.
Sorry, I though that question 2 was different. For some reason the physical length of the sample data for x and y made it seem like y had more sample data.

Also, Is it necessary to figure out the standard error or could I leave that out?
 

wayneh

Joined Sep 9, 2010
18,087
That depends on what you’re doing. If you need to know confidence intervals, significance versus another sample and so on, you need the SE.
 

MrAl

Joined Jun 17, 2014
13,667
The data samples x and y for question 2 are unequal. Here, we have more y points than x points. How do I go about solving that?

I just need help with the calculations. Once I know how to do the calculations I can just translate that into java code.

View attachment 148331
Hi,

A couple questions.

First, do you have any idea how to do this? That would help define a path to the solution fo us here reading this. The solution to these kinds of very broad questions often depends on what you have done in the past as you are expected to continue with that method(s).

Second, are you to use a least squares fit?

Third, are you to treat that greek letter variable 'epsilon' as the noise?
 
Top