Statalist


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

Re: st: Re:code for R-Squared and p


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Re:code for R-Squared and p
Date   Thu, 22 Jan 2009 14:11:50 +0000 (GMT)

--- "Victor M. Zammit" <[email protected]> wrote:
> I am going over an excellent Econometrics bookk,called
> "Microeconometrics Using Stata" by A.C Cameron and P.V. Trivedi. The
> problem is that some of its code is compatible with version
> 10.1 ,only, while I have not upgraded above version 9.2, yet.
> I have come across the following code on page 143 :
> 
> return scalar r2 = abs(return(t2))>invtail($numobs-2,.025)  
<snip>
> and apperently ,for version 9 , function invtail() is unknown

the function invtail() is also unknown in Stata 10, it should probably
be invttail(), the extra t is there to show that it refers to Student's
t distribution.

Hope this helps,
Maarten


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index