R, SEE

Linear Model in R

For theoretical develpments, refer In R, linear models can be directly implemented using the base function lm( ) . The