Dear all:
I have the next issue, I want to estimate a non lineal least square, for that use the next "program"
but now i would like to do the same but with Mata, using Gauss Newton Method. i donĀ“t know how to start programming.
Kind regards
I have the next issue, I want to estimate a non lineal least square, for that use the next "program"
Code:
program nlequation1, rclass version 13 syntax varlist(min=2 max=2) if local y : word 1 of `varlist' local x : word 2 of `varlist' return local eq "`y' = {b0} + (`x')^{b1}" return local title "Non Linear Least Square Equation" end nl equation1: clarity quality nl equation1: clarity quality , initial(b0 b1 )
Kind regards
Comment