turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Marginal effect of dummy variable in tobit model

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-13-2015 03:18 PM

I have a tobit regression model in hand and I want to calculate the marginal effects at means for the dummy variables in the reg equation. There are two dummy variables in the regression equation and three continuous variables. For SAS, this link has some information for the marginal effects for a tobit model : (http://support.sas.com/rnd/app/examples/ets/margeff/). However this tells me how to compute the marginal effects for continuous variables and not for a dummy variable in the case of a tobit regression. This is what I have done following the SAS link. Note that f and g are dummy variables which takes the value of 1 or 0. proc qlim data=tobit1; Here I input the means of the variables. Note that for the marginal effect of dummy variable g, I cannot set the value of f to its mean value as it is a dummy variable and set it at 0. data tobit2; data tobit; proc qlim data=tobit noprint; After inputting the extra values and running the tobit regression, I get the marginal values for g 'Meff_g' for the last two added observations. In order to get the marginal effect of g at means I use: |

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to stanmarciano

07-14-2015 08:21 AM

After reading the Web example about 3 times, I think you have it down. My vision missed the periods in the tobit2 dataset, and once I saw what you were doing, it all seems to fit. Now it is just a matter of doing the subtraction, and looking at the plots (always look at the plots).

Steve Denham

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to SteveDenham

07-14-2015 02:09 PM

Ok. Thank you so much. For some reason I get very low marginal effect values (which I probably shouldn't be getting here, not sure why this is happening). So in the above case, I have the marginal effect for f = 0. I need to calculate the marginal effect for f =1 and state that separately, correct? What happens when I have more than 2 variables? For eg if I have three dummy variables male (0= male, 1 = female), employed (0= unemployed, 1 = employed) and college educated (0 = no, 1 = yes), and I want to find the marginal effect of college education on say income, then would I need to get the marginal effects for the groups (male,employed), (male,unemployed), (female,employed), (female,unemployed). Is there a way to get one marginal effect value for all the four groups?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to stanmarciano

07-15-2015 11:21 AM

You might want to take a look at PROC LIFEREG. It accommodates a CLASS statement and both LSMEANS and LSMESTIMATE statements, so that a tobit model could be fit, and marginal estimates (the LSMEANS) be obtained for all levels of each variable in the CLASS statement. Look through the documentation for this and see if it could do what you need.

Steve Denham

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to SteveDenham

07-15-2015 01:41 PM

Will do. Thanks a ton again.