[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Performing operations on the results of a non-linear regression
> I am trying to do some calculations using the results of a
> regression. I wrote the nl function but I am not sure how I
> can get the
> coefficients as variables that I can use in calculations.
> I would like to write a program that runs the nl regression
> and than does
> some calculations with the regression coefficients and
> returns the value of these calculations.
Put coefficients in a vector after fitting:
. mat b = e(b)
. scalar foo = _b[foo]
for varname -foo-.
* For searches and help try: