Friday, September 8, 2023

Regression Coefficients

Data Set:

x   y

0    3

1    5

2    7

3    9

4   11

5   13

6    15

7    17

8    19

9    21

10   23

The best-fitted line is given by Y = aX + b 

where regression coefficients:


()(2)()()(2)()2

n refers to the number of data points in the given data sets.

No comments:

Post a Comment

N-point Star in Microsoft Visual Studio Console App

#include <windows.h> #include <cmath> #include <iostream> LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,...