Construct a 2-d random variable

Assignment Help MATLAB Programming
Reference no: EM131221887

PROBLEM 1: The two foremost aerospace companies in the USA are Lockheed and Boeing. They often compete for government contracts. A major factor in awarding a contract is the claimed reliability of the given system to be built. Suppose that a particular space shuttle system health has three levels: (i) good, (ii) bad, but fixable, and (iii) bad.

(a) Construct a 2-D random variable, call it (X, Y), where X relates to the company and Y relates to the system health. Recall that this random variable is not well-defined unless its sample space is also given.

(b) Let A denote the event that the system is bad but fixable. Give this event in (i) standard notation and (ii) as a subset of your sample space in (a).

(c) Let B denote the event that the system was built by Boeing. Give this event in (i) standard notation and (ii) as a subset of your sample space in (a).

(d) Let C denote the event that that Boeing built the system, given that it has bad, but is fixable. Give this event in (i) standard notation and (ii) as a subset of your sample space in (a).

(e) Let D denote the event that that Boeing built the system, and that it has bad, but is fixable. It should be clear that there is a difference between the events C and D. Explain this difference in relation to the concept of a sample space.

(f) Let E denote the event that that the system is not good, given that it was built by Lockheed. Give this event in (i) standard notation and (ii) as a subset of the associated constrained sample space.

PROBLEM 2: In an effort to quantify the likelihood that a given manufactured part will or will not meet a given specification, a sample of n=10 parts will be randomly selected and measured for conformance. The guiding random variable, X, is the act of noting whether or not any selected part conforms to the specification, with the events [X = 0] ∼ conforms and [X = 1] ∼ does not conforms. Let Pr[X = 1] =Δ Px. Let X = (X1, X2, · · ·, X10) denote the 10-D data collection variable associated with X.

(a) How many elements are in the sample space SX?

(b) Let Y = k-110Xk denote the act of recording the number of sampled parts that do not conform. Give SY.

Remark. Because the elements of X = (X1, X2, · · ·, X10) are data collection variables in relation to X, each element is identically distributed (id), having the same distribution as X. Furthermore, because the elements are selected randomly, it is reasonable to assume that they are mutually independent (i). In other words, the elements of X are iid random variables. It should be clear that k-110Xk =Δ Y∼ binomial (n=10, p) and1408_Figure.png.

(c) Even though the goal of the study is to estimate px, assume in this part that, in truth, Px = 0.1. Use the Matlab command 'binomd' to run nsim = 15 simulations of P^x = Y/10 = X-. Include your code in the Appendix @ 2(c), and copy/paste your results below. [Give each number to only ONE decimal place.]

(d) Even though, in truth, px = 0.1, you should have found in (c) that some of your 15 simulations yielded estimates p^x ≠ px. This should be expected, since the estimator p^x is, after all, a random variable. Use the command 'binopdf' to compute Pr[p^x  = 0]. Copy/paste the command and result HERE.

(e) In view of your answer in (d), explain why you think (or do not think) your simulation results in (c) are reasonable.

(f) Use the command 'binopdf' to search for the value of the smallest sample size, n, that would yield Pr[p^x  = 0] ≤ 0.05. Give the value of the associated probability, as well as the probability for sample size n-1.

(g) To verify your answer in (f), use the pdf expression559_Figure1.pngto solve for the numerical value of n (it will not be an integer), such that Pr[p^x  = 0] ≤ 0.05.

PROBLEM 3: Suppose that a given system has n=10 critical components. Let (X1, X2, · · ·, X10) denote the states of these components, where. Let [Xk = 0] and [Xk = 1] denote the events that the kth component is good and bad, respectively. Let k-110Xk denote the number of bad components.

(a) Assume, as is the case in most textbooks on the subject, that these ten random variables are mutually independent and identically distributed (iid), and for each k ∈{1, 2, · · · , 10} we have pk =Δ[Xk = 1] = p. It should be clear that, in this case, Y ∼ binomial (n = 10, p). For p=0.05 use the Matlab command 'binopdf' to ultimately arrive at a stem plot of fY(y) over the range y ∈ {0, 1, · · · , 10}.

(b) Use your plot in (a) to visually estimate Pr[Y ≤ 2].

(c) Use the appropriate Matlab command to obtain the value of Pr[Y > 4]. Include your command HERE.

