Hello guys,
I am so glad I found this forum, as I am new to work with STATA and I am struggling a lot right now. If anyone could help I would very much appreciate it.
QUESTION:
I am trying to analyse cohort data where total of 875 subjects were enrolled between September 2000 and June 2002, and followed-up continued until June 2004.
My aim is to investigate what is the effect of age on the outcome, however all I have is d.o.b variable. How do I transform it into age?
I need to split the age into age groups of 0-1year, 1-2 years, 2-4 years.
I tried to use ***stsplit ageband, at(1,2)*** however, when I checked it out after by using ***tab ageband*** it gave me the total of 1369 episodes (but I only have 875 subjects!!! )
How is that possible? Am I missing something? Please help, I feel very helpless.
I am so glad I found this forum, as I am new to work with STATA and I am struggling a lot right now. If anyone could help I would very much appreciate it.
QUESTION:
I am trying to analyse cohort data where total of 875 subjects were enrolled between September 2000 and June 2002, and followed-up continued until June 2004.
My aim is to investigate what is the effect of age on the outcome, however all I have is d.o.b variable. How do I transform it into age?
I need to split the age into age groups of 0-1year, 1-2 years, 2-4 years.
I tried to use ***stsplit ageband, at(1,2)*** however, when I checked it out after by using ***tab ageband*** it gave me the total of 1369 episodes (but I only have 875 subjects!!! )
How is that possible? Am I missing something? Please help, I feel very helpless.
Comment