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

  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