From e953ea3dcd111e8b42c9206dffc4eff122b94a98 Mon Sep 17 00:00:00 2001 From: andyeisenberg Date: Thu, 23 Apr 2026 10:40:54 -0400 Subject: [PATCH] Latest build deployed. --- course/.mapping.json | 2 +- course/Exam-1-Review.html | 17 +- course/Exam-2-Review.html | 9 +- course/Final-Exam-Review.html | 37 +- course/boxes.html | 1 + course/ch-notes.html | 1 + course/course-documents.html | 1 + course/exam-01.html | 1 + course/exam-02.html | 1 + course/exams.html | 5 +- course/frontmatter.html | 1 + course/fun.html | 1 + course/index.html | 2 +- course/lunr-pretext-search-index.js | 29 +- course/notes-01-13.html | 1 + course/notes-01-15.html | 1 + course/notes-01-20.html | 1 + course/notes-01-22.html | 1 + course/notes-01-27.html | 1 + course/notes-01-29.html | 1 + course/notes-02-03.html | 1 + course/notes-02-05.html | 1 + course/notes-02-10.html | 1 + course/notes-02-19.html | 1 + course/notes-02-24.html | 1 + course/quiz-01.html | 1 + course/quiz-02.html | 1 + course/quiz-03.html | 1 + course/quiz-04.html | 5 +- course/quiz-05.html | 486 +++++++++++++++++++++++++ course/quizzes.html | 2 + course/recitation-calculus-review.html | 5 +- course/recitations.html | 1 + course/review.html | 1 + course/root-1-2.html | 1 + course/syllabus.html | 1 + 36 files changed, 585 insertions(+), 39 deletions(-) create mode 100755 course/quiz-05.html diff --git a/course/.mapping.json b/course/.mapping.json index ec10294..735085f 100755 --- a/course/.mapping.json +++ b/course/.mapping.json @@ -1 +1 @@ -{"source/main.ptx": ["frontmatter", "course-documents", "ch-notes", "quizzes", "exams", "recitations", "review", "fun"], "source/syllabus/syllabus.ptx": ["syllabus"], "source/notes/1-13.ptx": ["notes-01-13"], "source/notes/1-15.ptx": ["notes-01-15"], "source/notes/1-20.ptx": ["notes-01-20"], "source/notes/1-22.ptx": ["notes-01-22"], "source/notes/1-27.ptx": ["notes-01-27"], "source/notes/1-29.ptx": ["notes-01-29"], "source/notes/2-3.ptx": ["notes-02-03"], "source/notes/2-5.ptx": ["notes-02-05"], "source/notes/2-10.ptx": ["notes-02-10"], "source/notes/2-19.ptx": ["notes-02-19"], "source/notes/2-24.ptx": ["notes-02-24"], "source/quizzes/quiz-01.ptx": ["quiz-01"], "source/quizzes/quiz-02.ptx": ["quiz-02"], "source/quizzes/quiz-03.ptx": ["quiz-03"], "source/quizzes/quiz-04.ptx": ["quiz-04"], "source/exams/exam-01.ptx": ["exam-01"], "source/exams/exam-02.ptx": ["exam-02"], "source/recitations/calculus-review.ptx": ["recitation-calculus-review"], "source/review/Exam-1-Review.ptx": ["Exam-1-Review"], "source/review/Exam-2-Review.ptx": ["Exam-2-Review"], "source/review/Final-Exam-Review.ptx": ["Final-Exam-Review"], "source/fun/boxes.ptx": ["boxes"]} \ No newline at end of file +{"source/main.ptx": ["frontmatter", "course-documents", "ch-notes", "quizzes", "exams", "recitations", "review", "fun"], "source/syllabus/syllabus.ptx": ["syllabus"], "source/notes/1-13.ptx": ["notes-01-13"], "source/notes/1-15.ptx": ["notes-01-15"], "source/notes/1-20.ptx": ["notes-01-20"], "source/notes/1-22.ptx": ["notes-01-22"], "source/notes/1-27.ptx": ["notes-01-27"], "source/notes/1-29.ptx": ["notes-01-29"], "source/notes/2-3.ptx": ["notes-02-03"], "source/notes/2-5.ptx": ["notes-02-05"], "source/notes/2-10.ptx": ["notes-02-10"], "source/notes/2-19.ptx": ["notes-02-19"], "source/notes/2-24.ptx": ["notes-02-24"], "source/quizzes/quiz-01.ptx": ["quiz-01"], "source/quizzes/quiz-02.ptx": ["quiz-02"], "source/quizzes/quiz-03.ptx": ["quiz-03"], "source/quizzes/quiz-04.ptx": ["quiz-04"], "source/quizzes/quiz-05.ptx": ["quiz-05"], "source/exams/exam-01.ptx": ["exam-01"], "source/exams/exam-02.ptx": ["exam-02"], "source/recitations/calculus-review.ptx": ["recitation-calculus-review"], "source/review/Exam-1-Review.ptx": ["Exam-1-Review"], "source/review/Exam-2-Review.ptx": ["Exam-2-Review"], "source/review/Final-Exam-Review.ptx": ["Final-Exam-Review"], "source/fun/boxes.ptx": ["boxes"]} \ No newline at end of file diff --git a/course/Exam-1-Review.html b/course/Exam-1-Review.html index cea795f..7b266bb 100755 --- a/course/Exam-1-Review.html +++ b/course/Exam-1-Review.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • @@ -394,7 +395,7 @@ eBookConfig.enable_chatcodes = false;

    5.

    Consider the sample space \(\Omega = \{1, 2, 3, 4, 5, 6, 7, 8\}\) with probability distribution below. Calculate the probabilities of \(A = \{1, 3, 7, 8\}\text{,}\) \(B = \{2, 3, 6, 7\}\text{,}\) \(A\cup B\text{,}\) and \(A \cap B\text{.}\) -
    Table 128.
    +
    Table 132.
    @@ -445,7 +446,7 @@ eBookConfig.enable_chatcodes = false;
    Suppose a die has the values \(1, 2, 3, 4, 5, 6\) on the faces, but the die is not fair. Instead, the probabilities scale by the same amount as the face values. For example, a result of 4 is twice as likely as a result of 2, since 4 is twice as large as 2; a result of 6 is six times more likely than a result of 1; and so on. Write a probability distribution table for this die.
    Answer.
    -
    Table 129. Probability Distribution for a Linearly Scaled Die
    \(x\) \(\Pr(x)\)
    +
    Table 133. Probability Distribution for a Linearly Scaled Die
    @@ -480,7 +481,7 @@ eBookConfig.enable_chatcodes = false;
    Suppose a die has the values \(1, 2, 3, 4, 5, 6\) on the faces, but the die is not fair. Instead, each even value has an equal probability, each odd value has an equal probability, and the even values are each twice as likely as the odd values to appear on a roll. Write a probability distribution table for this die.
    Answer.
    -
    Table 130. Probability Distribution for an Even-biased Die
    \(x\) \(\Pr(x)\)
    +
    Table 134. Probability Distribution for an Even-biased Die
    @@ -674,7 +675,7 @@ A\cap B \amp = \{HHH, HHT\}
    Let \(A = \{1, 2, 3\}\) and \(B = \{3, 4, 5\}\) be events in the sample space \(\Omega = \{1, 2, 3, 4, 5, 6\}\text{.}\) Create a probability distribution for \(\Omega\) so that \(A, B\) are independent.
    Answer.
    -
    Table 131. Example Distribution
    \(x\) \(\Pr(x)\)
    +
    Table 135. Example Distribution
    @@ -799,7 +800,7 @@ A\cap B \amp = \{HHH, HHT\}

    21.

    Consider \(X, Y\) with the joint distribution table below. Are \(X, Y\) independent? -
    Table 132. Joint distribution for \(X, Y\)
    \(x\) \(\Pr(x)\)
    +
    Table 136. Joint distribution for \(X, Y\)
    @@ -834,7 +835,7 @@ A\cap B \amp = \{HHH, HHT\}
    Answer.
    -
    Table 133. Joint Distribution
    \(X = 0\)
    +
    Table 137. Joint Distribution
    @@ -857,7 +858,7 @@ A\cap B \amp = \{HHH, HHT\}

    23.

    Consider a random variable \(X\) with probability distribution below. Find \(\E(X)\text{.}\) -
    Table 134.
    \(X = 0\)
    +
    Table 138.
    @@ -966,7 +967,7 @@ A\cap B \amp = \{HHH, HHT\}

    29.

    Consider a random variable \(X\) with probability distribution below. Find \(\Var(X)\text{.}\) -
    Table 135.
    \(x\) \(\Pr(X = x)\)
    +
    Table 139.
    diff --git a/course/Exam-2-Review.html b/course/Exam-2-Review.html index 4b6c346..bdfaabf 100755 --- a/course/Exam-2-Review.html +++ b/course/Exam-2-Review.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • @@ -390,7 +391,7 @@ eBookConfig.enable_chatcodes = false;

    6.

    The weights of five mice are measured and recorded below. Give a 95% confidence interval for the sample mean weight of mice. (Pretend 5 measurements is large enough for the CLT to apply.) -
    Table 136.
  • \(x\) \(\Pr(X = x)\)
    +
    Table 140.
    @@ -423,7 +424,7 @@ eBookConfig.enable_chatcodes = false;

    7.

    The heights of five plants are measured and recorded below. Give a 95% confidence interval around the sample mean for the heights of the plants. (Pretend 5 measurements is large enough for the CLT to apply.) -
    Table 137.
    mouse \(i\)
    +
    Table 141.
    @@ -513,7 +514,7 @@ eBookConfig.enable_chatcodes = false;

    19.

    A store owner wants to determine how much shelf space to allocate to each of the drinks that they sell. They survey their customers about their favorite drinks. Is the data below consistent with the null hypothesis that each type of drink will be equally preferred? -
    Table 138.
    plant \(i\)
    +
    Table 142.
    @@ -534,7 +535,7 @@ eBookConfig.enable_chatcodes = false;
    A particular drug is administered in 100 independent trials. In each trial, the drug is administered to four people, and we count how many respond to the drug. The table below shows how many trials have each different count of people who respond to the drug.
    -
    Table 139.
    drink type water
    +
    Table 143.
    diff --git a/course/Final-Exam-Review.html b/course/Final-Exam-Review.html index b679f40..40b0e68 100755 --- a/course/Final-Exam-Review.html +++ b/course/Final-Exam-Review.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • @@ -394,7 +395,7 @@ eBookConfig.enable_chatcodes = false;

    5.

    Consider the sample space \(\Omega = \{1, 2, 3, 4, 5, 6, 7, 8\}\) with probability distribution below. Calculate the probabilities of \(A = \{1, 3, 7, 8\}\text{,}\) \(B = \{2, 3, 6, 7\}\text{,}\) \(A\cup B\text{,}\) and \(A \cap B\text{.}\) -
    Table 140.
  • # who respond to drug 0
    +
    Table 144.
    @@ -445,7 +446,7 @@ eBookConfig.enable_chatcodes = false;
    Suppose a die has the values \(1, 2, 3, 4, 5, 6\) on the faces, but the die is not fair. Instead, the probabilities scale by the same amount as the face values. For example, a result of 4 is twice as likely as a result of 2, since 4 is twice as large as 2; a result of 6 is six times more likely than a result of 1; and so on. Write a probability distribution table for this die.
    Answer.
    -
    Table 141. Probability Distribution for a Linearly Scaled Die
    \(x\) \(\Pr(x)\)
    +
    Table 145. Probability Distribution for a Linearly Scaled Die
    @@ -480,7 +481,7 @@ eBookConfig.enable_chatcodes = false;
    Suppose a die has the values \(1, 2, 3, 4, 5, 6\) on the faces, but the die is not fair. Instead, each even value has an equal probability, each odd value has an equal probability, and the even values are each twice as likely as the odd values to appear on a roll. Write a probability distribution table for this die.
    Answer.
    -
    Table 142. Probability Distribution for an Even-biased Die
    \(x\) \(\Pr(x)\)
    +
    Table 146. Probability Distribution for an Even-biased Die
    @@ -674,7 +675,7 @@ A\cap B \amp = \{HHH, HHT\}
    Let \(A = \{1, 2, 3\}\) and \(B = \{3, 4, 5\}\) be events in the sample space \(\Omega = \{1, 2, 3, 4, 5, 6\}\text{.}\) Create a probability distribution for \(\Omega\) so that \(A, B\) are independent.
    Answer.
    -
    Table 143. Example Distribution
    \(x\) \(\Pr(x)\)
    +
    Table 147. Example Distribution
    @@ -799,7 +800,7 @@ A\cap B \amp = \{HHH, HHT\}

    21.

    Consider \(X, Y\) with the joint distribution table below. Are \(X, Y\) independent? -
    Table 144. Joint distribution for \(X, Y\)
    \(x\) \(\Pr(x)\)
    +
    Table 148. Joint distribution for \(X, Y\)
    @@ -834,7 +835,7 @@ A\cap B \amp = \{HHH, HHT\}
    Answer.
    -
    Table 145. Joint Distribution
    \(X = 0\)
    +
    Table 149. Joint Distribution
    @@ -857,7 +858,7 @@ A\cap B \amp = \{HHH, HHT\}

    23.

    Consider a random variable \(X\) with probability distribution below. Find \(\E(X)\text{.}\) -
    Table 146.
    \(X = 0\)
    +
    Table 150.
    @@ -966,7 +967,7 @@ A\cap B \amp = \{HHH, HHT\}

    29.

    Consider a random variable \(X\) with probability distribution below. Find \(\Var(X)\text{.}\) -
    Table 147.
    \(x\) \(\Pr(X = x)\)
    +
    Table 151.
    @@ -1114,7 +1115,7 @@ A\cap B \amp = \{HHH, HHT\}

    44.

    The weights of five mice are measured and recorded below. Give a 95% confidence interval for the sample mean weight of mice. (Pretend 5 measurements is large enough for the CLT to apply.) -
    Table 148.
    \(x\) \(\Pr(X = x)\)
    +
    Table 152.
    @@ -1147,7 +1148,7 @@ A\cap B \amp = \{HHH, HHT\}

    45.

    The heights of five plants are measured and recorded below. Give a 95% confidence interval around the sample mean for the heights of the plants. (Pretend 5 measurements is large enough for the CLT to apply.) -
    Table 149.
    mouse \(i\)
    +
    Table 153.
    @@ -1237,7 +1238,7 @@ A\cap B \amp = \{HHH, HHT\}

    57.

    A store owner wants to determine how much shelf space to allocate to each of the drinks that they sell. They survey their customers about their favorite drinks. Is the data below consistent with the null hypothesis that each type of drink will be equally preferred? -
    Table 150.
    plant \(i\)
    +
    Table 154.
    @@ -1258,7 +1259,7 @@ A\cap B \amp = \{HHH, HHT\}
    A particular drug is administered in 100 independent trials. In each trial, the drug is administered to four people, and we count how many respond to the drug. The table below shows how many trials have each different count of people who respond to the drug.
    -
    Table 151.
    drink type water
    +
    Table 155.
    @@ -1288,7 +1289,7 @@ A\cap B \amp = \{HHH, HHT\}

    59.

    Calculate the covariance of \(X\) and \(Y\text{:}\) -
    Table 152.
    # who respond to drug 0
    +
    Table 156.
    @@ -1306,7 +1307,7 @@ A\cap B \amp = \{HHH, HHT\}
    \(X = 1\)

    60.

    Calculate the covariance of \(X\) and \(Y\text{:}\) -
    Table 153.
    +
    Table 157.
    @@ -1331,7 +1332,7 @@ A\cap B \amp = \{HHH, HHT\}

    62.

    Calculate the correlation of \(X\) and \(Y\text{:}\) -
    Table 154.
    \(X = 0\)
    +
    Table 158.
    @@ -1349,7 +1350,7 @@ A\cap B \amp = \{HHH, HHT\}
    \(X = 1\)

    63.

    Calculate the correlation of \(X\) and \(Y\text{:}\) -
    Table 155.
    +
    Table 159.
    @@ -1374,7 +1375,7 @@ A\cap B \amp = \{HHH, HHT\}

    65.

    A survey of local companies collects information about marketing budgets \(X\) and revenue \(Y\) (each measures in thousands of dollars), shown below. A linear regression gives the best linear fit as \(Y = 18.28 X + 29.69\text{.}\) What is the coefficient of determination \(r^2\text{?}\) -
    Table 156.
    \(X = 0\)
    +
    Table 160.
    @@ -1426,7 +1427,7 @@ A\cap B \amp = \{HHH, HHT\}
    \(x_i\) \(y_i\)

    66.

    A sample of 100 measurements are taken and a best fit line is calculated, resulting in the data below (the final line shows the sums for each column). Find the coefficient of determination. -
    Table 157.
    +
    Table 161.
    diff --git a/course/boxes.html b/course/boxes.html index c946705..8e2aef4 100755 --- a/course/boxes.html +++ b/course/boxes.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/ch-notes.html b/course/ch-notes.html index 92e9b7c..b1f04bf 100755 --- a/course/ch-notes.html +++ b/course/ch-notes.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/course-documents.html b/course/course-documents.html index 83a6366..99f3d90 100755 --- a/course/course-documents.html +++ b/course/course-documents.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/exam-01.html b/course/exam-01.html index b722dfc..b11cb9e 100755 --- a/course/exam-01.html +++ b/course/exam-01.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/exam-02.html b/course/exam-02.html index c946247..7f88a77 100755 --- a/course/exam-02.html +++ b/course/exam-02.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/exams.html b/course/exams.html index 137c867..a2c62ec 100755 --- a/course/exams.html +++ b/course/exams.html @@ -135,7 +135,7 @@ eBookConfig.enable_chatcodes = false; -PrevUpNext +PrevUpNext
  • +
  • @@ -304,7 +305,7 @@ eBookConfig.enable_chatcodes = false;
  • Exam 2
  • -PrevUpNext +PrevUpNext
    \(x_i\) \(y_i\)
    + + + + + + + + + + + + + + + + + + +
    \(Y = 1\)\(Y = 2\)\(Y = 3\)
    \(X = 0\)\(0.1\)\(0.15\)\(0.1\)
    \(X = 1\)\(0.15\)\(0.2\)\(0.3\)
    Table 128. Distribution Table for \(X\)
    + + + + + + + + + + +
    \(x\)\(0\)\(1\)
    \(\Pr(X = x)\)\(0.35\)\(0.65\)
    Table 129. Distribution Table for \(Y\)
    + + + + + + + + + + + + +
    \(y\)\(1\)\(2\)\(2\)
    \(\Pr(Y = y)\)\(0.25\)\(0.35\)\(0.4\)
    Solution.
    +
    +
    +\(\Cov(X, Y) = \E(XY) - \E(X)\E(Y)\text{.}\) We have:
    +
    +\begin{align*} +\E(X) \amp = 0(0.35) + 1(0.65) = 0.65 \\ +\E(Y) \amp = 1(0.25) + 2(0.35) + 3(0.4) = 2.15 \\ +\E(XY) \amp = (0)(1)(0.1) + (0)(2)(0.15) + (0)(3)(0.1) + \\ +\amp \quad\, (1)(1)(0.15) + (1)(2)(0.2) + (1)(3)(0.3) = 1.45 \\ \\ +\Cov(X, Y) \amp = 1.45 - (0.65)(2.15) = \boxed{0.0525} +\end{align*} +
    +
    Since \(X\) is an indicator random variable, we have \(\Var(X) = (0.65)(0.35) = 0.2275\text{.}\) For \(\Var(Y)\text{:}\) +
    +
    +\begin{align*} +\E(Y^2) \amp = 1^2(0.25) + 2^2(0.35) + 3^2(0.4) = 5.25 \\ +\Var(Y) \amp = \E(Y^2) - (\E(Y))^2 = 5.25 - (2.15)^2 = 0.6275 +\end{align*} +
    +
    So the correlation is:
    +
    +\begin{align*} +\rho_{X, Y} \amp = \frac{\Cov(X, Y)}{\sqrt{\Var(X)\Var(Y)}} = \frac{0.0525}{\sqrt{(0.2275)(0.6275)}} \approx \boxed{0.139}. +\end{align*} +
    + +
    + +
    +

    2.

    +
    A sample of 30 measurements are taken and a best fit line is calculated, resulting in the data below (the final row of the table shows the sums for each column). Find the RSS, SST, and coefficient of determination. +
    Table 130. Sample Data
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    \(x_i\)\(y_i\)best fit predicted \(y_i\) +res\(^2\) +\((y - \textrm{avg }y)^2\)
    \(1.94\)\(3.31\)\(10.53\)\(52.13\)\(886.55\)
    \(2.63\)\(10.38\)\(17.37\)\(48.76\)\(515.34\)
    \(\vdots\)\(\vdots\)\(\vdots\)\(\vdots\)\(\vdots\)
    \(3.94\)\(19.47\)\(30.31\)\(117.35\)\(185.24 \)
    \(6.35\)\(53.42\)\(54.22\)\(0.64\)\(413.51\)
    sum:\(992.55\)\(992.55\)\(953.03\)\(38397.35\)
    Solution.
    +
    +
    The RSS is the sum of res\(^2\text{,}\) \(953.03\text{,}\) and the SST is the sum of \((y - \textrm{avg})^2\text{,}\) \(38397.35\text{.}\) Then the coefficient of determination is:
    +
    +\begin{gather*} +r^2 = 1 - \frac{\text{RSS}}{\text{SST}} = 1 - \frac{953.03}{38397.35} \approx \boxed{0.975} +\end{gather*} +
    + +
    + +
    +
    + + + + + + diff --git a/course/quizzes.html b/course/quizzes.html index 9f94b64..688bcdf 100755 --- a/course/quizzes.html +++ b/course/quizzes.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • @@ -304,6 +305,7 @@ eBookConfig.enable_chatcodes = false;
  • Quiz 2
  • Quiz 3
  • Quiz 4
  • +
  • Quiz 5
  • If \(f(x)\) is a probability density function (don’t worry about what that means for now), then integrals such as \(\int_a^b f(x)\ dx\) are used to calculate certain probabilities, as are values of the form \(F(x)\text{.}\) +
    If \(f(x)\) is a probability density function (don’t worry about what that means for now), then integrals such as \(\int_a^b f(x)\ dx\) are used to calculate certain probabilities, as are values of the form \(F(x)\text{.}\)

    5.

    Practice with the following integrals: diff --git a/course/recitations.html b/course/recitations.html index 8d88f89..ea3f5f9 100755 --- a/course/recitations.html +++ b/course/recitations.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/review.html b/course/review.html index 7b0b8c4..048d8c0 100755 --- a/course/review.html +++ b/course/review.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/root-1-2.html b/course/root-1-2.html index 15ee5cb..c3db640 100755 --- a/course/root-1-2.html +++ b/course/root-1-2.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +
  • diff --git a/course/syllabus.html b/course/syllabus.html index 9eb11a8..2a6a7cb 100755 --- a/course/syllabus.html +++ b/course/syllabus.html @@ -252,6 +252,7 @@ eBookConfig.enable_chatcodes = false;
  • +