连老师,您好!stata里suest可以作chow test检验Example 2: Do coefficients vary between groups? ("Chow test")
. webuse income
. regress inc edu exp if male
. estimates store Male
. regress inc edu exp if !male
. estimates store Female
. suest Male Female
. test [Male_mean = Female_mean]
那如果我要检验两组的edu系数是否相同,是不是可以用命令 test [Male_mean]edu =[ Female_mean]edu
另外,我在http://www.stata.com/support/faq ... ing-chow-statistic/这一网站看到,将male与其他所有解释变量交乘,检验交乘项的系数也可以得到edu系数在两组是否不同。我发现者两种方法的检验统计量不同,但p值大致相同。
请问这两种方法有差异么?哪种更好?