-
-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About Monte Carlo Simulation #24
Comments
@Kavan72 - I do not have a discord account. Maybe some time in the future but not right now. What I would recommend doing is starting with identifying which columns you want to model with a distribution. From what I can tell, you have an event risk 5-100%. You will need to define what that distribution looks like. For instance if it is a normal distribution with a mean of .5 and std deviation of .2 then you can generate 10 examples using this code: np.random.normal(.5, .2, 10) The trick is figuring out the distribution type and shape (via mean and std deviation) It also seems like your other variable is CPH which has a much wider std deviation. Maybe you do something like this: np.random.normal(150000, 50000, 10) The key is to try some of these values and see if it intuitively makes sense based on your understanding of the underlying data. Does this help? I may not be understanding your data exactly but this is my first thought. |
Ohh sorry i made you confused, forgot about this dataset. just i've 4 values
now, i wanted to find loss in between 5-100%, that's it. |
In your example, how would you calculate the loss? Maybe if I see the math of 1 example it will make sense to me. |
@chris1610
First, Thanks for the good example of MonteCarlo Simulation.
I'm trying to implement MonteCarlo for risk analysis. This is my simple data
On this data i've two types of asset value and also each asset value has high and low values. I'm trying to get risk value of each given percentage. Can you pls help me out how to fit two values in your code ?
and do you have discord account ?
The text was updated successfully, but these errors were encountered: