Hello!
I hope someone here is able to help me out with this matter. I have a research where I am trying to look at the effect of size and the month of january on stock returns.
Currently I am trying to organize the data. I try to summarize it using if commands like this:
summarize if size ==1 & month = Jan.
However, when entering it does not seem to register "Jan" as an actual month. Even though I have a variable called month, which has the data for which month belongs to that specific value.
I tried turing the months into numbers, but then again a command like '1 = jan" doesn't work because you run into the same problem of stata not realising what "Jan" is supposed to be.
Kind regards,
Billy Radboud
Related Posts with Quick question: how to let stata read months?
Breusch-Pagan and Hausman Interpretation and Execution in Panel Data ModelsHi Guys, I am running a series of regressions on a panel of 36 countries over a 40 year period to d…
Plotting coefficient of two dependent variables from multiple modelsHello Statalist, I have multiple regression models with different dependent variables (say, v1 to v…
Principal Component Analysis for Constructing a Wealth IndexI want to create a DHS-style wealth index using Principal Component Analysis. I have 27 binary varia…
Fuzzydid with large datasetI am analysing the effect of a social transfer earmarked for energy consumption on the consumption o…
Matrix inversion in Stata 16 and 17 leads to different resultsHi all, I think I found some behaviour of Stata 16 vs Stata 17 which I do not understand and is worr…
Subscribe to:
Post Comments (Atom)
0 Response to Quick question: how to let stata read months?
Post a Comment