Hello All,
I have a difficulty formating my year variable in my data set.
The data set is a huge table composed of different excel files the data of which was collected from different students. The problem is that the year-variable contains different formats of the date e.g. in the first 690 rows the year is listed as 1/1/2007 from the 691st row it is only 2007. I need to show only the year and ignore the day and month.
The solution should be a simply while loop but I couldn't figure it out.
Thank you in Advance
Dimitar
Related Posts with Format
F test xtreg, fe indicates pooled OLS is better. What are the consequences for fe?Hello, I am running a fixed effects model on an unbalanced dataset. I cannot reject the null hypoth…
Replace missings in an unbalanced panel CONDITIONAL on year and firm IDHello everyone, I am new to Statalist and have an issue with filling up missings in a panel data set…
Correcting autocorrelation by adding year dummy variables?Hello everybody! For my master dissertation, I'm dealing with panel data. In addition, I detected h…
unbalanced pandel data model - assumptionsHello, I have a clustered model which I run regress on unbalanced panel data. I am not sure which …
Small N and large T panel analysisHi! I am using panel data with N=6 and monthly data from 2000 to 2017 i.e., T=216. The specific indu…
Subscribe to:
Post Comments (Atom)
0 Response to Format
Post a Comment