Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Anton Goeree <antongoeree@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: NLS per individual |

Date |
Sun, 21 Oct 2012 16:30:16 +0200 |

Dear Statalist users, Currently, I'm doing the following NLS on my dataset: nl (p = 1 / (1 + exp( - {sigma} * (x - y ^ {beta} )))), nolog The dataset contains 500 observations: 50 id's and 10 p/x/y per id. The variable p is either zero or one, and x,y are values between 50 and 200. I'd like to get individual estimates (for each id) for "sigma" and "beta". I could do - bysort id: nl (p = 1 / (1 + exp( - {sigma} * (x - y ^ {beta} )))), nolog - of course, but that would give me a messy list of 50 outputs. Does any of you know if it is possible to put the regression estimates into two new variables? Thanks in advance for any aid! * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: NLS per individual***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**st: Question about output into Latex** - Next by Date:
**Re: st: NLS per individual** - Previous by thread:
**st: Question about output into Latex** - Next by thread:
**Re: st: NLS per individual** - Index(es):