Hi guys, I am a new STATA user and I want to ask a very amateur question about date and formatting. I have my variable, "dateforstata", with label, "Date for Stata", type, "str10", and Format, "%10s". I also tried to follow videos, like this one, "https://www.youtube.com/watch?v=UxU3zKfedmA&ab_channel=MadeEasy" but it doesn't work because my original data is already red (numeric variable turns into a string). There are around 4500 observations for this variable and it would take ages for me to correct them. It is much appreciated if anyone can provide me with a solution... If there is anyone familiar with this question and is also free, would you mind writing me your suggested solution?
Many thanks,
Jeffrey Tse
Related Posts with Very easy question but troubleing me...
Creating Two Matrices from a Data FileDear Statalisters: I have a data file in the following format: clear input str2(firmid ownerid) floa…
Imputing Data ProcedureHello Statlister, I have a panel dataset with 15 years of consecutive data, however I have one crit…
keep variables using predict after multiple regressionsI am aware that after regress, I can use predict to generate a new predicted value. But how can I do…
multiple regression with interaction effect, but which variables should interact?Hi there, I've been searching for an answer on the internet but I haven't found anything clear yet.…
Within .ado files, is there a way to restore data but keep, until the end of program, tempvars created by the program?Dear All, I have a somewhat involved problem, but I think it boils down to this. I'm writing a progr…
Subscribe to:
Post Comments (Atom)
0 Response to Very easy question but troubleing me...
Post a Comment