use "C:\Users\Asus\Documents\AUCA\Teaching\2022-2023\Econometrics I\Seminars\Seminar 5\Data\hprice1.dta" describe sum regress price lotsize sqrft bdrms predict pricehat bro gen pricehatsqrd=pricehat^2 gen pricehatcubed=pricehat^3 gen pricehatfourth=pricehat^4 regress price lotsize sqrft bdrms pricehatsqrd pricehatcubed pricehatfourth regress price lotsize sqrft bdrms estat ovtest reg lprice llotsize lsqrft bdrms predict pricetilde gen pricetildesqrd=pricetilde^2 gen pricetildecubed=pricetilde^3 gen pricetildefourth=pricetilde^4 reg lprice llotsize lsqrft bdrms pricetildesqrd pricetildecubed pricetildefourth reg lprice llotsize lsqrft bdrms estat ovtest gen lbdrms=log(bdrms) reg price lotsize sqrft bdrms llotsize lsqrft lbdrms reg price lotsize sqrft bdrms reg price lotsize sqrft bdrms llotsize lsqrft lbdrms test llotsize lsqrft lbdrms reg price llotsize lsqrft lbdrms reg price lotsize sqrft bdrms llotsize lsqrft lbdrms test lotsize sqrft bdrms reg price llotsize lsqrft lbdrms predict pricebar reg price lotsize sqrft bdrms pricebar reg price lotsize sqrft bdrms predict pricedot reg price llotsize lsqrft lbdrms pricedot