ผลต่างระหว่างรุ่นของ "Probstat/homework 3"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
 
(ไม่แสดง 13 รุ่นระหว่างกลางโดยผู้ใช้คนเดียวกัน)
แถว 2: แถว 2:
  
 
== Part 1: Poisson and exponential random variables ==
 
== Part 1: Poisson and exponential random variables ==
 +
1. Consider the number of car accidents in the parking lot over a period of one week.  We know that the numbers of accidents are Poisson distributed random variable, and on average, there are 0.4 accidents per week.  Find the probability that at least one accident occurs this week.
 +
 +
2. On average, each day Programmer Lazy puts in 5 bugs to the code.  The manager tries to give incentives for the programmer to improve, so the manager decides to give a reward to the programmer on any day Programmer Lazy only puts in ''less than'' 3 bugs.  If the number of bugs is a Poisson distributed random variable and Programmer Lazy does not change at all, what is the probability that Programmer Lazy gets a reward on any day?
 +
 +
3. The time it takes for a web server to crash (in hours) is exponentially distributed with parameter <math>\lambda = 0.001</math>.  What is the probability that the web server crashes within 2 weeks (14 days) of operation?
 +
 +
4. A system consists of 5 components.  It will fail if any of its components are broken.  The lifetime of each component <math>i</math> (in minutes) is exponentially distributed with parameter <math>\lambda_i</math>.  What is the probability that the system works for <math>t</math> minutes?
  
 
== Part 2: Hypothesis testing ==
 
== Part 2: Hypothesis testing ==
แถว 9: แถว 16:
  
 
3. We are interested in testing if a normally-distributed population has mean at least 100.  However, we do not know the population variance.  If we decide to take a sample of size 10 to compute the sample mean <math>\bar{X}</math> and the sample variance <math>S^2</math>, design a hypothesis testing procedure with the level of significance <math>\alpha=10%</math>.  State the null hypothesis clearly and describe the criteria for accepting/rejecting the null hypothesis.
 
3. We are interested in testing if a normally-distributed population has mean at least 100.  However, we do not know the population variance.  If we decide to take a sample of size 10 to compute the sample mean <math>\bar{X}</math> and the sample variance <math>S^2</math>, design a hypothesis testing procedure with the level of significance <math>\alpha=10%</math>.  State the null hypothesis clearly and describe the criteria for accepting/rejecting the null hypothesis.
 +
 +
4. We want to test if students who have breakfast perform better in the exam than students who do not.  From the data we collect over time, we believe that test scores are normally distributed and the variance of the test score is 120.  We sample 30 students from the first group and 30 students from the second group, and collect their test scores.  Describe a null hypothesis and show how to perform a hypothesis testing for this problem.  Describe the criteria with 5% level of significance.
 +
 +
5. The time it takes for a web server to crash (in hours) is exponentially distributed.  The company that builds the server claims that the server has an average up time of <math>h</math> hours.  We collect a sample of its up times <math>X_1,X_2,\ldots,X_{20}</math>.  Describe a hypothesis testing procedure with %5 level of significance that the average up time is at least <math>h</math> hours as claimed by the company.
  
 
== Part 3: Regression ==
 
== Part 3: Regression ==
 +
1. Consider the following data:
 +
 +
<pre>
 +
x(i) y(i)
 +
73.88 22.67
 +
62.66 27.48
 +
94.99 45.46
 +
84.45 34.61
 +
46.05 28.39
 +
75.46 34.32
 +
</pre>
 +
 +
* Estimate the parameter A & B such that <math>A+Bx</math> is an estimate of <math>y</math>.
 +
 +
* Estimate the variance <math>\sigma^2</math> of the error.
 +
 +
2. (IPSES, problem 21, chapter 7.) Consider a different regression model where
 +
 +
<center><math>Y = \beta X + e,</math></center>
 +
 +
where <math>e\sim Normal(0,\sigma^2)</math>.
 +
 +
Suppose that we get a sample <math>(x_1,y_1),\ldots,(x_n,y_n)</math>.  Find the least square estimator <math>B</math> for <math>\beta</math>.

รุ่นแก้ไขปัจจุบันเมื่อ 02:39, 9 ธันวาคม 2557

This is part of probstat.

Part 1: Poisson and exponential random variables

1. Consider the number of car accidents in the parking lot over a period of one week. We know that the numbers of accidents are Poisson distributed random variable, and on average, there are 0.4 accidents per week. Find the probability that at least one accident occurs this week.

2. On average, each day Programmer Lazy puts in 5 bugs to the code. The manager tries to give incentives for the programmer to improve, so the manager decides to give a reward to the programmer on any day Programmer Lazy only puts in less than 3 bugs. If the number of bugs is a Poisson distributed random variable and Programmer Lazy does not change at all, what is the probability that Programmer Lazy gets a reward on any day?

3. The time it takes for a web server to crash (in hours) is exponentially distributed with parameter . What is the probability that the web server crashes within 2 weeks (14 days) of operation?

4. A system consists of 5 components. It will fail if any of its components are broken. The lifetime of each component (in minutes) is exponentially distributed with parameter . What is the probability that the system works for minutes?

Part 2: Hypothesis testing

1. We are interested in testing if a normally-distributed population has mean zero. We know that the variance of the population is 17. If we decide to take a sample of size 15, design a hypothesis testing procedure with the level of significance . State the null hypothesis clearly and describe the criteria for accepting/rejecting the null hypothesis.

2. We are interested in testing if a normally-distributed population has mean at least 100. We know that the variance of the population is 30. If we decide to take a sample of size 10, design a hypothesis testing procedure with the level of significance . State the null hypothesis clearly and describe the criteria for accepting/rejecting the null hypothesis.

3. We are interested in testing if a normally-distributed population has mean at least 100. However, we do not know the population variance. If we decide to take a sample of size 10 to compute the sample mean and the sample variance , design a hypothesis testing procedure with the level of significance . State the null hypothesis clearly and describe the criteria for accepting/rejecting the null hypothesis.

4. We want to test if students who have breakfast perform better in the exam than students who do not. From the data we collect over time, we believe that test scores are normally distributed and the variance of the test score is 120. We sample 30 students from the first group and 30 students from the second group, and collect their test scores. Describe a null hypothesis and show how to perform a hypothesis testing for this problem. Describe the criteria with 5% level of significance.

5. The time it takes for a web server to crash (in hours) is exponentially distributed. The company that builds the server claims that the server has an average up time of hours. We collect a sample of its up times . Describe a hypothesis testing procedure with %5 level of significance that the average up time is at least hours as claimed by the company.

Part 3: Regression

1. Consider the following data:

x(i)	y(i)
73.88	22.67
62.66	27.48
94.99	45.46
84.45	34.61
46.05	28.39
75.46	34.32
  • Estimate the parameter A & B such that is an estimate of .
  • Estimate the variance of the error.

2. (IPSES, problem 21, chapter 7.) Consider a different regression model where

where .

Suppose that we get a sample . Find the least square estimator for .