(d) The above parts related to TRUE probabilities. However, often those probabilities are not known, and must be estimated from data. Use the Matlab command 'binornd' to simulate measurements of the data collection variables {Yk}k-15. (i) Include your command and the resulting 5 measurements {yk}k-15 HERE.

(e) (i) Use your data in (d) to estimate Pr[Y = 0]. Then (ii) discuss how your estimate compares to the true value of Pr[Y = 0].

(f) Denote your estimator in (e) as Pr^[Y = 0]. To better understand this estimator, begin by using the 'binornd' command to simulate 104 estimates of Pr^[Y = 0]. Then use the Matlab commands 'mean' and 'std' to arrive at simulation-based approximate values for the mean and standard deviation of Pr^[Y = 0]. Give these numbers here. Include your code @ 2(f) in the Appendix.

PROBLEM 4: There are many endeavors in life that must be repeated again and again, until you 'get it right'. Let [Xk = 0] and [Xk = 1] denote the events that you get it wrong, or right, respectively, on the kth attempt, and let Pr[Xk=1]=Δ pk. Let the event [Y = y] denote the event that you finally get it right on the yth attempt.

(a) Assume that the collection of random variables {Xk}k-1 are mutually independent and identically distributed (iid) random variables, and that pk = 0.1 (i.e. the endeavor is a relatively challenging one). Under these assumptions, it should be clear that Y ∼ geometrixc. Use the Matlab command 'geopdf' to arrive at a stem plot of fY(y) for the range of attempts y ∈ {1, 2, · · · , 50}. Include your code @ 4(a) in the Appendix.

(b) Use the Matlab command 'geocdf' to arrive at the value for Pr[Y > 5].

(c) Identify the equations in the book that give the mean and standard deviation for Y, and compute their numerical values.

(d) The gain some experience in simulating random variables, use the Matlab command 'geornd' to simulate a single measurement of the data collection variables {Yk}k-110. (i) Copy/paste the command and related 10 measurements {yk}k-110 HERE.

(e) Now, still assume that {Xk}k-1 are mutually independent, but that in the beginning stages, after any given failure you increase your determination such that the probability of success on the next attempt is 50% greater than that of the last attempt. Assume that p1 = 0.1. Arrive at Pr[Y > 5]. Show all equation development HERE, but give related code @ 4(e) in the Appendix.

Reference no: EM131221887

Questions Cloud

Origin of lean manufacturing and six sigma : Two Conditions in Japan lead to the origin of Lean Manufacturing and Six Sigma. Japan could not compete with other industrialized economies on costs, volume or quality using standard mass production approaches and their focus on low-tech, pull sys..
How many length-(k - 1) subsets do we need to check in : Let c be a candidate itemset in Ck generated by the Apriori algorithm. How many length-(k - 1) subsets do we need to check in the prune step? Per your previous answer, can you give an improved version of procedure has infrequent subset in Figure 6..
Describe and apply operation management principles : Define the major activities associated with defining, organizing, planning, monitoring, and controlling projects. Describe and apply operation management principles. Develop and assess project management techniques.
What happens to output and the real exchange rate : If the central bank holds the real interest rate constant, what happens to output and the real exchange rate? - should it raise or lower the interest rate?
Construct a 2-d random variable : Construct a 2-D random variable, call it (X, Y), where X relates to the company and Y relates to the system health. Recall that this random variable is not well-defined unless its sample space is also given
What are some of the possible causes of this anxiety : A new employee is likely to be anxious the first few days on the job. What are some of the possible causes of this anxiety? How may the anxiety be reduced?
Exhibit the relevant information in the balance sheet : ABC Lmited issued Rs 10,000, 12% debentures of Rs 100 each payable Rs 30 on application and remaining amount on allotment. The public applied for 9,000 debentures which were fully allotted, and all the relevant allotment money was duly received. Give..
Providing security for an organization : Providing security for an organization can be a costly venture. The cost of safeguarding our information and resources should never exceed the value of that information and resource.
Shares of common stock to a valued employee : The two original shareholders of a LLC issue 40,000 shares of common stock to a valued employee (vice-president of marketing) who was being wooed by a rival company. The employee pays nothing for the shares, but the employee is prohibited from sellin..

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd