Skip to content
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

Portfolio share with 'bad' assets #741

Closed
Mv77 opened this issue Jul 2, 2020 · 5 comments
Closed

Portfolio share with 'bad' assets #741

Mv77 opened this issue Jul 2, 2020 · 5 comments

Comments

@Mv77
Copy link
Contributor

Mv77 commented Jul 2, 2020

Hi,

Working with the ConsPortfolioModel tool while trying to fix the CGMPortfolio remark, I noticed that the solution does not behave well when the risky asset is bad enough that the agent never wants to hold it (e.g. setting RiskyAvg = 0.8), and one works with continuous shares. The solution method in this setting fails because it finds no share satisfying the FOC so it goes to the line:

print('No optimal controls found for a=' + str(aNrmGrid[j]))

for every aNrm level, at every time period, and does not compute the consumption function.

I understand this case does not make much sense from a modeling point of view, but wanted to report the error nonetheless.

@mnwhite
Copy link
Contributor

mnwhite commented Jul 2, 2020 via email

@llorracc
Copy link
Collaborator

llorracc commented Jul 2, 2020 via email

@Mv77
Copy link
Contributor Author

Mv77 commented Jul 2, 2020

Sure, I can give it a go this afternoon.

@Mv77
Copy link
Contributor Author

Mv77 commented Jul 2, 2020

I'm getting started on this now.

The proposed solution is to -before solving- check if there is an equity premium, and if there isn't set the share to zero.

However, checking the code I see that you now allow income shocks and risky returns to be non-independent. This made me think: are there instances where it is optimal to have a positive share even if there is no premium? Maybe if the asset is a very good hedge against income shocks?

@mnwhite
Copy link
Contributor

mnwhite commented Jul 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants