Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: P-value from F-statistics in Mata


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: P-value from F-statistics in Mata
Date   Tue, 25 Oct 2011 22:23:56 +0100

Mata has functions rather than commands. In this territory, the Mata functions tend to have the same names as the Stata functions -- and deep down the code is, I understand, usually the same. Start with the help for m4_statistical and find what you want. Whether it satisfies your criteria for "easy" I couldn't say. 

Nick 
[email protected] 

Tobias Friedli

I testes a couple of restrictions in an OLS model "by hand" using mata
language and obtained the F - statistics value. Now i would like to
use a simple command to calculate the corresponding p-value within the
Mata language.
Is there any "easy" command to perform this calculation in mata?


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index