Dear Statalisters,

1\ Could someone show me a clear example for the application of the femlogit command ?
Do we need to run xtset before it ?
I am using stata 14.0


2/ As regard the following exemple (https://www.stata.com/stata-news/news29-2/xtmlogit/)
gsem (2.workstat <- age i.race i.student i.msp RI2[idcode]) (3.workstat <- age i.race i.student i.msp RI3[idcode]), mlogit

where can I insert the different years or waves of the study ? it is unclear ?

I am asking because I would like to run predict for the DV fluctuation to estimate the outcome for the next specific years (e.g. 2030, 2040)

Thanks a lot