I am translating some R code (lines 92-96 for the curious) to calculate some confidence intervals, and I'm gifted with the following syntax
The thing to focus on here is everything in the parentheses. According to Statology . com,
I'm only vaguely familiar with Stata syntax for distributions and that sort of thing. Might there be an equivalent for this function in Stata?
Code:
lb <- att - qt(1-alpha/2,df=K-1)*se
The function qt returns the value of the inverse cumulative density function (cdf) of the Student t distribution given a certain random variable x and degrees of freedom df.
Comment