From d7c801eed47ff7ba5b24afddafac29b001bbc0d0 Mon Sep 17 00:00:00 2001 From: andyeisenberg Date: Wed, 11 Feb 2026 13:31:36 -0500 Subject: [PATCH] Latest build deployed. --- course/Exam-1-Review.html | 14 ++++++++++- course/index.html | 2 +- course/lunr-pretext-search-index.js | 38 ++++++++++++++++++++++++++++- 3 files changed, 51 insertions(+), 3 deletions(-) diff --git a/course/Exam-1-Review.html b/course/Exam-1-Review.html index 7f6c2bd..b939006 100755 --- a/course/Exam-1-Review.html +++ b/course/Exam-1-Review.html @@ -969,7 +969,19 @@ A\cap B \amp = \{HHH, HHT\}

34.

A continuous random variable \(X\) taking values in \([1, 2]\) has p.d.f. \(\displaystyle{f(x) = \frac{1}{2}\left(\frac{1}{x^2} + x\right)}\text{.}\) Find \(\Var(X)\text{.}\)
-
+

35.

+
Suppose a coin has an unknown probability of coming up heads. We perform the experiment in \(n\) independent trials, during which it takes \(k_1, k_2, \dotsc, k_n\) flips to see our first heads in each trial. Find a "common sense" MLE formula for the geometric distribution. +
+

36.

+
A particular store owner wants to approximate the average hourly rate at which customers come into the store. They observe 80 customers enter during a particular 4-hour shift. What is the maximum likelihood estimation for the hourly customer rate? +
+

37.

+
A radioactive material emits particles at an unknown probabilistic rate \(\lambda\) particles per minute. We observe particles emitted at times 1.1, 1.7, 1.3, 2.2, 1.9, and 1.8 minutes. Write the likelihood function \(\mathcal{L}(\lambda)\) based on this data. What is the maximum likelihood estimation for \(\lambda\text{?}\) +
+

38.

