Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: infiniy


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: infiniy
Date   Wed, 16 Oct 2002 16:51:36 +0100

At 16:21 16/10/02 +0200, you wrote:
Hello! I want to make a regresion by maximum likelihood estimation, the
function has included a join cumulative distribution fuction.

so, i give to program the follow instruction:

binorm(h,k,p) as in the manual of stata.

My problem is that h = infinity (Math) and I do not know how i can give
this instruction.

Could anyone help me?
A possible fix is to use the "magic number" 1e300 (ten to the power of 300), commonly used in the Stata community as a proxy for infinity. For instance, you might type

. disp binorm(1e300,1e300,0.5)
1

. disp binorm(1e300,0,0.5)
.5


I hope this helps.

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]

Opinions expressed are those of the author, not the institution.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index