Derive piecewise quadratic cumulative distribution function

Assignment Help Engineering Mathematics
Reference no: EM131102309

E28: Mobile Robotics - Fall 2015 - HOMEWORK 10

1. Tent-shaped continuous probability distribution

We will design a program to sample from a tent-shaped probability density function, as pictured below:

1313_Figure.png

Note that p(x) = 0 for x ∉ [0, 1].

a. What must the height h of the tent be, and why? Use your answer to derive a piecewise-linear function defining the probability density function p(x) for the domain x ∈ [0, 1].

b. Derive a piecewise quadratic cumulative distribution function cdf(x) for the domain x ∈ [0, 1].

c. Finally, derive the inverse function cdf-1(q) for q ∈ [0, 1].

d. Write a program to plot p(x), cdf(x), and cdf-1(q) over the unit interval.

e. Write a program to sample from p(x) by mapping a uniformly generated random number q ∈ [0, 1] through the inverse distribution function. Demonstrate the effectiveness of your method by generating a histogram showing the frequencies of 10,000 total samples in 20 equally spaced bins over the unit interval (i.e. each with a width of 0.05).

Reference no: EM131102309

Questions Cloud

What will happen if the stock is not in equilibrium : If the risk-free rate is 9 percent and the expected rate of return on an average stock is 13 percent, what are the required rates of return on Stocks C and D? b. For Stock C, suppose the current price, P0, is $25; the next expected dividend, D1, is $..
Children diagnosed with autism : Do you think that children diagnosed with autism should be mainstreamed into regular classes or kept with other children that also have a developmental disorder?
Should health care be based on allocative -regulatory policy : How would you help solve one of the "challenges for heath policy" covered in the text? Give some examples of how one or more of these challenges have come in the way of advancing population health.
How does managements explanation enhance the usefulness : `How does management's explanation enhance the usefulness of financial accounting information?
Derive piecewise quadratic cumulative distribution function : What must the height h of the tent be, and why? Use your answer to derive a piecewise-linear function defining the probability density function p(x) for the domain x ∈ [0, 1]. Derive a piecewise quadratic cumulative distribution function cdf(x) for..
Who do you sue the vendor of the ehr and the physician : What happens when evidenced based medicine a protocol within the EHR comes up, a physician overrides it, the patient has an event, who do you sue, the vendor of the EHR, the Physician, the Entity or all three?
What do we mean when we say that financial accounting : What do we mean when we say that financial accounting information is "general-purpose?
Business use of computers : What are several important computer hardware developments that you expect to happen in the next ten years. How will these affect the business use of computers? Please provide references and explanation.
What do you think about the electronic health record : What do you think about the Electronic Health Record and the incentives attached to have it in place. For physicians who see patients they will receive thousands, now that is to help recover the costs. What about academic departments who have se..

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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