I have data that looks something like this:
Array
It is market cap data for different companies, starting from 1 jan 2009 to 1 july 2021.
For some days, there is no data. I would like to create rows for all missing dates for each company with its last available market cap.
Some companies only existed for example from 2005 to 2008, so these don't need dates added before 05 and after 08, but if they are added I don't think it will be a problem for how I'm using the data.
Related Posts with Filling in unobserved dates with past values
Generate a new variable and assigns 1 after a value increases in other variable.Dear Statalist users, I've been still struggling for a few hours after I tried several commands sea…
Log-Likelihood, AIC, and BIC from NL?Folks I am estimating a simple non-linear model using NL. I have carefully read the documentation o…
Bayesian Posteriors (Direct Computation) HelpHello all, I am currently working on a project and some internal comments suggested that I directly…
Enter text in the top-left corner using collectHello, I've been learning how to make and export tables using the collect command, and I'm really e…
Temporary names and Mata matrix operationsDoes anyone know why the space after the row-join operator and before the tempname matrix matters in…
Subscribe to:
Post Comments (Atom)
0 Response to Filling in unobserved dates with past values
Post a Comment