[R-sig-teaching] R code to perform OLS by hand

Christian A. Parker cparker at pdx.edu
Tue Nov 6 15:31:24 CET 2007


http://web.pdx.edu/~cparker/scripts/byhand.r


Antonio P. Ramos wrote:
> Hi all.
>
> Does anyone have a "smart" code for performing bi and mult-ivariable
> regression in R by hand? This is suppose to help students without a sound
> knowledge of R to understand what the computer is doing when we write
> lm(x~y).
>
> Thanks in advance,
>
> Antonio.
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-teaching at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>
>




More information about the R-sig-teaching mailing list