-
-
Save zachlim98/503914c0c98e32f9d243a0000f292b53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startrev = dcf_proj.loc["revenue",year] #get the starting revenue | |
allFVs = [] #create a list to store FV values | |
for p in range(10000): #run the simulation 10000 times | |
#creating projections for a 5 year dcf model | |
Fiveyrev = [] | |
Fiveyinc = [] | |
Fiveyfcf = [] | |
for i in range(5): | |
startrev = startrev*(1+np.random.normal(loc=rev_change_mean, scale=rev_change_stdd)) | |
neti = startrev*(margin_change/100) | |
fcf = neti*(fcf_change/100) | |
Fiveyrev.append(startrev) | |
Fiveyinc.append(neti) | |
Fiveyfcf.append(fcf) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment