Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 601 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 601 Bytes

olsgo

Ordinary-least-squares bivariate regression in Go.

Use

To use what's already created:

  1. First install
go get github.com/w-decker/olsgo@latest
  1. Then import like you would any other library
package main

import "github.com/w-decker/olsgo"
  1. Go to the example to see how to execute olsgo and get some output.

Output

  1. .txt file
OLSGO Output 
Intercept: 46.0917        B1: 0.1461         Pearson's r: 0.9471         Residual variance: 0.1030         
  1. Some plots (more coming later)

[Raw data]