Take the 2-minute tour ×
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

I'm new to Stata and didn't find the answer in the help, navigating the menus, or online so far. I would just like to know how to access the quantile function of a distribution. For example in R, if I want to know the 0.95 point of the $\chi^2(1)$ distribution, I do:

> qchisq(0.95,1)
[1] 3.841459

Is there an equivalent command in Stata ?

share|improve this question
1  
di invchi2(1,0.95). Type help density_functions for more information. –  andrea Dec 5 '12 at 11:49
    
@andrea, thanks ! Pls convert your comment to an answer so I can accept it. –  Robert Long Dec 5 '12 at 12:02
add comment

1 Answer

up vote 2 down vote accepted

The corresponding command in Stata is invchi2(1, 0.95). Type help density_functions for more information.

PS: FYI, this question is very likely to be off-topic here on SE.

share|improve this answer
    
thanks again. Where would it be on-topic ? –  Robert Long Dec 5 '12 at 12:46
    
@RobertLong You could try stackoverflow.com/questions/tagged/stata –  smillig Dec 5 '12 at 15:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.