Dr. Karl Gregory

Class times: 10:05 - 11:20 am Tuesdays and Thursdays in Close-Hipp 502

Office hours: 1:00 - 2:00 pm Mondays and Wednesdays and 9:00 - 10:00 am Thursdays in LeConte College 216C.

TA office hour: Patrick Jin, 11:30 am - 12:30 pm and 2:30 - 3:30 pm on Tuesdays in LeConte College 111


syllabus


Slides Annotated R code eBook
Lec 1 Lec 1 annotated Basics of sets
Basics of probability
Lec 2 Lec 2 annotated Counting rules
Lec 3 Lec 3 annotated Conditional probability
Independence
Bayes' rule
Lec 4 Lec 4 annotated Random variables
Discrete random variables
Lec 5 Lec 5 annotated Rstudio
R code
Bernoulli and binomial distributions
Hypergeometric distribution
Sampling with versus without replacement
Lec 6 Lec 6 annotated Continuous random variables
Lec 7 Lec 7 annotated R code Normal distribution
End of Exam I material
Lec 8 Lec 8 annotated R code Poisson and exponential distributions
Lec 9 Lec 9 annotated R code Random sample
Mean of a random sample
Histogram
Variance of a random sample
Normal quantile-quantile plot
Boxplots
Central limit theorem
Sample proportion
Lec 10 Lec 10 annotated R code First confidence interval for a normal mean
Large-sample confidence interval for a mean
Confidence interval for a proportion
Lec 11 Lec 11 annotated R code Confidence interval for a normal variance
Lec 12 Lec 12 annotated R code Revised confidence interval for a normal mean
Lec 13 Lec 13 annotated R code Sample size determination
Lec 14 Lec 14 annotated R code Hypothesis testing
First tests about a normal mean
Revised tests about a normal mean
Large-sample tests about a mean
Tests for a proportion
End of Exam II material
Lec 15 Lec 15 annotated R code P values
Lec 16 Lec 16 annotated R code Comparing two means
Comparing two proportions
Lec 17 Lec 17 annotated R code One-way analysis of variance
Lec 18 Lec 18 annotated R code Simple linear regression
Lec 19 Lec 19 annotated R code Chi-squared test of association

z-table
t-table
chi-squared-table


Upload pdf of homework in Blackboard by 11:59 pm on the due date.

Homework Topics Due Solutions
hw 1 Basics of sets, basic probability Thursday, Jan 22 hw 1
hw 2 Counting, conditional probability, Bayes' rule, independence Thursday, Jan 29 hw 2
hw 3 Random variables, expected value, variance, hypergeometric, binomial Tuesday, Feb 10 hw 3
hw 4 Binomial, Normal probabilities and quantiles, quantile-quantile plots Wednesday, Feb 18 hw 4
hw 5 Sampling distribution of mean from Normal population, Poisson, exponential Thursday, Mar 5 hw 5
hw 6 CI for mean with variance known, CI for variance, large-sample CI for mean/proportion Tuesday, Mar 24 hw 6
hw 7 CIs for mean with variance unknown, sample size calculations Tuesday, Mar 31 hw 7
hw 8 Hypothesis testing for the mean and proportion Thursday, Apr 9 hw 8
hw 9 Two-sample testing for differences in means and proportions Thursday, Apr 16 hw 9
hw 10 Two-sample testing, ANOVA Thursday, Apr 23 hw 10
hw 11 (Bonus) Simple linear regression, contingency table analysis Monday, Apr 27 hw 11


Exams Solutions
Exam I student solutions
scores vs attendance
Exam II student solutions
Final student solutions


Fall 2021 Exams Solutions
Exam I Exam I sol
Exam II Exam II sol
Final Final


Fall 2023 Exams Solutions
Exam I student sol
Exam II student sol
Final Final


scatterplot showing pointwise confidence and prediction intervals in simple linear regression


Home