Hi all,
I am currently writing my master thesis and I have the following problem. I made a dummy variable that is equal to one if the share price of a company is lower than 5 dollars during a specific month. I want to make the dummy variable 1 for the whole year for a specific company when the dummy equals one for a specific month during the given year. Example: dummy equals 1 during Jan 2000 for a specific company, then I want the dummy to be equal to one for the whole year of 2000.
What is the best way to approach this?
Kind regards,
Rob Winters
Related Posts with Dummy variable from monthly to yearly
Time Series. Problem with sample size and ForecastingDear Stata Forum member, I hope you are having a good day. I am conducting research to analyze the …
Generating new variable as a function of most common observation in another variableHey everyone! I am trying to create a concentration index for occupation across States for different…
xtivreg postestimation commands for endogeneity, week instrument and over-identification testHi, I'm solving simultaneous equations with endogenous variable, hence choose 2sls. I've panel data…
Diagnostics for melogitI wonder if anyone can help me with the commands for diagnostics and model fitting for a multi level…
xtpmg or xtmg?Hello, I want to understand the difference between these two estimators and how well they can estim…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variable from monthly to yearly
Post a Comment