Skip to content

Univariate Statistics implemented the hard way: from math expressions to R code

License

Notifications You must be signed in to change notification settings

hexhead/univariate_distributions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

univariate_distributions github Repository

Statistics Done the Hard Way

Univariate distribution is a dispersal type of a single random variable described either with a probability mass function (pmf) for discrete probability distribution, or probability density function (pdf) for continuous probability distribution.

In statistics, a univariate distribution is a probability distribution of only one random variable. This repository contains a collection of basic R codes that implement univariate distributions. I mostly grabbed the math from Wikipedia articles and Wolfram's language reference web pages. I did this the hard way to learn the mathematical basis for statistics I've done like a robot for years. Not guranteed to work correctly, but that is one of the main ideas: to verify code with resorting to R's built-in functions for statistical distributions.

https://www.wikiwand.com/en/Univariate_(statistics)

https://reference.wolfram.com/language/guide/ParametricStatisticalDistributions.html

Releases

No releases published

Packages

No packages published