STAT 3090 Sec 6 Lab

docx

School

Clemson University *

*We aren’t endorsed by this school

Course

3090

Subject

Statistics

Date

Jan 9, 2024

Type

docx

Pages

8

Uploaded by PrivateRock9572

Report
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES N AME : P URPOSE : In this lab you will apply your understanding of calculus to solve various types of probability problems dealing with continuous random variables. O BJECTIVES : Upon successful completion of this assignment, you will be able to… Calculate probabilities for a continuous random variable Find the mean and variance/standard deviation for a continuous random variable. Calculate probabilities for a normally distributed random variable using a table or calculator Find the value of a normally distributed random variable given a probability Simulate the Chi-Squared distribution and use it to solve problems. Part 1: 1. Webassign Section 6: #1 - #2 (9 pts) 2. The Red Iguana (8 pts) Dinner customers at the Red Iguana Restaurant often experience a long wait for a table. For a randomly selected customer who arrives at the restaurant between 6:00 PM and 7:00 PM, the waiting time (in minutes) is a continuous random variable such that (a) Suppose a dinner customer is randomly selected. What is the probability that the person must wait for a table at most 20 minutes? Show correct probability notation. (4 pts) .05 ( ¿ e .05 x ) dx = .6321 P ( x ≤ 20 )= 0 20 ¿ 1
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES (b) Suppose a dinner customer is randomly selected. What is the probability that the person must wait for a table between 15 and 30 minutes? Show correct probability notation. (4 pts) .05 ( ¿ e .05 x ) dx = .2492 P ( 15 ≤x ≤ 30 )= 15 30 ¿ 3. Property Loss (25 pts) The loss (in million dollars) due to a fire in a commercial building is modeled by a random variable X with a probability density function of Use this information to answer the following questions. 1. Verify that we have a legitimate probability distribution. There are two conditions that need to be satisfied. You may sketch the graph to help you answer this question. (5 pts) 1. All the probabilities are positive 2. The sum of all the probabilities is one .005 ( ¿ ( 20 x )) dx = 1 P ( 0 ≤ x≤ 20 )= 0 20 ¿ 2
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES 2. What is the probability that the loss due to a fire is between $3 million and $9 million dollars? Show correct probability notation. (5 pts) 20 x .005 ( ¿ ) dx = .42 P ( 3 ≤x ≤ 9 )= 3 9 ¿ 3. Calculate the expected loss due to a fire. (5 pts) E [ x ] 0 20 x ( x ) dx = 0 20 x 0.005 ( 20 x ) dx = 20 / 30 = ¿ $ 6.6667 million dollars 4. What is the variance of the loss due to a fire in a commercial building? (5 pts) 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 𝜎 σ2= Var (x) = 0 20 ( x 20 / 3 ) 2 f ( x ) dx = 200 / 9 = ¿ 22.22222 million dollars 𝜎𝜎 5. What is the standard deviation for the loss due to a fire? (5 pts) σ = 200 9 = ¿ $ 4.714045208 million 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES Part 2: 4. WebAssign: #3 – 15 (28 points) 5. A Relative of the Normal Distribution (20 pts) Data File: JMP file S&P500_5_yr_alpha Preliminaries for problem 3: The Normal distribution is very important to statistics. There are many distributions that can be related to the Normal distribution. A relative of the Normal distribution that we will need later in the course is called the Chi Squared ( χ 2 ) distribution. Let’s see how this distribution comes about and see if we can apply our knowledge of probability distributions in the problem 3. a) As you have learned, the Normal distribution has two parameters, the ___ mean_µ____ and the ___ Standard Deviation_ σ ____________ (2pts) b) If X is a random variable that follows a Normal distribution, then ¿ ¿ ¿ ¿ ¿ < X < ¿ ¿ P ¿ . (1 pt) c) The Standard Normal distribution has the parameters μ = ¿ ____ 0__ and σ = ¿ _____ 1___ (2 pts) d) If Z is a random variable that follows a Standard Normal distribution, then ¿ ¿ ¿ ¿ ¿ < Z < ¿ ¿ P ¿ . (1 pt) e) Suppose you take the random variable z from the Standard Normal distribution and square its value. What do you think will happen? Let’s try it. i. First create a histogram and summary statistics for a random sample of values from the Standard Normal distribution. You will find the sample in the data file 4
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES JMP file S&P500_5_yr_alpha , in the column labeled Normal Data . Highlight the Normal Data column. Then, go to the Analyze tab in JMP, and click Distribution. After doing this, make sure to select the Stack choice for the histogram. Paste the histogram and tables here. (6 pts) ii. Create a new column in JMP with the squared values of the sample from the Standard Normal distribution. To do this, double click the column to the right of the Normal data in our JMP file. Right click the Column header and select Formula . Click the x y button. Then, click Normal Data button where the column titles are listed. The default value for y is 2 so you do not need to make any other changes. Select OK . Create a histogram and summary statistics for this new data. Go to the Analyze tab in JMP, and click Distribution and use your new column . After doing this, make sure to select the Stack choice for the histogram. Paste the histogram and tables here. (6 pts) 5
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES iii. Your new data distribution is known as the Chi-Squared ( χ 2 ) distribution with degrees of freedom equal to 1 (we will learn more about degrees of freedom later). Write a sentence or two to compare the shape and means of these two distributions. In this problem it will be helpful for you to round the means to the nearest integer. You do not need to write a formal comparison of two distributions, simply compare the shapes and means. (2 pts) The first graph for Normal Data is slightly Left Skewed with an integer mean of 0 while the second graph (Chi-Squared) has a mean of 1 with a right skewed shape.. So the second graph has a higher expected value. Additionally, the first graph has a slightly more normal distribution and both graphs are unimodal distribution. 6. Mr. Morgan Plays the Market. (10 pts) a) You, a portfolio analyst at the mid-sized investment bank Morgan & Sons, have been tasked with analyzing one of the firm’s portfolios of US stocks. In particular, you would like to analyze just how well this portfolio outperformed the general market. In finance parlance, this is known as computing the alpha return. Due to various macroeconomic events, you will be analyzing the adjusted alpha-return. You will find the data for this analysis in the JMP file S&P500_5_yr_alpha. 6
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES Your colleague Milton, a PhD economist, believes that the adjusted alpha-returns should have an approximate normal distribution. Create a histogram and summary tables for the adjusted alpha-return data. Paste the output below and comment on whether you believe that the data follows a normal distribution, or if it follows the χ 2 distribution with degrees of freedom equal to 1 . You do not need to make a formal comparison of the distributions, simply write your comments. (4 pts) I believe the data follows the x^2 distribution rather that a normal distribution. It is very skewed and has a mean of 1 b) Mr. Morgan, the Managing Partner of Morgan & Sons, is thinking about changing what stocks are in this portfolio. Before making any position decisions, he would like you to compute certain return probabilities dealing with the portfolio. For this problem, assume that adjusted alpha-returns have a Chi-Squared Distribution with degrees of freedom 1. i. The Board of Directors will fire Mr. Morgan (and give him an exceedingly generous golden parachute) if adjusted alpha-returns do not exceed 0.1. Find the probability that Mr. Morgan is fired. Round your answer to three decimals. (2 pts) Calculator Instructions: The Chi-Squared Distribution functions in your calculator work very similar to the Normal Distribution functions. Rather than selecting normalcdf, you will select χ 2 cdf. Enter the lower bound, upper bound and degrees of freedom (which will be 1 in today’s problem). Note, the smallest value for a Chi-Squared distribution is 0 and the largest value is + . To show your work write down the lower bound and upper bound you are using in the calculator. 7
STAT 3090 S ECTION 6 L AB F ALL 2023 C ONTINUOUS R ANDOM V ARIABLES Lower bound 0 Upper bound .1 1 degree There is a .248 probability that Mr. Morgan will be fired (24.8% chance) ii. Mr. Morgan will receive an exceedingly large bonus if adjusted alpha-returns exceed 1.5. What is the probability Mr. Morgan gets his bonus? Round your answer to three decimals. To show your work write down the lower bound and upper bound you are using. (2 pts) lower bound = 1.5 Upper bound = 1000000 .221 is the probability that Mr. Morgan gets a raise (22.1% chance) iii. If Adjusted alpha-returns are between 0.1 and 1.5, no one on your team will receive their bonuses. What is the probability no one receives their bonus? Round your answer to three decimals. Show your work by either using the answers from above or write down the lower and upper bounds. (9 pts) Lower bound = .1 Upper bound = 1.5 .531 is the probability that no one receives their bonus (53.1% chance) (χ2 ≤ 1.5) = 1 − (χ2 ≥ 1.5) = 1 − 0.221 = 0.779. then (0.1 ≤ χ2 ≤ 1.5) = (χ2 ≤ 1.5) − (χ2 ≤ 0.1) = 0.531. 8