Hello,
I want to make the portfolio sort analysis and extract the idiosyncratic volatility,
However, I had to structure the dataset myself because there is no database with cryptocurrencies as well as my market return proxy.
When datasets are merged I have 5 years of returns for each crypto and 5 years for market return but it is only one variable so for other dates of crypto the return has a missing value.
I was wondering what would be an adequate solution to this problem in order to run asreg on a rolling window basis or MacBeth analysis?
I post the piece of the picture of what it looks like bellow.
Thank You for Your time.
Related Posts with Different variables with different dates
List Unique Data of One or More VariablesI would like to see a list of unique data for one or more variables. Can anyone please suggest how b…
Runby for each firm_id and yearHi, I am trying to run a regression for each firm_id (gvkey) and year and store the estimated coeff…
Propensity Score Matching (PSM) + Difference-in-Difference (DID) regression with control variablesHi there, I have two-period balanced panel data (200 individuals in both periods), with which I hav…
use local in foreach commandDear All, I ran the following command Code: local in1 "inrange(year,2011,2012)" local in2 "inrange(…
Loop over *dta files to export to csv filesDear Stata users I have 132 *dta files (X1.dta to X132.dta) in the folder which must be exported to…
Subscribe to:
Post Comments (Atom)
0 Response to Different variables with different dates
Post a Comment