-
Notifications
You must be signed in to change notification settings - Fork 382
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
DCF missing results #32
Comments
The gaps for MU are due to cash being negative. I.e. following line in the compute.DCF.IV function compute.DCF.IV <- function(cash, eqity, shares, g, R) { |
Thanks for the answer! I have two questions regarding the time periods. In your code I changed the accounts from 'annual' to 'quarterly' at this line Firstly, what does the Secondly if I change the annual accounts to quarterly accounts do I have to change the following line?
In your example on R bloggers and on github when you have annual data you say that it grows at a constant rate for 3 years, and then 20% less for 4 years etc. and finally a constant rate of 3% for the final 10 years. If the data was changed to quarterly how will I need to change the above line? Would my following intuition be correct?
The firm would grow at a constant rate for 4 quarters or 1 year then for 3 years (16 quarters) grow at a 20% less... etc. and finally grow for 10 years or 40 quarters at a constant 3%? Again, thanks, great coded DCF! |
The 80 represents number of periods to download. I.e. 80 quarters If you change from annual reports to quarterly reports, you will need to use 12 month trailing SALEs. I.e Also change and |
I am having issues I cannot seem to find the solution to in regards to the DCF analysis here.
I am running the DCF analysis for a number of firms and for many, the code works as expected.
The problem is that when I run the analysis for some firms I have 'gaps' in the DCF data.
For example when I run the following code for ticker 'LOW' I do not get any gaps.
Which gives the following output:
However when I change the firm to ticker 'MU' I obtain gaps in the DCF analysis and obtain the following graphic.
The data for both firms downloads fine from the ADVFN website so I assuming something is not going right in the calculations for 'MU'.
Any help on how I can proceed with this would be great!
The text was updated successfully, but these errors were encountered: