In Stata, I need to calculate the age of a patient at the last check-up by using the date of birth and the check-up date. All the data is inputted via spreadsheet. The dates in the spreadsheet are formatted like this: 6/12/57, 8/1/08, etc. I am unsure on how to convert the string to an integer for subtraction and not sure on how to correctly write the dates (or how to change all the dates to fit the format). I have a large data set so it would seem impractical to individually change each date.
Related Posts with Calculating Age Using Dates
hierarchical dendrogramMy data describes a network where each 'parent' is followed by 'children', each of whom is then foll…
Normalizing VariablesHi - I am working with Panel data comprising 820 companies across 19 years. My data includes financi…
Compare restricted and full model that are pooled and p-weightedDear All! The issue I want to solve is: I have two data points in time, whereas in 8% not the same …
asdoc on stata for logit regressionWhen I write logit X Y asdoc logit, or I get the word print out version of the coefficients table.…
Exact test statistic comapring avg. marignal effects after logit?Dear all, can anyone point me towards a place to look for the exact statistic for the comparison of…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating Age Using Dates
Post a Comment