I want to run a regression with a squared variable. My original regression formula was:
lm(formula = ed ~ dist + female + bytest + tuition + 
             black + hispanic + incomehi + ownhome + 
             dadcoll + momcoll + cue80 + stwmfg80, 
             data = CollegeDistance)
I want to square the dist variable to add it into my formula. Any idea on how to do this? 
 
    