I'm performing a simple test in excel using sample size $n=50$ and taking 1000 observations of an exponential distribution with $\lambda = 2$ and thus true mean is 0.5. I am using to generate each sample the following equation: $-\ln(rand())/2$
Computing a 95% confidence interval under t-distro, df=999 and $\alpha=0.025$ my t-value is 1.962, but the confidence intervals I generate all contain the true mean value of 0.50 instead of <95% of what I should be seeing given the skewed distribution.
The CI is being computed simply: mean(sample) +/- 1.962*(std deviation of the sample)
Any ideas why?