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
Mauchly's test of sphericity commandI am trying to test the assumption of sphericity for the purpose of running a repeated measures ANOV…
Count model with data panel ( poisson)Hi, I'm new here (and new to stata/statistical analysis) i need help with a count model with data pa…
Potential Stata (MLwiN/Estout) bug - Output of Odds Ratios' Significance Levels Hi all, I think I may have inadvertently stumbled upon a bug after using the runmlwin command for …
What is the correct way to use double-clustering in reghdfe?Hi all, I have a panel data set and I believe that correlations appear in two dimensions with both …
Complicated coarsed exact matchingHi STATLIST, I am stocked into a matching problem. In particular, I would like to use coarsened exa…
Subscribe to:
Post Comments (Atom)
0 Response to Filling in unobserved dates with past values
Post a Comment