
Wikipedia makes linear regression seem rather complicated. You can now browse to and view the web page. To start the server change back to the previous directory and run it using Nodejs: cd.

Then change into the the client directory and install bower dependencies: cd client Running the codeįirst you'll need NodeJS installed, get the latest version from .Īfter cloning or downloading and unpacking the code, change to the repo's directory and install dependencies via npm: cd average-true-range-demo

Please show your support on Patreon and I'll give you access to the code and help you get it running. Working example code for this post is available to Patrons.

In this post I'll show how to compute and render a linear regression trend line. Linear regression is a technique that is very useful when analysing the trajectory of a stock.
