Question

In: Statistics and Probability

Running a Monte Carlo simulation to calculate the probability that the daily return from S&P will...

Running a Monte Carlo simulation to calculate the probability that the daily return from S&P will be > 5%. We will assume that the historical S&P daily return follows a normal distribution with an average daily return of 0.03 (%) and a standard deviation of 0.97 (%).

To begin we will generate 100 random samples from the normal distribution. For the generated samples we will calculate the mean, standard deviation, and probability of occurrence where the simulation result is greater than 5%.

Repeat simulator for the two cases where the number of simulations/samples is equal to 1000 and 1000. For each case record the mean, standard deviation, and probability.

Solutions

Expert Solution

As required, the program was written (using R) and the output for simuklation numbers 100,1000,10000,100000 and 500000 are given below.

However, probabilities are estimated as zero. This is natural as 99.73% of the observations of N(,.03,.97) distribution lies within the 3 sigma limits (.03-3*.97,.03+3*.97)= (-2.88,2.94) and hence chance of getting a sample more than 5(%) is almost nil, which is reflected in the simulation results also.

Simulation number= 100 Mean= 0.1233831 SD= 0.8791227 Probability= 0

Simulation number= 1000 Mean= -0.00416643 SD= 1.003485 Probability= 0

Simulation number= 10000 Mean= 0.03263355 SD= 0.9741533 Probability= 0
Simulation number= 100000 Mean= 0.02595217 SD= 0.9707109 Probability= 0

Simulation number=500000 Mean= 0.02999542 SD= 0.9696211 Probability= 0

R Program

nsim=500000
x=rnorm(nsim,.03,.97)
m=mean(x)
s=sd(x)
prob=sum(x>5)/nsim
cat("\n","Simulation number=", nsim,"Mean=",m, "SD=",s, "Probability=",prob)


Related Solutions

preform a Monte Carlo simulation in R to generate the probability distribution of the sum of...
preform a Monte Carlo simulation in R to generate the probability distribution of the sum of two die (for example 1st die is 2 and second die is 3 the random variable is 2+3=5). The R-script should print out (display in R-studio) or have saved files for the following well labeled results: 1. Histrogram or barchart of probability distribution 2. Mean of probability distribution 3. Standard deviation of probability distribution
Describe the steps needed to perform the Monte Carlo Simulation.
Describe the steps needed to perform the Monte Carlo Simulation.
A Monte Carlo simulation is a method for finding a value that is difficult to compute...
A Monte Carlo simulation is a method for finding a value that is difficult to compute by performing many random experiments. For example, suppose we wanted to estimate π to within a certain accuracy. We could do so by randomly (and independently) sampling n points from the unit square and counting how many of them are inside the unit circle (assuming that the probability of selecting a point in a given region is proportional to the area of the region)....
What is the code for running the Monte Carlo integration technique for the integral of the...
What is the code for running the Monte Carlo integration technique for the integral of the standard normal distribution at 2? Please include a graph of sample size vs relative error in the solution.
This problem is also a Monte Carlo simulation, but this time in the continuous domain: must...
This problem is also a Monte Carlo simulation, but this time in the continuous domain: must use the following fact: a circle inscribed in a unit square has as radius of 0.5 and an area of ?∗(0.52)=?4.π∗(0.52)=π4. Therefore, if you generate num_trials random points in the unit square, and count how many land inside the circle, you can calculate an approximation of ? For this problem, you must create code in python (A) Draw the diagram of the unit square...
This problem is also a Monte Carlo simulation, but this time in the continuous domain: must...
This problem is also a Monte Carlo simulation, but this time in the continuous domain: must use the following fact: a circle inscribed in a unit square has as radius of 0.5 and an area of ?∗(0.52)=?4.π∗(0.52)=π4. Therefore, if you generate num_trials random points in the unit square, and count how many land inside the circle, you can calculate an approximation of ? For this problem, you must create code in python (B) Without drawing the diagram, calculate the value...
Please provide an example of a Monte Carlo simulation model (and explain). Your simulation example should...
Please provide an example of a Monte Carlo simulation model (and explain). Your simulation example should be able to: Tackle a wide variety of problems using simulation Understand the seven steps of conducting a simulation Explain the advantages and disadvantages of simulation Develop random number intervals and use them to generate outcomes Understand alternative computer simulation packages available Explain the different type of simulations Explain the basic concept of simulation
Discuss about Monte Carlo simulation, with a focus on its steps. (100% rating)
Discuss about Monte Carlo simulation, with a focus on its steps. (100% rating)
problem is also a Monte Carlo simulation, but this time in the continuous domain: must use...
problem is also a Monte Carlo simulation, but this time in the continuous domain: must use the following fact: a circle inscribed in a unit square has as radius of 0.5 and an area of ?∗(0.52)=?4.π∗(0.52)=π4. Therefore, if you generate num_trials random points in the unit square, and count how many land inside the circle, you can calculate an approximation of ? For this problem, you must create code in python (A) Draw the diagram of the unit square with...
After applying Monte Carlo Simulation for a potential investment opportunity, you observed that the mean of...
After applying Monte Carlo Simulation for a potential investment opportunity, you observed that the mean of the NPV distribution generated from the 10,000 iterations of this investment opportunity was $320 million and the Value at Risk (VAR) was $-550 million. Present a balanced recommendation based on these simulation results regarding whether or not the firm should make this investment.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT