Hi, I am trying to create a quadratic function in Stata. I have tried a few things but nothing seems to work. An error message appears.I have a few other variables within my regression so I am not sure if that's the reason as to why it isn't working. So far I have tried:
twoway (function y=-0.45+0.17*x-0.11x^2+0.075*g+0.095*h+0.16*j, range(0 10))
Then I tried implying it to:
twoway (function y=-0.45+0.17*x-0.11x^2, range(0 10))
Any thoughts?
twoway (function y=-0.45+0.17*x-0.11x^2+0.075*g+0.095*h+0.16*j, range(0 10))
Then I tried implying it to:
twoway (function y=-0.45+0.17*x-0.11x^2, range(0 10))
Any thoughts?

Comment