Hi all,
I am using a MacBook (apple M2 chip), running STATA 17.
I have below code which works well with Tabout version 2. However it does not work with Tabout version 3 and an error popped up.
Does anyone have an idea about this?
Thanks!
Chau
Code that works wells with Tabout version 2
Error message when running Tabout version 3
I am using a MacBook (apple M2 chip), running STATA 17.
I have below code which works well with Tabout version 2. However it does not work with Tabout version 3 and an error popped up.
Does anyone have an idea about this?
Thanks!
Chau
Code that works wells with Tabout version 2
Code:
tabout state /// using "Tables n figures.xls", /// cells( mean q24a_yes mean q24a_no mean q24a_notsure /// mean q24b_yes mean q24b_no mean q24b_notsure /// mean q24c_yes mean q24c_no mean q24c_notsure /// mean q24d_yes mean q24d_no mean q24d_notsure /// mean q24e_yes mean q24e_no mean q24e_notsure /// mean q24f_yes mean q24f_no mean q24f_notsure /// mean q24g_yes mean q24g_no mean q24g_notsure /// mean q24h_yes mean q24h_no mean q24h_notsure /// mean q24i_yes mean q24i_no mean q24i_notsure) /// replace sum format(0p) lines(none) ptotal(single) total(Overall Overall) /// h1(nil) /// h2("Q24 (all) - Thinking about your school's curriculum plans in 2023 ") /// h3( | `q24a_yes' | `q24a_no' | `q24a_notsure' /// | `q24b_yes' | `q24b_no' | `q24b_notsure' /// | `q24c_yes' | `q24c_no' | `q24c_notsure' /// | `q24d_yes' | `q24d_no' | `q24d_notsure' /// | `q24e_yes' | `q24e_no' | `q24e_notsure' /// | `q24f_yes' | `q24f_no' | `q24f_notsure' /// | `q24g_yes' | `q24g_no' | `q24g_notsure' /// | `q24h_yes' | `q24h_no' | `q24h_notsure' /// | `q24i_yes' | `q24i_no' | `q24i_notsure')
Code:
subinstr(): 3200 conformability error sum_output(): - function returned error <istmt>: - function returned error