Is there a "rule of thumb" for calculating the amount of RAM required on a computer to conduct a multivariate regression in run-time $t$ with a $p \times n$ design matrix?
Assuming I have to find the product $X^TX$ when solving for OLS coefficients, is it desirable to have enough RAM to hold an $n \times n$ dataset in memory?
I run analyses in both SAS and R, which have different capabilities, so I realize answers may differ based on which language I'm using.