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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: Constrained linear regression... is not linear?


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Constrained linear regression... is not linear?
Date   Tue, 7 Dec 2010 18:49:14 +0000 (GMT)

--- On Tue, 7/12/10, kokootchke wrote:
> What does logit(.3) do and why are you doing that?

Type in Stata -help logit()-, it ensures that the parameter
to be estimated can range from -huge to +huge, while the 
parameter of interest ranges between 0 and 1. This is also
explained in the FAQ I suggested earlier today.

> I don't understand what the nl command is doing with this
> value for the local variable i, and what the nlcom command 
> is doing afterwards.

-nl- just estimates your parameters, while -nlcom- transforms
it to the metric you want.

> Maarten, I have read the information in the link you sent
> but I must say that it's beyond my programming capabilities.
> I'm not a complete ignorant when it comes to programming and
> I have programmed in C and Fortran before... so perhaps you
> could recommend a few links/books that could teach me how to
> do this sort of programming in Stata?

<http://www.stata-press.com/books/ml4.html>

Hope this helps,
Maarten

--------------------------
Maarten L. Buis 
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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/


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