Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
di invchi2(1,0.95). Type help density_functions for more information. – boscovich 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
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 – smillig Dec 5 '12 at 15:55

Your Answer


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.