Skip to content

w-decker/olsgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]