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 maximum and minimum values of given elements

Create a script that first creates two variables, ts1 and ts2 -  Find Maximum and Minimum values of Given Elements Using MATLAB

  Create a vector in matlab

Create a three dimensional diagram of function.

  What is the purpose of the diary command in matlab

Write the MATLAB code for adding the integers 6 and 3, and storing the sum in a variable x. Write the MATLAB code that takes the square root of 9

  Compare two strings to determine if they are the same

Write a statement (or statements) that will compare two strings to determine if they are the same, ignoring whether the characters are upper or lower case.

  Matlab program to add all the elements of a matrix

Create a new vector, named vector2, containing only the elements in the even numbered positions from vector1. For example, if vector1 is [0 1 2 3 4 5 6], vector2 should be [1 3 5].

  Pattern recognition

Research and discover more in-depth knowledge about topics in Pattern Recognition and choose a topic. The best topic will be the one you are most interested in or a topic from your research project you are working on.

  Program that gets 10 numbers and stores then in an array

Write a program for a child's rectangle play yard is to be built next to the house. To make the three sides of the play-pen, twenty-four meters of fencing are available.

  Compute the value of each piece of clothing

You decide to write a script in MATLAB that will compute the value of each piece of clothing.

  Derive an analytical expression of flux density

Compare the obtained computational results with infinite surface charge approximation - Derive an analytical expression of flux density - Compare the computational results with the analytical solution.

  Implement the support vector machine algorithm

Write a program to implement the Support Vector Machine algorithm. Train an SVM classifer with data from to3 and (04 in the following way - Train your classifier with just the first patterns in 03 and aht and find the separating hyperplane and the ..

  Consider the random process

Consider the random process Z(t) = Acos(pi t), where A is a random variable that follows the standard normal Gaussian.

  Determines which member has the largest magnitude force

Determines which member has the largest magnitude force. Reports to the Command Window which member has the largest magnitude force and the value of the force in that member.

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