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
error using r2.factor margins contrast operator ?dear statalisters: i have attempted to use margins with contrast operators to compare all levels of …
The Recentered Influence Function (RIF) Decomposition of Concentration IndexHello guys! I am currently working with decomposition of concentration index by employing a Recente…
graph bar with multiple yvars with different scalesI have prepared a bar graph with the following data and code. There are two yvars with different sca…
"prodest" stata command to estimate TFPDear Stata Users, I want to use "prodest" command to estimate TFP. Can you, please adress the follo…
Quantile Regression [Demographic Health Survey Dataset]; handling survey design in analysisDear Stata pros and seniors, I am using Quantile regression - along with Oaxaca-Decomposition metho…
Subscribe to:
Post Comments (Atom)
0 Response to Format
Post a Comment