applied statistics master's thesis