Generate a sample of the exponential distribution

Assignment Help MATLAB Programming
Reference no: EM131240902

Project - Simulation in Finance

Use the inverse transforms method to generate a sample of the exponential distribution with parameter θ, which is given by its density

289_Figure.png

where θ is a positive parameter, that is θ > 0.

Provide the following in LATEX-format in a pdf-file:

1. The cumulative distribution function F (including derivation).

2. Its inverse, F-1 (with proof).

3. For the particular choices θ = 2 and 10, create histograms for sample sizes n = 100, 1,000, and 10,000. Explain what you expect to see and what you actually see. Give a justification if there is a difference between your expectation and what you actually see.

4. For an exponential distributed random variable X, calculate the theoretical mean,

μ = E[X],

and variance

σ2 = E[X - μ)2] = E[X2] -E[x]2.

5. Use a sample of the exponential distribution to estimate μ and σ2. Using these estimations to write down the 66.66%, the 90%, and the 99% asymptotical confidence interval for the estimate of μ. Do all of this for the sample sizes n = 100, 1, 000, and 10, 000. Explain what you expect to see and what you actually see. Give a justification if there is a difference between your expectation and what you actually see.

6. The Matlab code.

Write up your results (written in LATEX in a pdf-file) (about 2-5 pages) and hand this in together with your used computer programme(s).

Reference no: EM131240902

Questions Cloud

Write down the equations for simulating the path : Write down the equations for simulating the path followed by the asset price in the stochastic volatility model in equations.
What is optimal bundle of cups of coffee-dozens of donuts : Consider Bob who only consumes donuts and coffee in fixed proportions. Bob consumes 2 donuts with each cup of coffee. Write down a utility function that is consistent with Bob's preferences. Graph the indifference curves from part a with coffee on th..
When interest rates are constant : ‘‘When interest rates are constant the IVF model correctly values any derivative whose payoff depends on the value of the underlying asset at only one time.'' Explain why.
What is the resistance of the wire : The magnetic flux that passes through one turn of a 22-turn coil of wire changes to 4.0 Wb from 8.0 Wb in a time of 0.024 s. The average induced current in the coil is 235 A. What is the resistance of the wire?
Generate a sample of the exponential distribution : MS455/MS555 Project - Simulation in Finance. Use the inverse transforms method to generate a sample of the exponential distribution with parameter θ, which is given by its density
Explain the importance of strategic planning and vision : Write a 550- to 600-word executive summary in which you articulate court purposes and responsibilities. Explain the importance of strategic planning and vision as foundations of successful court management. Include the following: Appraise the imp..
Write a paper about accounting information system : Write a 16 pages paper excluding the reference page accounting information system APA format with 8 references. Assume you are the owner of a small CPA practice in a major metropolitan area.
Determine the volumetric flow rate through the venturi meter : Determine the volumetric flow rate through the Venturi meter shown in Fig. P12.32 if viscous effects are negligible and the fluid is water.
What is the distance traveled from the starting point : An aircraft starts at rest and is accelerated at 7.8 m/s2 for 9 seconds, at which time the aircraft launches. What is the distance traveled from the starting point to the launch point? Assume the acceleration is constant.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Find out root of function by bisection method in matlab

To find out root of any given function by Bisection method in MATLAB.

  Division by zero is not possible

You must also ensure that division by zero is not possible. If the user tries to divide by zero, the calculation should not be attempted, and an error message should appear in the Result text box.

  Use backslash matlab operator for solving the systems

The programme solves a linear system of equations using naïve Gaussian elimination. Modify this programme so that it outputs upper and lower triangular matrices of LU factorisation.

  Compute and flote 4 average temperature profiles

Generate by measdata.m an array A withsize (365,24), containing temperature measurements for an entire year [1 January,..., 31 December], 24 hours a day [00.00h,...,23.00h].

  Prepare a matlab code for triangulation

Prepare a matlab code for triangulation

  Function that takes as input parameters a function

Define a function that takes as input parameters a function handle f, start, and end values a and b, and a number of steps n. The function should compute and return the average value of f over the range a to b.

  Write a matlab program that will display a menu

a. Write a Matlab program that will display a menu, which will let the user to:1. Enter a function in symbolic format 2. Displays the nth root of the function, n is entered/selected by the user - n can be 1, 2,3, or 4 3. Calculates and displays the i..

  Matlab code to create the global stiffness matrix

Write a MATLAB code to create the global stiffness matrix for a problem with 6 unconstrained degrees of freedom for any linear elastic two dimensional trusses.

  Perform a least squares polynomial fit

ENG1060 ASSIGNMENT - Calculate the coefficient of determination and add it to the lower subplot and print a brief statement to the command window as to which method is best and provide a possible reason for this.

  Use the definition for the laplacian in the discrete case

Show that subtracting the Laplacian from an image is proportional to unsharp masking. Use the definition for the Laplacian in the discrete case to derive the equivalence relation, constant weighting factors should not affect your conclusion.

  Solve the problem in matlab to find the slowness map

Calculate the maximum and minimum oil in place (STOOIP) for this field -  Use the generalized linear least square formulation to solve the problem in MATLAB to find the slowness map. Can you identify the location and extend of oil spill?

  Control design using matlab

Control Design using Matlab,  Please try and explain the characteristic of all the plots and graphs.   Import all the required data in word of simply write in the script itself.

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