Bookmark and Share

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, is already up and running.

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

st: MLE est. linear form with two sets of parameters

From   Denis Kalugin <>
To   statalist <>
Subject   st: MLE est. linear form with two sets of parameters
Date   Sun, 30 May 2010 23:57:36 +0400

Dear all,

I'm currently facing a problem of estimating the following setup:
The goal is to estimate two latent variables, let's say L1 and L2. The
variables are linked to variable y in the following manner:
y=0 if L1<z<L2
y=-1 if z>L2
y=1 if z<L1

, exp(x*b2+error)/(1+exp(x*b2+error)

This is estimated via slightly altered probit (as far as I understand).

P(y=-1)=norm[(log(z/(1-z)) - xb1)/sigma(error1)]
P(y=1)=(1-norm[(log(z/(1-z)) - xb1)/sigma(error1)])*(1-norm[(log(z/(1-z)) -

However, my problem right now is how to feed TWO sets of parameters (b1 and
b2) to be estimated. If i write this as a linear form, then stata would
generate only one vector. in "ml model" function there is no option to
define the parameters manually (as there is in non-linear least squares for

A related question is how to estimate these dependencies with non-linear
least squares method? The original estimation routine is from Dudley (2007),
a paper on Tests of Dynamic Trade-off theory of Capital Structure. The
authors just says "estimation is done by NNLS", but i don't get a clue as to
how he goes about it.

Could you please help me out on this coz i'm utterly stuck.

Many thanks in advance!

Best regards, Denis.
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index