Hey I have a dataset in this format:
Date(daily) var1 var2 var3 var4 var5
I only want to work with the value that each variable have the last day in each month
So for january I want the value for day 31, for february the value for day 28(unless leap year of course), and so on.
Also, if the last date in this month is a holiday and I have no value, can I make it use the last valid value for this month? Missing values are noted as NA instead of a number.
Related Posts with Using only end of month values for a daily dataset?
Exponent operator doesn't work with generateCan anyone explain this problem I'm having in Stata 15. I just want to generate a variable which is…
Summary stats for panel dataI have the following dataset from years 2000-2010. Code: * Example generated by -dataex-. To insta…
SIC codes matchingHi, I want to match the SIC codes of the target and acquirer using SDC data (SIC codes). I already d…
Creating a Panal Data Sheet in excel for STATAGood day, I am working on my thesis, and I have separate variables from OECD on excel sheets. Indiv…
variable Omitted due to collinearityHi, I am facing the similar problem of collinearity among independent variables but my model contain…
Subscribe to:
Post Comments (Atom)
0 Response to Using only end of month values for a daily dataset?
Post a Comment