The following is from Suest help file
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]
When I run the above, I get the following
( 1) [Male_mean]edu - [Female_mean]edu = 0
( 2) [Male_mean]exp - [Female_mean]exp = 0
chi2( 2) = 1.79
Prob > chi2 = 0.4082
When I run the following I get different result
. test [Male_mean]edu = [Female_mean]edu
( 1) [Male_mean]edu - [Female_mean]edu = 0
chi2( 1) = 1.62
Prob > chi2 = 0.2035
And then the following
test [Male_mean]exp = [Female_mean]exp
( 1) [Male_mean]exp - [Female_mean]exp = 0
chi2( 1) = 0.28
Prob > chi2 = 0.5959
My question is if I want to test the coefficient difference of education, which one is correct? Is it . test [Male_mean]edu = [Female_mean]edu
Or the first one?
Related Posts with Suest Command
Same observations across all models without using e(sample)Hello! I'm running a set of regressions using Employer-Employee Data (LEED). I'm a running a OLS, wo…
Create variable - mean per ageHello, I would like to create a variable that says the mean value of income (prfitba_w3) by age (dv…
Fixed Effects on countries and dummy omittedHi all, I'm currently working on my master thesis on corporate bond spreads based on commodity pric…
Changing axes font in graphHi. I'm struggling to change the font of the x and y axes of a line graph. The following code change…
Not concave message on my IRT modelsHello, I am new to IRT models. I am trying to run an irt 1pl or 2pl for a test administered to stude…
Subscribe to:
Post Comments (Atom)
0 Response to Suest Command
Post a Comment