Hi all,
I have a panel dataset of companies with trading days for the period from 2010 until 2020. However, i will need to drop the company who has more than 50% of missing values or the return is 0 Return in one of the trading years (2010 or 2011 or...).
As i see I need to generate a trading days for USA for this period (2010- june2020) and than match the days of trading of each company, so if the return of the company is missing or the return is equal to 0, that company to be drooped from the sample. However, i do not know how to write this command.Attached i am sending a sample.
Knowing the expertise that you have, I was hoping that you could help me in solving this problem.
Sincerely,
Related Posts with Missing values more than 50% of trading days
Merging datasets with one to many mappingHi All, My first dataset is an input-output matrix, that resembles the following: Code: * Exampl…
How to calculate/obtain the standard errors of the residuals using FamaMacBeth with asreg fmb for Shanken Correction (1992)Hello everyone, I am currently trying to implement the Shanken (1992) Correction for my dataset aft…
Generating a graph for Odds Ration and CI from logistic regression resultsI want to plot the results of logistic regression in Stata 13. The DV is Obesity. The x-axis will sh…
Problem with delimitDear All, I have a master file from where I invoke other auxiliary files, the code being: Code: …
Time Fixed effectsHello everyone, Just running a panel data regression, and the results for the Hausman test prove tha…
Subscribe to:
Post Comments (Atom)
0 Response to Missing values more than 50% of trading days
Post a Comment