def confidence_interval_continuous(point_estimate, stddev, sample_size, confidence=0.95, **kwargs):
 alpha = ppf(((confidence + 1) / 2), (sample_size - 1))
 margin = (stddev / sqrt(sample_size))
 return ((point_estimate - (alpha * margin)), (point_estimate + (alpha * margin)))

def confidence_interval_continuous ( point_estimate , stddev , sample_size , confidence = 0.95 , ** kwargs ) : alpha = ppf ( ( ( confidence + 1 ) / 2 ) , ( sample_size - 1 ) ) margin = ( stddev / sqrt ( sample_size ) ) return ( ( point_estimate - ( alpha * margin ) ) , ( point_estimate + ( alpha * margin ) ) )
continuous confidence interval from sample size and standard error .