Linear model
Many phenomena in science have a related linear relationship model. The NumPy linalg
package deals with linear algebra computations. We will begin with the assumption that a price value can be derived from N previous prices based on a linear relationship.