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
Creating square root scale of the household incomeHello, can anyone help me? I Need to create a square root scale of the household income (income/squa…
How to plot the below graphs after quantile regression?How to plot the below graphs after quantile regression? I have used "grqreg" but i found different p…
How to combine two variables into one based on two criteriaHi I am a beginner in Stata. I have one panel dataset, and I want to do the following: To look up …
Simultaneous GMMCan we estimate two simultaneous equations using a single-equation technique such as GMM, instead of…
data transformationAs i am not a statistician i have a naive question. i have 50 dependent variables that i want to reg…
Subscribe to:
Post Comments (Atom)
0 Response to Combining two date variables into one
Post a Comment