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
Graphing interaction termsI have fitted a two - level cross-classified logistic models using runmlwin (mcmc). I would like to …
General QuestionHello experts, Kindly guide me how to export data from stata to excel file. …
Multiple imputation with panel dataHello, I want to use a multiple imputation panel dataset (originally in SPSS) in Stata. To do so, I…
Is there a way to checking if two n-dimensional "matrices" are equal without writing a loop? (n>2)I am writing code that involves three dimensional spatial data. I need to check if two 3D matrices,…
ProgrammingHello experts, Kindly let me know how to match merge two or more files. I need the codes. Thanks …
Subscribe to:
Post Comments (Atom)
0 Response to Filling in unobserved dates with past values
Post a Comment