---------------------------------------------------------------------------------------------- log: D:\My Documents\My Downloads\Econ 170\chapter 9, question 2.log log type: text opened on: 1 Nov 2005, 09:38:47 . generate float rvm2= rvm^2 . regress totalcost rvm rvm2 Source | SS df MS Number of obs = 246 -------------+------------------------------ F( 2, 243) = 964.03 Model | 8.0121e+10 2 4.0060e+10 Prob > F = 0.0000 Residual | 1.0098e+10 243 41555159.7 R-squared = 0.8881 -------------+------------------------------ Adj R-squared = 0.8872 Total | 9.0219e+10 245 368239382 Root MSE = 6446.3 ------------------------------------------------------------------------------ totalcost | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- rvm | 4.850537 .3104556 15.62 0.000 4.239009 5.462064 rvm2 | .0000118 .0000203 0.58 0.562 -.0000282 .0000517 _cons | -1305.585 632.2439 -2.07 0.040 -2550.963 -60.20747 ------------------------------------------------------------------------------ . generate float marginalcost= (rvm+rvm2)-((rvm-1)+((rvm-1)^2) too few ')' or ']' r(132); . generate float marginalcost= (rvm+rvm2)-((rvm-1)+((rvm-1)^2)) . twoway connected marginalcost rvm, title(Marginal Cost as a Function of Output) xtitle(Outpu > t) ytitle(Marginal Cost) . graph save "D:\My Documents\My Downloads\Econ 170\chapter 9, question 2.gph", replace (note: file D:\My Documents\My Downloads\Econ 170\chapter 9, question 2.gph not found) (file D:\My Documents\My Downloads\Econ 170\chapter 9, question 2.gph saved) . log close log: D:\My Documents\My Downloads\Econ 170\chapter 9, question 2.log log type: text closed on: 1 Nov 2005, 09:51:34 ----------------------------------------------------------------------------------------------