Hi.
I wonder if someone can help me as I'm loosing my mind here!
I want to use ITS (itsa command) to estimate an intervention effect, taking into account the age and sex profile of participants. I cant seem to set up the dataset correctly as I cant tsset it no matter what I do. I was entering in the same month year in several rows to account for age group and sex, but should it literally just be one row per month as it keeps telling me I have repeated values within panel. How then do i adjust for covariates?
Thanks for any help you can give me!
Eimir
discharge_month sex agegroup population paa date2 date3
1/1/2007 female 1 100000 100 01jan2007 01jan2007
1/1/2007 male 1 90000 90 01jan2007 01jan2007
1/1/2007 female 2 200000 300 01jan2007 01jan2007
1/1/2007 male 2 180000 90 01jan2007 01jan2007
1/1/2007 male 3 360000 766 01jan2007 01jan2007
1/1/2007 female 3 400000 500 01jan2007 01jan2007
Related Posts with Setting up dataset for itsa to adjust for covariates
standardized difference (SD) Burgstahler & DichevDear all, I want to compute the standardized difference statistic using histograms for panel data s…
Verify that differences across countries are not driven by sample sizeI am analyzing data from a survey experiment in three countries. The sample size differs across coun…
Survival analysis: First year the earlier 1 and Last year the later 1I need your help for survival study. Background: I have corporate panel data set as Corporate codes…
Please help insert a column of year having max (ratio)Hello, I need your help. I have a panel data having corporate code, year and ratios. I would like t…
Problem with gaps in data in Stata- problem with commands like dfuller. Please help!Hello, I have a big problem with my data. When I am writing a command in Stata (for example dfuller)…
Subscribe to:
Post Comments (Atom)
0 Response to Setting up dataset for itsa to adjust for covariates
Post a Comment