Dear researchers,

I have an unbalanced dataset for a period extending from 2002-2019. I am trying to run the logistic regression by using the following code:
Code:
xtlogit Dep X1 X2 X3  i.Year, re
Also, I have applied this code:
Code:
 xtlogit Dep X1 X2 X3  i.Year, fe
And in both cases I got no results for the years like below:
Code:
    
Year    
2005    0    (empty)
2006    0    (empty)
2007    0    (empty)
2008    0    (empty)
2009    0    (empty)
2010    0    (empty)
2011    0    (empty)
2012    0    (empty)
2013    0    (empty)
2014    0    (empty)
2015    -7.233368    5.627094    -1.29    0.199    -18.26227    3.795533
2016    0    (omitted)
2017    0    (empty)
    
_cons    -5.530601    7.647252    -0.72    0.470    -20.51894    9.457736
                        
/lnsig2u    2.375158    1.9928            -1.530659    6.280975
                        
sigma_u    3.279133    3.267329            .4651807    23.11513
rho    .765722    .3574921            .0617162    .9938804
So, that means that logistic regression can not handle year dummies, and I should use the above codes without i.Year ?

Any answer will be very appreciated.

Many thanks in advance.