Estimates standard deviation based on a sample, including numbers, text, and logical values