Statalist


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

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


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Re:code for R-Squared and p
Date   Thu, 22 Jan 2009 15:22:15 +0100

Line for the server

Victor,

what is weird about your question is that my version of the MUS book, page
143, reads "invttail($numobs-2,.025) ", and so does the relevant do file
(obtainable from http://www.stata-press.com/data/mus/mus.zip) mus04p1sim.do,
line 422. 


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Victor M.
Zammit
Gesendet: Donnerstag, 22. Januar 2009 14:59
An: [email protected]
Betreff: st: Re:code for R-Squared and p

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)     , and
return scalar p2 = 2*ttail($numobs-2,abs(return(t2)))

and apperently ,for version 9 ,     function invtail() is unknown,whereas
,returning p ,I get a dot "." ,every time I try it.
I would appreciate any help
Thank you very much ,before hand,
Victor m. Zammit

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


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