While the tools of data analysis work best on data from randomized studies, they are also applied to other kinds of data – like natural experiments and observational studies – for which a statistician would use a modified, more structured estimation method (e.g., Difference in differences estimation and instrumental variables, among many others) that produce consistent estimators.