+
Suppose a parameter \(\theta\) takes values in \([0, 1]\) with likelihood function \(\mathcal{L}(\theta) = \sqrt{\theta} - \theta^2\text{.}\) Find the maximum likelihood estimation of \(\theta\text{.}\) +
+
diff --git a/course/index.html b/course/index.html index 76fe582..9407124 100755 --- a/course/index.html +++ b/course/index.html @@ -2,7 +2,7 @@ - + diff --git a/course/lunr-pretext-search-index.js b/course/lunr-pretext-search-index.js index 36784ea..5889bee 100755 --- a/course/lunr-pretext-search-index.js +++ b/course/lunr-pretext-search-index.js @@ -925,7 +925,7 @@ var ptx_lunr_docs = [ "type": "Section", "number": "", "title": "Exam 1 Review", - "body": " Exam 1 Review Use the following problems to prepare for the exam. There will be in-class review on Thursday, February 12. Your recitation this week will also be exam review. Allowed Materials You will be allowed to use a scientific calculator ( not a graphing calculator, not a calculator app on your phone). You may not share a calculator with another student; you must use your own calculator. You may bring a standard 3 in x 5 in index card with prepared notes. You may use both sides of the notecard. You must put your full name in the top right corner of the card, and turn it in along with your exam. Consider the sets , , and , which are all subsets of . Find . Find , , , , , , , and . Is it true that the size of the union of sets is equal to the sum of the sizes of the individual sets? , , , , , , , . In particular, note that , so it is not true in general that the size of the union of sets is the sum of the sizes of the individual sets. Find and . , . Suppose we have a 6-sided die that's weighted to roll a 6 half of the time. We roll the die two times. List the set of all possible results. [Note: the result (2, 4)---rolling a 2 and then a 4---is different from the result ---rolling a 4 and then a 2.] Note that simply lists outcomes with no reference to the probabilities. So the answer here is the same as in . Suppose we flip a coin two times. List the set of all possible results. What about flipping three times? Four times? If we flip the coin 10 times, how many possible results will there be? For two flips: . For three flips: . For four flips: Each additional flip doubles the number of outcomes. So, with ten flips, we'll have . If we roll a 6-sided die ten times, how many possible results will there be? Each additional roll will multiply the number of outcomes by 6. So, with 10 rolls, we'll have Consider the sample space with probability distribution below. Calculate the probabilities of , , , and . 1 0.1 2 0.05 3 0.2 4 0.15 5 0.15 6 0.1 7 0.05 8 0.1 9 0.1 Suppose a die has the values 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. Probability Distribution for a Linearly Scaled Die 1 2 3 4 5 6 Suppose a die has the values 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. Probability Distribution for an Even-biased Die 1 2 3 4 5 6 A toxin molecule inside a cell has a 0.3 probability of leaving the cell during a 1-minute period. For each value of , find the probability of the toxin molecule leaving the cell during the th minute. What is the probability of the molecule leaving the cell during the first 3 minutes? For short, write to mean the probability of the toxin molecule leaving during the th minute. Then The probability of leaving during the first 3 minutes is In each of the following scenarios with given events and , alculate , , , and . An experiment consists of rolling a fair die two times. Let be the event that the sum is even, and let be the event that the second roll is higher than the first. So , , and . Finally: An experiment consists of flipping a fair coin three times. Let be the event that the first and second flips match. Let be the event that there are at least two heads. So , , and . Finally: A diagnostic test is developed to detect a disease present in 3.2% of the population. For a patient who has the disease, the test will accurately give a positive result 65% of the time. When the patient does not have the disease, the test will accurately give a negative result 99.9% of the time. For a patient who receives a positive test, what is the probability they have the disease? Let be the event of testing positive and the event of having the disease. Then the prevalence is given as 3.2%, or 0.032. The sensitivity is , and the specificity is . So, according to Bayes' Theorem: For a patient who receives a negative test, what is the probability they do not have the disease? An experiment consists of rolling a fair die two times. Let be the event that the sum is even, and let be the event that the second roll is higher than the first. Are and independent? So , , and . Finally: so and are not independent. An experiment consists of flipping a fair coin three times. Let be the event that the first and second flips match. Let be the event that there are at least two heads. Are and independent? So , , and . Finally: so and are independent. Let and be events in the sample space . Create a probability distribution for so that are independent. Example Distribution 1 0.1 2 0.2 3 0.2 4 0.1 5 0.1 6 0.3 Now , , and so and are independent. An experiment consists of flipping a biased coin 20 times. If the coin comes up heads with probability , find the probability of seeing 5 heads. Find the probability of seeing up to (and including) 3 heads. Let be the number of heads. Then , so: An experiment consists of flipping a coin repeatedly until we first see heads. If the coin comes up heads with probability 0.4, what is the probability we'll see our first heads within three flips? What about precisely on the third flip? Let be the number of flips until we see heads. Then is geometric with parameter , so: Which flip has the highest chance of being the first flip to come up heads? A particular store has an average of 20 customers each hour. During a 4-hour afternoon shift, what is the probability of serving 80 customers. A continuous random variable taking values in has p.d.f. for some constant . What is the value of ? Find A continuous random variable taking values in has p.d.f. . Find the c.d.f. . Use your c.d.f. to find . . A continuous random variable taking values in has c.d.f. . Find the p.d.f. . Consider with the joint distribution table below. Are independent? Joint distribution for 0.2 0.3 0.4 0.1 No. For example, Suppose have the distributions: Assuming are independent, write a joint distribution table. Joint Distribution 0.04 0.16 0.2 0.06 0.24 0.3 Consider a random variable with probability distribution below. Find . 1 0.1 2 0.05 3 0.2 4 0.15 5 0.15 6 0.1 7 0.05 8 0.1 9 0.1 4.8. Suppose we flip a coin times, and let count the number of heads. If the coin comes up heads on a flip with probability , what is ? 40. What if and ? 48. What if and ? 100. If , , and , what is ? 4. A continuous random variable taking values in has p.d.f. . What is ? 2\/3. A continuous random variable taking values in has p.d.f. . What is ? A continuous random variable taking values in has p.d.f. . Find . Consider a random variable with probability distribution below. Find . 1 0.1 2 0.05 3 0.2 4 0.15 5 0.15 6 0.1 7 0.05 8 0.1 9 0.1 Suppose we flip a coin times, and let count the number of heads. If the coin comes up heads on a flip with probability , what is ? What if and ? What if and ? If , , what is ? A continuous random variable taking values in has p.d.f. . What is ? A continuous random variable taking values in has p.d.f. . What is ? A continuous random variable taking values in has p.d.f. . Find . " + "body": " Exam 1 Review Use the following problems to prepare for the exam. There will be in-class review on Thursday, February 12. Your recitation this week will also be exam review. Allowed Materials You will be allowed to use a scientific calculator ( not a graphing calculator, not a calculator app on your phone). You may not share a calculator with another student; you must use your own calculator. You may bring a standard 3 in x 5 in index card with prepared notes. You may use both sides of the notecard. You must put your full name in the top right corner of the card, and turn it in along with your exam. Consider the sets , , and , which are all subsets of . Find . Find , , , , , , , and . Is it true that the size of the union of sets is equal to the sum of the sizes of the individual sets? , , , , , , , . In particular, note that , so it is not true in general that the size of the union of sets is the sum of the sizes of the individual sets. Find and . , . Suppose we have a 6-sided die that's weighted to roll a 6 half of the time. We roll the die two times. List the set of all possible results. [Note: the result (2, 4)---rolling a 2 and then a 4---is different from the result ---rolling a 4 and then a 2.] Note that simply lists outcomes with no reference to the probabilities. So the answer here is the same as in . Suppose we flip a coin two times. List the set of all possible results. What about flipping three times? Four times? If we flip the coin 10 times, how many possible results will there be? For two flips: . For three flips: . For four flips: Each additional flip doubles the number of outcomes. So, with ten flips, we'll have . If we roll a 6-sided die ten times, how many possible results will there be? Each additional roll will multiply the number of outcomes by 6. So, with 10 rolls, we'll have Consider the sample space with probability distribution below. Calculate the probabilities of , , , and . 1 0.1 2 0.05 3 0.2 4 0.15 5 0.15 6 0.1 7 0.05 8 0.1 9 0.1 Suppose a die has the values 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. Probability Distribution for a Linearly Scaled Die 1 2 3 4 5 6 Suppose a die has the values 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. Probability Distribution for an Even-biased Die 1 2 3 4 5 6 A toxin molecule inside a cell has a 0.3 probability of leaving the cell during a 1-minute period. For each value of , find the probability of the toxin molecule leaving the cell during the th minute. What is the probability of the molecule leaving the cell during the first 3 minutes? For short, write to mean the probability of the toxin molecule leaving during the th minute. Then The probability of leaving during the first 3 minutes is In each of the following scenarios with given events and , alculate , , , and . An experiment consists of rolling a fair die two times. Let be the event that the sum is even, and let be the event that the second roll is higher than the first. So , , and . Finally: An experiment consists of flipping a fair coin three times. Let be the event that the first and second flips match. Let be the event that there are at least two heads. So , , and . Finally: A diagnostic test is developed to detect a disease present in 3.2% of the population. For a patient who has the disease, the test will accurately give a positive result 65% of the time. When the patient does not have the disease, the test will accurately give a negative result 99.9% of the time. For a patient who receives a positive test, what is the probability they have the disease? Let be the event of testing positive and the event of having the disease. Then the prevalence is given as 3.2%, or 0.032. The sensitivity is , and the specificity is . So, according to Bayes' Theorem: For a patient who receives a negative test, what is the probability they do not have the disease? An experiment consists of rolling a fair die two times. Let be the event that the sum is even, and let be the event that the second roll is higher than the first. Are and independent? So , , and . Finally: so and are not independent. An experiment consists of flipping a fair coin three times. Let be the event that the first and second flips match. Let be the event that there are at least two heads. Are and independent? So , , and . Finally: so and are independent. Let and be events in the sample space . Create a probability distribution for so that are independent. Example Distribution 1 0.1 2 0.2 3 0.2 4 0.1 5 0.1 6 0.3 Now , , and so and are independent. An experiment consists of flipping a biased coin 20 times. If the coin comes up heads with probability , find the probability of seeing 5 heads. Find the probability of seeing up to (and including) 3 heads. Let be the number of heads. Then , so: An experiment consists of flipping a coin repeatedly until we first see heads. If the coin comes up heads with probability 0.4, what is the probability we'll see our first heads within three flips? What about precisely on the third flip? Let be the number of flips until we see heads. Then is geometric with parameter , so: Which flip has the highest chance of being the first flip to come up heads? A particular store has an average of 20 customers each hour. During a 4-hour afternoon shift, what is the probability of serving 80 customers. A continuous random variable taking values in has p.d.f. for some constant . What is the value of ? Find A continuous random variable taking values in has p.d.f. . Find the c.d.f. . Use your c.d.f. to find . . A continuous random variable taking values in has c.d.f. . Find the p.d.f. . Consider with the joint distribution table below. Are independent? Joint distribution for 0.2 0.3 0.4 0.1 No. For example, Suppose have the distributions: Assuming are independent, write a joint distribution table. Joint Distribution 0.04 0.16 0.2 0.06 0.24 0.3 Consider a random variable with probability distribution below. Find . 1 0.1 2 0.05 3 0.2 4 0.15 5 0.15 6 0.1 7 0.05 8 0.1 9 0.1 4.8. Suppose we flip a coin times, and let count the number of heads. If the coin comes up heads on a flip with probability , what is ? 40. What if and ? 48. What if and ? 100. If , , and , what is ? 4. A continuous random variable taking values in has p.d.f. . What is ? 2\/3. A continuous random variable taking values in has p.d.f. . What is ? A continuous random variable taking values in has p.d.f. . Find . Consider a random variable with probability distribution below. Find . 1 0.1 2 0.05 3 0.2 4 0.15 5 0.15 6 0.1 7 0.05 8 0.1 9 0.1 Suppose we flip a coin times, and let count the number of heads. If the coin comes up heads on a flip with probability , what is ? What if and ? What if and ? If , , what is ? A continuous random variable taking values in has p.d.f. . What is ? A continuous random variable taking values in has p.d.f. . What is ? A continuous random variable taking values in has p.d.f. . Find . Suppose a coin has an unknown probability of coming up heads. We perform the experiment in independent trials, during which it takes flips to see our first heads in each trial. Find a \"common sense\" MLE formula for the geometric distribution. A particular store owner wants to approximate the average hourly rate at which customers come into the store. They observe 80 customers enter during a particular 4-hour shift. What is the maximum likelihood estimation for the hourly customer rate? A radioactive material emits particles at an unknown probabilistic rate particles per minute. We observe particles emitted at times 1.1, 1.7, 1.3, 2.2, 1.9, and 1.8 minutes. Write the likelihood function based on this data. What is the maximum likelihood estimation for ? Suppose a parameter takes values in with likelihood function . Find the maximum likelihood estimation of . " }, { "id": "Exam-1-Review-4-1", @@ -1232,6 +1232,42 @@ var ptx_lunr_docs = [ "number": "34", "title": "", "body": " A continuous random variable taking values in has p.d.f. . Find . " +}, +{ + "id": "Exam-1-Review-4-34", + "level": "2", + "url": "Exam-1-Review.html#Exam-1-Review-4-34", + "type": "Exercise", + "number": "35", + "title": "", + "body": " Suppose a coin has an unknown probability of coming up heads. We perform the experiment in independent trials, during which it takes flips to see our first heads in each trial. Find a \"common sense\" MLE formula for the geometric distribution. " +}, +{ + "id": "Exam-1-Review-4-35", + "level": "2", + "url": "Exam-1-Review.html#Exam-1-Review-4-35", + "type": "Exercise", + "number": "36", + "title": "", + "body": " A particular store owner wants to approximate the average hourly rate at which customers come into the store. They observe 80 customers enter during a particular 4-hour shift. What is the maximum likelihood estimation for the hourly customer rate? " +}, +{ + "id": "Exam-1-Review-4-36", + "level": "2", + "url": "Exam-1-Review.html#Exam-1-Review-4-36", + "type": "Exercise", + "number": "37", + "title": "", + "body": " A radioactive material emits particles at an unknown probabilistic rate particles per minute. We observe particles emitted at times 1.1, 1.7, 1.3, 2.2, 1.9, and 1.8 minutes. Write the likelihood function based on this data. What is the maximum likelihood estimation for ? " +}, +{ + "id": "Exam-1-Review-4-37", + "level": "2", + "url": "Exam-1-Review.html#Exam-1-Review-4-37", + "type": "Exercise", + "number": "38", + "title": "", + "body": " Suppose a parameter takes values in with likelihood function . Find the maximum likelihood estimation of . " } ]