MSc: Advanced Statistics
Advanced Statistics
- Course name: Advanced Statistics
- Course number: DS-03
Course Characteristics
Key concepts of the class
- Statistical inference
- Non parametric statistics
- Test of statistical hypotheses
- Simple linear regression and correlation analysis
- Meta-Analysis
What is the purpose of this course?
The main purpose of this course is to present the fundamentals of inferential statistics to the future software engineers and data scientists, on one side providing the scientific fundamentals of the disciplines, and on the other anchoring the theoretical concepts on practices coming from the world of software development and engineering. The course covers the statistical analysis of data with limited assumptions on the distribution, with reference to testing hypotheses, measuring correlations, building samples, and performing regressions.
Course objectives based on Bloom’s taxonomy
- What should a student remember at the end of the course?
By the end of the course, the students should be able to:
- Remember the fundamentals of inferential statistics
- Remember the specifics and purpose of different hypothesis tests
- Distinguish between parametric and non parametric tests
- What should a student be able to understand at the end of the course?
By the end of the course, the students should be able to understand:
- the basic concepts of inferential statistics
- the fundamental laws in statistics
- the concept of null and alternative hypotheses
- the hypotheses test procedure
- What should a student be able to apply at the end of the course?
By the end of the course, the students should be able to ...
- To understand the problems related to analyse statistically data not distributed normally
- To know the more recent computationally-intensive techniques that can help to describe samples and to infer properties of populations in absence of normality
- To identify situations when the data is on nominal scales so alternative techniques should be use, and act accordingly.
- To be able to run experiment to evaluate hypotheses for situation of scarce data, distributed non normally, on different kinds of scales.
Course evaluation (Standard)
Points | ||
---|---|---|
Weekly quizzes | 10 | |
Midterm | 20 | |
Final oral exam | 35 | |
Final written exam | 30 | |
Participation | 5 |
Course evaluation (Project Based)
Points | ||
---|---|---|
Weekly quizzes | 15 | |
Weekly Projects Review | 15 | |
Mid of Semester Project Review | 20 | |
Final Report | 30 | |
Final Presentation with Q&A | 20 |
Grades range
Range | ||
---|---|---|
A. Excellent | 95-100 | |
B. Good | 75-94 | |
C. Satisfactory | 55-74 | |
D. Poor | 0-54 |
Cooperation policy and quotations
We encourage vigorous discussion and cooperation in this class. You should feel free to discuss any aspects of the class with any classmates. However, we insist that any written material that is not specifically designated as a Team Deliverable be done by you alone. This includes answers to reading questions, individual reports associated with assignments, and labs. We also insist that if you include verbatim text from any source, you clearly indicate it using standard conventions of quotation or indentation and a note to indicate the source.
Resources and reference material
- Wasserman L. (2006) All of Nonparametric Statistics. Springer
- Randles, R.H. and Wolfe, D.A. (1991). Introduction to the Theory of Nonparametric Statistics. Melbourne: Robert Krieger. (Ch.1‐Ch.4)
- Hastie, T. Tibshirani, R. and Friedman, J. (2008) The Elements of Statistical Learning 2ed. Springer
- Hollander, M. and Wolfe, D.A. (1999). Nonparametric Statistical Methods, 2nd ed. New York: John Wiley.
Course Sections
The main sections of the course and approximate hour distribution between them is as follows:
Section | Section Title | Teaching Hours |
---|---|---|
1 | Sampling Distributions Associated with the Normal Population | 15 |
2 | Test of Statistical Hypotheses | 30 |
3 | Simple Linear Regression and Correlation Analysis | 15 |
Section 1
Section title:
Sampling Distributions Associated with the Normal Population
Topics covered in this section:
- Introduction to the course, toward inference
- Student’s t-distribution
- Bernoulli and binomial distribution
- Chi-square distribution
- Snedecor’s F-distribution
What forms of evaluation were used to test students’ performance in this section?
|a|c| & Yes/No
Development of individual parts of software product code & 0
Homework and group projects & 0
Midterm evaluation & 1
Testing (written or computer based) & 1
Reports & 0
Essays & 0
Oral polls & 0
Discussions & 1
Typical questions for ongoing performance evaluation within this section
- Deduce the probability mass function for a binomial distribution?
- Let X1,...,Xk be k iid random variables distributed with a distribution with n1,...nk degrees of freedom respectively.
What is the distribution of Y=X1+...+Xk? Define it precisely and prove the answer formally?
- List at least 3 random variables that “tend to follow” a t distribution?
- If X has Chi square function with the 5 degrees of freedom, then what is the probability that X is between 1.145 and 12.83?
- If X has a gamma distribution of (1,1), then what is the probability density function of the random variable 2X?
Typical questions for seminar classes (labs) within this section
- Define and provide examples of sample space, events and probability measure.
- Write the formula for the coefficients of the simple linear regression. Explain the mathematical procedure you do to derive them and derive them.
- Calculate the correlation between two functions and explain its meaning.
- Calculate the Pearson coefficient for the given functions.
- Deduce the MGF for normal distribution.
- State and prove the Bonferroni inequality.
Test questions for final assessment in this section
Test of Statistical Hypotheses
Topics covered in this section:
- Z-test
- Student’s t-test
- Chi-square test
- Snedecor’s F-test
What forms of evaluation were used to test students’ performance in this section?
Typical questions for ongoing performance evaluation within this section
- Define the concept of power of a statistical test.
- Define the purpose of the F Test, its hypotheses, and its structure.
- Define the purpose of the t-Test, its hypotheses, and its structure.
- Define the purpose of the Chi square Test, its hypotheses, and its structure.
- Define the purpose of the Z Test, its hypotheses, and its structure.
- Provide concrete numeric examples with explanation on why the power of a test depends on:
- the size of the data sets.
- the magnitude of the effect.
- the level of statistical significance.
- Given a statistical test for which we have set a value we obtain a p:
- if we can reject H0 , what we typically say about H0 and H1.
- if we cannot reject H0 , what we can typically say about H0 and H1.
- when can we say that H0 holds?
- when can we say that H1 holds?
Typical questions for seminar classes (labs) within this section
- Provide a concrete example of a t test, detailing both H0 and H1.
- Present the structure of the F test for the analysis of the variance.
- Explain what are H0 and H1 in hypothesis testing.
- Explain the role of the Bonferroni inequality in hypothesis testing.
Test questions for final assessment in this section
Simple Linear Regression and Correlation Analysis
Topics covered in this section:
- Kolmogorov-Smirnov test
- Size of samples, Kolmogorov-Smirnov, Fisher exact
- Logistic regression
What forms of evaluation were used to test students’ performance in this section?
|a|c| & Yes/No
Development of individual parts of software product code & 0
Homework and group projects & 0
Midterm evaluation & 0
Testing (written or computer based) & 1
Reports & 0
Essays & 0
Oral polls & 0
Discussions & 1
Typical questions for ongoing performance evaluation within this section
- Let X1,X2, ...,X10 be a random sample from a distribution whose probability density function is , otherwise 0). Based on the observed values 0.62, 0.36, 0.23, 0.76, 0.65, 0.09, 0.55, 0.26, 0.38, 0.24, test the hypothesis H0 : X UNIF(0, 1) against H1 : X UNIF(0, 1) at a significance level = 0.1.
- If X1,X2, ...,Xn is a random sample from a distribution with density function , otherwise 0), what is the maximum likelihood estimator of ?
- Let X1,X2, ...,Xn be a random sample of size n from a distribution with a probability density function otherwise 0), where is a parameter. Using the maximum likelihood method find an estimator for the parameter .
- Suppose you are told that the likelihood of at is given by 1/4. Is this the probability that ? Explain why or why not.
Typical questions for seminar classes (labs) within this section
- If X1,X2, ...,Xn is a random sample from a distribution with density function otherwise 0), then what is the maximum likelihood estimator of ?
- Let X1,X2, ...,Xn be a random sample from a normal population with mean and variance . What are the maximum likelihood estimators of and ?
- Suppose that you have the following data points: 0.36, 0.32, 0.10, 0.13, 0.45, 0.11, 0.12, 0.09; compute Dn to determine if they come from the uniform distribution [0,0.5].
- The data on the heights of 12 infants are given below: 18.2, 21.4, 22.6, 17.4, 17.6, 16.7, 17.1, 21.4, 20.1, 17.9, 16.8, 23.1. Test the hypothesis that the data came from some normal population at a significance level = 0.1.
Test questions for final assessment in the course
- Providing full example of two sequences (in case of computational overhead, you can approximate at the first decimal digit). Compute their:
- Covariance.
- Pearson’s correlation coefficient.
- Spearman’s Rank Correlation Coefficient.
- Kendall’s tau Correlation coefficient.
- What is an empirical distribution?
- Present, prove, and discuss the evaluation of the asymptotic confidence interval for the empirical distribution, detailing the role of the binomial.
- Prove, under the simplified hypotheses, the distribution free property of Dn.
- Write the Shannon Theorem and discuss its implications.
- Discuss how we could proceed to compute the confidence interval of the Kendall Tau correlation coefficient of the population.
- Suppose that you have the following datapoints: 0.4, 2, 0.6, 2.4, 2.2, 3.6, 3.8, 4; compute Dn to determine if they come from the uniform distribution [0,4].
- Prove that Failed to parse (unknown function "\Tilde"): {\textstyle \Tilde{F}_n} is a consistent and unbiased estimator of F.