I have a question concerning the average return of a portfolio.
I created 2 groups of stocks, one with sin stocks (alcohol, tobacco and gambling) and one with comperables.
For all the individual firms I have their bid, ask, open price and volume on a daily basis from 1965-2018 (or the period they exist). I would like to generate weighted average monthly returns for the sin group and the comparable group. How can I generate this in Stata?
I am replicating the paper: The price of sin: The effects of social norms on markets by Hong and Kacperczyk.
Related Posts with Creating weighted average return of portfolio
Superimposing observed and predicted Weibull survivor function graphsHi I was wondering if there is a simple way to superimpose observed and fitted Weibull survivor func…
Analysis of rotating panel design data in StataHello everyone, I have a 9-year rotating panel design in which every year, one-ninth of the sample i…
Looping through multiple strings for comparisonDear all, I would like to compare educational institutions of two workers and code a binary variabl…
zero-inflated (poisson) mediatorsHi, I am running a mediation which the mediator is zero-inflated poisson and the outcome variable is…
egen newvar=group(varlist) does not generate a variable based on all unique combinations in the varlistI have been using egen newvar=group(varname1 varname2) for a while, with the understanding that newv…
Subscribe to:
Post Comments (Atom)
0 Response to Creating weighted average return of portfolio
Post a Comment