Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Chiara Mussida <firstname.lastname@example.org>
Sun, 10 Mar 2013 11:52:32 +0100
I estimated mlogit model as follows:
xi: mlogit utr male_north male_centre male_south fem_north fem_centre
age2 age3 age4 italian famsize primary diploma durric gdp_growth
i.year if age>=15 & age<=55, b(3)
xi is for year dummy variables, gender and area of residence variables
as covariates (male and female; north, centre and south), dummies for
individual age, citizenship (whether italian or not), # household
members (famsize), educational attainment level, and two continuous
variables, for unemplyment duration and gdp growth, respectively.
I'm interested in computing and plotting the marginal effects of
unemployment duration (variable durric) for my interactions gender and
area of residence. I tried - without success - two postest commands:
1. mfx compute, predict(outcome(1))
In this case, the mfx are not saved and therefore I cannot plot them;
2. margins durric
The error message: 'durric' not found in list of covariates
As an alternative I tried with the command:
but this does not satisfy my requirement, since it computes marginal
effects only at the mean.
By looking at the Stata archive, at this link:
I found some suggestions on margin and marginplot but I only obtained
error messages (e.g., r(322) above). I would be pleased to obtain a
plot like the one in the example in the archive for the margins of
durric for each gender and area of residence in my data.
Thanks for your help and assistance,
Università Cattolica Sacro Cuore
Piacenza - Italy
* For searches and help try: