Hello,
I have one single regression model estimating the coefficients (b) of two independent variables (both are binary dummy variables).
After the regression, I would like to do a t-test which calculates the difference between the two variables' coefficients (bIV1 - bIV2) and then gives a p-value for that (i.e. p-value: bIV1 = bIV2).
Can anyone help me how to do that?
Related Posts with T-test of difference between two regression coefficients within same model
Replacing pieces of code with one lineIs there a code with which i can replace certain areas of a larger code while only one line For exa…
How to generate two variables from a variable?Hi guys, I have a group variable (GROUPS8) and I want to generate two new variables from it- Caste a…
Dropping all but the highest value per individual, multiple recordsHi Statalist colleagues! Thanks to your previous help, I was able to create an indicator variable f…
Calculating CAAR (Event Study)Hello, I am trying to calculate a variety of CAARs for my dataset. I already have calculated the ave…
Using Mata*Inside Stata Program LoopHello, I am attempting to write a Stata/Mata program which formats excel files using Mata, by loopi…
Subscribe to:
Post Comments (Atom)
0 Response to T-test of difference between two regression coefficients within same model
Post a Comment