Error code - Duplicate column name
Posted: Fri Jan 13, 2017 1:08 pm
Hello,
I am trying to run the following model in Stata v13 and MLWiN 2.36:
**CC Model 4 - Interaction effect
runmlwin BMI_z cons i.Ethnicity_NHS_code_11_groups ///
Sex_code Year_code ///
Schl_IMD_decile BME KS2 ///
Child_IMD_decile ///
i.Ethnicity_NHS_code_11_groups#Sex_code, ///
level3(school: cons) ///
level2(neigh: cons) ///
level1(student: cons) ///
nopause
runmlwin BMI_z cons i.Ethnicity_NHS_code_11_groups ///
Sex_code Year_code ///
Schl_IMD_decile BME KS2 ///
Child_IMD_decile ///
i.Ethnicity_NHS_code_11_groups#Sex_code, ///
level3(school: cons) ///
level2(neigh: cons) ///
level1(student: cons) ///
mcmc(cc) initsprevious ///
nopause
MLWiN appears to complete the equation fine but I think it is having problems storing it, since I get an error message about a Duplicate column name (see attachment). Does anyone know what I might be doing wrong or how I can fix this please?
Thanks in advance for your help.
Best wishes,
Marie
I am trying to run the following model in Stata v13 and MLWiN 2.36:
**CC Model 4 - Interaction effect
runmlwin BMI_z cons i.Ethnicity_NHS_code_11_groups ///
Sex_code Year_code ///
Schl_IMD_decile BME KS2 ///
Child_IMD_decile ///
i.Ethnicity_NHS_code_11_groups#Sex_code, ///
level3(school: cons) ///
level2(neigh: cons) ///
level1(student: cons) ///
nopause
runmlwin BMI_z cons i.Ethnicity_NHS_code_11_groups ///
Sex_code Year_code ///
Schl_IMD_decile BME KS2 ///
Child_IMD_decile ///
i.Ethnicity_NHS_code_11_groups#Sex_code, ///
level3(school: cons) ///
level2(neigh: cons) ///
level1(student: cons) ///
mcmc(cc) initsprevious ///
nopause
MLWiN appears to complete the equation fine but I think it is having problems storing it, since I get an error message about a Duplicate column name (see attachment). Does anyone know what I might be doing wrong or how I can fix this please?
Thanks in advance for your help.
Best wishes,
Marie