I would appreciate hearing your views on whether solving the problem below is possible in STATA.
I am looking to find a portfolio of uncorrelated instruments. The portfolio should be as large as possible, from a population of 250 instruments available. Here "uncorrelated" refers to any correlation between -0.03 and 0.03.
The difficulty is that for each uncorrelated pair, I need to identify a third element which has low corr with either element in the pair, then add fourth, then fifth, etc. until I can no longer find any instruments to add. Doing this manually can take hours to process all the possible combinations, so I am hoping there is a STATA code that can achieve the result.
I attach a sample .csv file of 250 instruments with daily returns over last year.
Related Posts with Portfolio of uncorrelated instruments
List of observations in regressionHello, I am running a regression in STATA (xtgee). xtgee Profit number_employees company_size , li…
generating counterfactual when I have adjusted for a control in Interrupted time seriesDear colleagues i have a model: arima lograte time vacperiod strike malnutration, arima(1,0,0) . Whe…
Panel data: Multiple IDs, partly duplicatedI have received panel data that need lots of cleaning. The most substantial challenge is finding a u…
How to increase decimal in league table for network meta-analysisThe league table of network meta-analysis shows only two decimal. I try to increase decimal. Try to …
page break between two tables generated by -esttab-?Dear all, Is there a way to add a page break between two tables when using -esttab-? I want my code…
Subscribe to:
Post Comments (Atom)
0 Response to Portfolio of uncorrelated instruments
Post a Comment