Dear all, I want to use non-linear least square estimation in STATA. For this, I need to find best polynomial fit to my data i.e. which degree polynomial is best fitting to my data. Can you please tell me commands to execute this?
The method of least squares is a standard approach in regression analysis to the approximate solution of overdetermined systems, i.e., sets of equations in which there are more equations than unknowns. The method of least squares grew out of the fields of astronomy and geodesy as scientists and mathematicians sought to provide solutions to the challenges of navigating the Earth's oceans during the Age of Exploration. The accurate description of the behavior of celestial bodies was the key to enabling ships to sail in open seas, where sailors could no longer rely on land sightings for navigation. The first clear and concise exposition of the method of least squares was published by Legendre in 1805.
I used least squares recently in my paper, but I do not know what STATA is .Sorry about that.