----------------------------------------------------------------------------------------

      name:  <unnamed>

       log:  C:\Documents and Settings\Michael Rosenfeld\My Documents\newer web pages\so

> c_meth_proj3\fall_2010_s381_logs\class15.log

  log type:  text

 opened on:  11 Nov 2010, 14:09:16

 

*So, just to introduce you a couple of the Stata functions for the chisquare distribution,

 

. display chi2tail(1,3.8416)

.04999579

 

* chi2tail takes (df, statistic) and gives you tail probability

 

. display invchi2tail(1, .05)

3.8414588

 

* invchi2tail takes (df, probability), and gives you the statistic. And by the way note that 3.84 is 1.96^2, because chisquare(1) is the square of a standard Normal, or N(0,1) distribution.

 

. display invchi2tail(1, .05)

3.8414588

 

. display invchi2tail(1302, .05)

1387.0575

 

. display chi2tail(7,29)

.00014469

 

. log close

      name:  <unnamed>

       log:  C:\Documents and Settings\Michael Rosenfeld\My Documents\newer web pages\soc_meth_proj

> 3\fall_2010_s381_logs\class15.log

  log type:  text

 closed on:  11 Nov 2010, 15:58:10

---------------------------------------------------------------------------------------------------