function [m,mu,SD]=ME(X)
% provides the margin of error for a random variable sselected randomly from the components of
% the vector X
mu=mean(X);
n=length(X);
SD=sqrt((n-1)*var(X)/n);
m=SD/mu;