I would like to find the t-value
for 90% confidence interval with 17 observation.
In Excel, I can do this calculation with t=T.INV.2T(.10, 16)=1.75
however in R I cannot find the correct way to get the same result.
qt(p = 1-.9, df = 17-1) = -1.34
qt(p = (1-.9)/2, df = 17-1) = -1.75 # trying with two-tailed?
What is the function R doing the same computation as T.INV.2T
in Excel.
Similarly, we have also T.DIST.2T
in Excel, what is the same function in R?
pt(t_value, 16)
however, I am getting 95% – Counterwork