Hey STATALIST
I am working on an assignment, where i am examining Public Service Motivation's (PSM) effect on the likelihood that individuals would want to work in the public sector.
PSM is at continuous variable and public sector is a dummyvariable denoted off (0="does not want to work in the public sector" and 1="Wants to work in the public sector").
I am using the following logit command: logit off PSM i.v71_1 i.sektor_* i.køn v25 i.v59_*
And then a margins command: margins, dydx(*)
But when a problem occurs, when I want to make a graphical representation with the following command: marginscontplot PSM, ci
I get the following error messages, and STATA says its has to do with a r(123) error that is "invalid numlist has too many elements".
Are there a way around this problem?
Array
I am working on an assignment, where i am examining Public Service Motivation's (PSM) effect on the likelihood that individuals would want to work in the public sector.
PSM is at continuous variable and public sector is a dummyvariable denoted off (0="does not want to work in the public sector" and 1="Wants to work in the public sector").
I am using the following logit command: logit off PSM i.v71_1 i.sektor_* i.køn v25 i.v59_*
And then a margins command: margins, dydx(*)
But when a problem occurs, when I want to make a graphical representation with the following command: marginscontplot PSM, ci
I get the following error messages, and STATA says its has to do with a r(123) error that is "invalid numlist has too many elements".
Are there a way around this problem?
Array