H
H
Hopps2020-11-30 15:23:53
Python
Hopps, 2020-11-30 15:23:53

How to create linear regression and create matrix by formula?

Please help, I do not know how to set the correct parameters for the calculation.

1. There is a one-dimensional matrix, 940 rows, for which you need to perform a linear regression according to the following model:
y = x1 + ⋯ +xn
You also need to enter the value of the correlation coefficient and the values ​​of the model parameters.

2. There is a formula:
5fc4e3ee28c38372799423.png

Condition:
Where A and B are vectors representing consecutive columns.
Create a similarity matrix based on the matrix in the file.

matrix view
5fc4e410b8821125250173.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmshar, 2020-11-30
@dmshar

"Set the right parameters" can you understand what function you are going to use? So what?
Only this weakly correlates with the question - "How to create a linear regression." Well
, how to "create a matrix by formula?" suggests that you have little understanding of what you are writing about - it's a painfully random set of words in your question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question