Hello STATLIST,
I'm trying to extract a time period to do my analysis, I used the following code, but STATA keeps complaining "too few quotes", I don't know what is the problem?
//////////////////////////////the code///////////////////
numdate monthly mdate= date, pattern (YM)
tsset mdate
format mdate %tm
generate byte extract = inrange(mdate, date("1970-01", "YM), date("2011-12", "YM"))
////////////////////////
thanks in advance
Related Posts with extracting a period of time
mtitles for titles and sub-titles within estab commandHi, I want to export a summary statistics table into Latex that is conditional on more than one var…
Structural Break VARHello, How do I test for structural break in Var model? Is the Gregory-Hansen test the appropriate …
Start counter counting missing values after each non-missing valueHi, I would like to start counter counting missing values after each non-missing value by group (un…
Matrix raised to a certain powerHi all, I am new to mata and have a question related to matrix manipulation in MATA. I have: A = (…
Regression outputHi all, I'm running a series of regression with industry and year fixed effect My dependent variabl…
Subscribe to:
Post Comments (Atom)
0 Response to extracting a period of time
Post a Comment