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.

# st: Optimization, MLE

 From Hobst To statalist@hsphsun2.harvard.edu Subject st: Optimization, MLE Date Sat, 3 Jul 2010 03:34:30 -0700 (PDT)

```Hello

I am a lerner in Stata and have some major problems replicating results from
a paper.

The Lagrangian was differentated and reformulatet, gives:

(ni. - nii)/(1-pi) +(n.i - nii)/(pi) +lamda = 0 für alle i = 1,...,20

and Sum (pi) =1

n.i = sum row
ni. = sum column
nii = diagonal entries
Pii = cell-percentage of row-sum

I now want to solve this for the Pi's, if possible using MLE. But i just
dont get how to specifie the commands.

For every kind of help i would be very grateful... I need to do this
estimation for my bachelor thesis and i cant find help anywhere... Thank you

Here i add the part of the paper i want to replicate :
http://statalist.1588530.n2.nabble.com/file/n5250743/papergz.png
http://img16.imageshack.us/img16/7036/papergz.png
--
View this message in context: http://statalist.1588530.n2.nabble.com/Optimization-MLE-tp5250743p5250743.html
Sent from the Statalist mailing list archive at Nabble.com.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```