Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72762

Comparing coefficient for two seperate regressions using LPM and robust standard errors

$
0
0
Hello everyone!
I am running two seperate regressions (males and females), and I would like to test whether the coefficient for a dummy indicating country of origin (1=Sweden, 0=Denmark) for the same variable from each regression is significantly different from each other.

I have tried to use this function after running the seperate regression and storing their estimates (c1 and c2):

test [c1 mean]swed=[c2 mean]swed

But it doesn't work, and it gives me the message: equation c1_mean not found

I have a binary outcome variable and I am running a Linear probability model using robust standard errors. I have a feeling that this might be an issue?

Best,
Evelina






Viewing all articles
Browse latest Browse all 72762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>