Lecture 6 - Approximation Flashcards

1
Q

Regression

A

Another name of approximation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Using of approximation

A

We use it when the data have some error and we want to represent for example the general trend of data. There is no sens to make an effort to intersect every point because they may be incorrect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Measurements

A

Lagrange interpolation is ok, but when we take into consideration that some points was measured with some accuracy then the STRAIGHT LINE would be more proper.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Trends

A

They can be shown by polynomials with different degrees (very often low-degree ones) instead large tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Linear Regression start

A

We create a straight line “y=a0+a1x”, which pass directly through a single point and we can shift this line up or down using error “e”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Linear Regression with N points

A

When we consider N points and one straight line, each point has its own error ei

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Linear Regression strategy

A

The most popular strategy for fitting the best line is to minimize the SUM OF THE SQUARES of errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Least squares criterion

A

The approach with minimizing sum if the squares of errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Error in the linear regression

A

Residual between the measured y and the y calculated with the linear model; Value that was given and value of our line function in the same point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Linear regression error equation

A

ei=(yi-a0-a1xi)^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Determining coefficients on line/polynomial step 1

A

Calculate the DERIVATIVE of “sum of the squares” with respect to each coefficient and compare them to zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Determining coefficients on line/polynomial step 2

A

Divide the sum of whole bracket to sums of particular elements. Change the equation in such way that elements with Y are on the right side and rest on the left.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Note for sums

A

When you calculate SUM form i=1 to n of free coefficients a0 it just n*a0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Polynomial Regression

A

Works exactly the same as linear, just more coefficients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Drawback of polynomial regression

A

RUNGE’s effect - big oscillations at the edges

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Trigonometric functions

A

We can use trig functions instead of monomials with w(omega) as a pulsation

17
Q

Determining coefficients on line/polynomial step 3

A

Change obtained set of equations to matrices and calculate coefficients.
Ma=y => a = y*inv(M)

18
Q

Trigonometric functions -basic function

A

y=a0+a1sin(wx)+ a2cos(wx)+ a3sin(2wx)+ a4cos(2wx)+…

We can divide it into separate functions: fi0(x)=1, fi1(x)=sin(wx), fi2=cos(wx)…

19
Q

Trigonometric function - coefficients

A

We can obtain coefficients by solving Sa=y