Question: how to calculate confidence interval from a sample?
Answer: Determine the confidence level and find the appropriate z*-value. Refer to the above table.
Find the sample mean. for the sample size (n). ... 
Multiply z* times. and divide that by the square root of n. ... 
Take.