Hi,
I have a dataset with information from two different registers. The registers contain the same type of observations (presence or absence of disease, coded as 0 or 1). My dataset contains 5 variable;
ID
date (for entry in register 1)
disease (in register 1)
date (for entry in register 2)
disease (in register 2).
I need to identify the first time study participants were coded as 1 (first time diagnosis) in either register 1 or 2. Anyone knows of a way to achieve this?
Best wishes,
David
Related Posts with Combining two date variables into one
Temp file error.I'm having a problem with a little bit of Code that is: Code: merge 1:1 week using `A1', nogen tem…
Inter-rater agreement for a large nested survey dataHi all, I am running into an issue dealing with generateng inter-rater agreement for a nested survey…
R squared and Adjusted R squared values on xtreg (random effects panel regression)Hello everyone! I am doing my dissertation which requires me to do some random effects panel data r…
How to add leading zeros for string variables containing both numbers and lettersHi Statalisters, I try to add leading zeros for my string variable named cusip by using the code -g…
C plugin argumentsStataers, I wrote a C plugin that I can call using this code: Code: program r preserve versio…
Subscribe to:
Post Comments (Atom)
0 Response to Combining two date variables into one
Post a Comment