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
Cointegration for Probit modelGood evening, I have a probit model where: probit(y) = intercept + beta1*var1 + beta2*var2 + beta3…
Multinomial Probit model with continuous endogenous regressorsHi there May I ask if there are stata commands for running multinomial probit model with continuous…
How to overcome the maximum (300) limits of estimation results in storageI have a dataset of nearly 1000 individuals, each individuals have 1200-1300 obs. The task is run re…
How to find observations who meet two criteriea?Hi I want to browse or tabulate those patients who fullfill two criteriea from an variable in my da…
Store Regression Coefficients after LoopDear all, I have the following data format where type is the type of the car (categorical). At each…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy variable from monthly to yearly
Post a Comment