Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ncorporating random-effects

    Dear Stata users,

    I have several variables that explain the state (approved (aprov)=1; not approved (aprov)=0) for a student i in grade (1or 2) at time t.

    Because of the way my dataset is set, I cannot run fixed effects once I have students that only appears once (one year). So, I am running an xtprobit random effect model in order to identify the presence of unexplained heterogeneity between students. The LR test is significant, which is consistent with an estimate of sigma_u that is 0.6778498.

    Now it comes to my question:
    How can I incorporate that random effect into the parameters of my model?

    I have looked at

    1) Simulation-Based Power Calculations for Mixed Effects Modeling: ipdpower in Stata
    2) Nonlinear multilevel mixed-effects models (https://blog.stata.com/2017/11/03/no...ffects-models/)

    but none of those articles were of any good.

    One more thing, once I am able to incorporate the random effect, how do I analyze the scores and compare it to a simple xtprobit estimation?

    Thank you all

    P.S my dataset is very large and I was unable to upload.

    * Define panel data

    xtset i t

    * Teste para efeitos aleatórios LM

    * Estimar efeito aleatório

    *FS1

    xtprobit aprov menino branco rural bolsa lnpib_pc e_biblio i_funcionarios_razao prof_idade alunos_turma

    *FS2

    xtprobit aprov menino branco rural bolsa lnpib_pc e_biblio i_funcionarios_razao prof_idade alunos_turma e_preescolar e_fundamental
    Code:
    * Example generated by -dataex-. To install: ssc install dataex
    clear
    input double(t i serie escola) float(aprov menino branco rural bolsa lnpib_pc) double e_biblio float i_funcionarios_razao double(prof_idade alunos_turma turno)
    2009   1 1   5355 1 1 1 1 0  9.625462 0 2.1891892 37.71 12 3
    2010   1 2   5355 1 1 1 1 0 10.060905 0 2.5135136 37.71 30 3
    2008   2 1   6181 1 0 1 0 0  9.437439 1   6.66129  42.3 23 2
    2009   2 2   6181 1 0 1 0 0  9.574466 1  7.709677  42.3 33 2
    2009   3 1   5150 . 1 1 1 0  9.625462 1  5.391304 39.25 23 2
    2010   4 1   5150 1 0 1 0 0 10.060905 1  5.565217 39.25 30 1
    2011   4 2   5150 1 0 1 0 0  9.949522 1  5.652174 39.25 30 1
    2011   5 1 102652 . 1 1 0 0 10.373494 1 10.588235  43.8 26 1
    2009   6 1   2070 0 0 0 0 0  10.15323 1 10.255555 49.04 29 1
    2010   6 1   2070 1 0 0 0 0 10.373487 1      10.8 49.04 31 1
    2011   6 2   2070 0 0 0 0 0  10.41702 1 11.055555 49.04 29 1
    2012   6 2 102652 . 0 0 0 0  10.37931 1  10.82353  43.8 16 1
    2009   7 1   3522 1 1 1 0 0 10.176663 1 14.724638 43.12 34 2
    2010   7 2   3522 . 1 1 0 0  10.27858 1 16.144928 43.12 15 2
    2009   8 1   2453 1 0 1 0 0 10.204742 1      10.3 42.15 20 2
    2010   8 2   2860 1 0 1 0 0  9.868883 1 3.9411764 43.96 27 1
    2009   9 1   3832 1 1 1 0 0 10.176663 1   3.40625  41.3 17 1
    2010   9 2   3832 1 1 1 0 0  10.27858 1    4.1875  41.3 17 1
    2009  10 1 102652 1 1 1 0 0 10.176663 1         9  43.8 24 1
    2010  10 2 102652 1 1 1 0 0  10.27858 1  11.82353  43.8 31 1
    2009  11 1 102652 1 0 1 0 0 10.176663 1         9  43.8 24 1
    2010  11 2 102652 1 0 1 0 0  10.27858 1  11.82353  43.8 24 2
    2009  12 1   3816 1 0 1 0 0 10.176663 1  7.057471 43.93 19 2
    2010  12 2   3816 1 0 1 0 0  10.27858 1  8.678161 43.93 24 3
    2009  13 1 102652 1 1 1 0 0 10.176663 1         9  43.8 19 1
    2010  13 2 102652 1 1 1 0 0  10.27858 1  11.82353  43.8 31 1
    2010  14 1 102652 1 1 1 0 0  10.27858 1  11.82353  43.8 21 1
    2011  14 2 102652 1 1 1 0 0 10.373494 1 10.588235  43.8 28 1
    2009  15 1  16659 1 1 1 0 0 10.198914 1  11.72549 40.32 28 2
    2010  15 2  35807 1 1 1 0 0  9.927378 0  4.129032 41.83 27 1
    2012  16 1   3816 . 1 1 0 0  10.37931 1         9 43.93 37 3
    2008  17 1 102652 1 0 1 0 0 10.207653 1  10.47059  43.8 18 1
    2009  17 2 102652 1 0 1 0 0 10.176663 1         9  43.8 18 1
    2008  18 1 102652 1 1 1 0 0 10.207653 1  10.47059  43.8 19 1
    2009  18 2   3816 1 1 1 0 0 10.176663 1  7.057471 43.93 15 3
    2008  19 1 102652 1 1 1 0 0 10.207653 1  10.47059  43.8 34 2
    2009  19 2 102652 1 1 1 0 0 10.176663 1         9  43.8 14 2
    2008  20 2   3816 1 1 1 0 0 10.207653 1  6.965517 43.93 28 1
    2012  21 1   6564 . 0 1 0 0 10.173985 1 2.1754386    52 22 2
    2009  22 2  43680 1 1 1 0 0  9.970919 1 10.941176 43.45 17 2
    2008  23 1   4510 . 1 1 0 0  9.621763 1 15.790322 41.74 21 3
    2008  24 1 102652 1 0 1 0 0 10.207653 1  10.47059  43.8 34 2
    2009  24 2 102652 1 0 1 0 0 10.176663 1         9  43.8 14 2
    2008  25 1 102652 1 0 1 0 0 10.207653 1  10.47059  43.8 19 1
    2009  25 2 102652 1 0 1 0 0 10.176663 1         9  43.8 18 1
    2008  26 1   2070 1 0 1 0 0 10.190008 1 10.644444 49.04 24 1
    2009  26 2   2070 1 0 1 0 0  10.15323 1 10.255555 49.04 27 1
    2008  27 1   3832 1 1 1 0 0 10.207653 1   3.09375  41.3 19 1
    2009  27 2   3832 1 1 1 0 0 10.176663 1   3.40625  41.3 17 3
    2009  28 2   3832 1 1 1 0 0 10.176663 1   3.40625  41.3 35 1
    2008  29 1 102652 1 0 1 0 0 10.207653 1  10.47059  43.8 19 1
    2009  29 2 102652 1 0 1 0 0 10.176663 1         9  43.8 18 1
    2012  30 1     19 . 0 1 0 0 10.430882 1 4.7073865 42.75 36 2
    2008  31 1  92908 1 1 1 0 0   9.82471 0  8.173077 42.74 33 1
    2009  31 2  92908 1 1 1 0 0  9.856041 0  7.884615 42.74 37 1
    2009  32 1  89265 1 0 1 0 0  10.14595 1  4.159091 40.21 27 1
    2010  32 2  89265 1 0 1 0 0    10.166 1       4.5 40.21 22 1
    2009  33 1   3840 1 0 1 0 0 10.176663 1 4.4693875 45.74 27 1
    2010  33 2   3840 . 0 1 0 0  10.27858 1  5.979592 45.74 41 1
    2008  34 1   3816 . 1 1 0 0 10.207653 1  6.965517 43.93 16 1
    2009  35 1   1120 1 0 1 0 0  10.15323 1  2.953488 43.54 17 3
    2010  35 2   1120 . 0 1 0 0 10.373487 1  3.744186 43.54 21 3
    2008  36 1   4510 0 0 1 0 0  9.621763 1 15.790322 41.74 20 2
    2009  36 1   4510 1 0 1 0 0  9.699168 1 14.887096 41.74 19 1
    2010  36 2   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 33 1
    2010  37 1 102652 0 1 1 0 0  10.27858 1  11.82353  43.8 21 1
    2011  37 1 102652 . 1 1 0 0 10.373494 1 10.588235  43.8 26 1
    2008  38 1 102652 . 0 1 0 0 10.207653 1  10.47059  43.8 18 1
    2010  39 2   5797 0 0 1 0 0 10.206867 1  3.090909 42.86 28 3
    2011  39 2   5797 1 0 1 0 0 10.220284 1   2.69697 42.86 28 3
    2011  40 1   5797 . 1 1 0 0 10.220284 1   2.69697 42.86 16 3
    2008  41 2  21911 1 0 1 0 0   11.5715 1 13.346154 43.54 27 1
    2009  42 1   4502 1 0 1 0 0  9.699168 1      8.29 44.08 20 2
    2010  42 2   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 29 3
    2009  43 1  53937 1 0 1 1 0 10.361177 0  5.085714  39.8 12 3
    2010  43 2  53937 . 0 1 1 0 10.724752 0  5.057143  39.8 22 1
    2010  44 1  21911 0 1 1 0 0  10.99051 1  12.76923 43.54 37 2
    2011  44 1  21962 . 1 1 0 0 11.143866 1  5.139535 40.89 12 3
    2010  45 2   2070 1 0 1 1 0 10.373487 1      10.8 49.04  1 1
    2009  46 1   5797 0 0 1 0 0  9.739263 1  3.030303 42.86 18 3
    2010  46 1   5797 1 0 1 0 0 10.206867 1  3.090909 42.86 26 3
    2011  46 2   5797 1 0 1 0 0 10.220284 1   2.69697 42.86 28 3
    2009  47 1   5797 1 0 1 0 0  9.739263 1  3.030303 42.86 18 3
    2010  47 2   5797 0 0 1 0 0 10.206867 1  3.090909 42.86 28 3
    2011  47 2   5797 1 0 1 0 0 10.220284 1   2.69697 42.86 28 3
    2009  48 1   5797 1 1 1 1 0  9.739263 1  3.030303 42.86 18 3
    2010  48 2   5797 1 1 1 1 0 10.206867 1  3.090909 42.86 28 3
    2010  49 1   2070 . 0 1 0 0 10.373487 1      10.8 49.04 27 3
    2009  50 1   2070 0 1 0 0 0  10.15323 1 10.255555 49.04 23 2
    2010  50 1   2070 0 1 0 0 0 10.373487 1      10.8 49.04 28 2
    2011  50 1   2070 1 1 0 0 0  10.41702 1 11.055555 49.04 24 2
    2012  50 2   2070 . 1 0 0 0 10.430882 1  10.21111 49.04 31 1
    2008  51 2   2070 1 0 1 0 0 10.190008 1 10.644444 49.04 24 1
    2010  52 2   2070 0 1 1 0 0 10.373487 1      10.8 49.04 25 1
    2011  52 2   2070 1 1 1 0 0  10.41702 1 11.055555 49.04 28 1
    2009  53 1   2070 1 0 1 0 0  10.15323 1 10.255555 49.04 23 2
    2010  53 2   2070 1 0 1 0 0 10.373487 1      10.8 49.04 21 2
    2008  54 1   3549 . 1 1 0 0 10.207653 1 2.4158416 46.14 16 1
    2009  55 1   2070 1 0 1 0 0  10.15323 1 10.255555 49.04 24 1
    2010  55 2   2070 . 0 1 0 0 10.373487 1      10.8 49.04 30 1
    2009  56 1   3522 1 0 1 0 0 10.176663 1 14.724638 43.12 29 2
    2010  56 2   3522 . 0 1 0 0  10.27858 1 16.144928 43.12 40 1
    2009  57 1   2070 1 1 1 0 0  10.15323 1 10.255555 49.04 24 1
    2010  57 2   2070 1 1 1 0 0 10.373487 1      10.8 49.04 30 1
    2010  58 1  21911 . 0 1 0 0  10.99051 1  12.76923 43.54 37 2
    2009  59 1   2070 1 0 1 0 0  10.15323 1 10.255555 49.04 31 1
    2010  59 2   2070 1 0 1 0 0 10.373487 1      10.8 49.04 31 1
    2009  60 1    698 . 0 1 0 0  10.15323 1  4.018868 43.32 17 1
    2008  61 1   3816 1 0 1 0 0 10.207653 1  6.965517 43.93 17 1
    2009  61 2   3816 1 0 1 0 0 10.176663 1  7.057471 43.93  7 1
    2009  62 1  20397 . 1 1 0 0 10.431994 1  8.027027 41.05 27 1
    2009  63 1   3816 1 0 1 0 0 10.176663 1  7.057471 43.93 33 2
    2010  63 2   3816 1 0 1 0 0  10.27858 1  8.678161 43.93 26 2
    2010  64 1   4502 1 1 1 0 0 10.051065 1      9.84 44.08 27 2
    2011  64 2   4502 1 1 1 0 0 10.125404 1      9.92 44.08 10 2
    2011  65 1   2070 1 1 1 0 0  10.41702 1 11.055555 49.04 23 2
    2012  65 2   2070 . 1 1 0 0 10.430882 1  10.21111 49.04 31 1
    2010  66 1  28525 . 0 1 0 0  9.964088 1 3.4642856 42.58 32 1
    2009  67 1   3522 1 0 1 0 0 10.176663 1 14.724638 43.12 23 2
    2010  67 2   3522 . 0 1 0 0  10.27858 1 16.144928 43.12 37 1
    2010  68 2   2070 1 1 1 0 0 10.373487 1      10.8 49.04 14 2
    2009  69 1   2453 1 1 1 0 0 10.204742 1      10.3 42.15 28 1
    2010  69 2   2453 1 1 1 0 0  9.868883 1 13.271428 42.15 32 1
    2010  70 1   2070 1 1 1 0 0 10.373487 1      10.8 49.04 35 1
    2011  70 2   2070 . 1 1 0 0  10.41702 1 11.055555 49.04 29 1
    2008  71 1   2070 1 0 1 0 0 10.190008 1 10.644444 49.04 23 2
    2009  71 2   2070 1 0 1 0 0  10.15323 1 10.255555 49.04 22 2
    2009  72 1   2070 1 1 1 0 0  10.15323 1 10.255555 49.04 22 2
    2010  72 2   2070 1 1 1 0 0 10.373487 1      10.8 49.04 21 2
    2011  73 1   2070 1 1 0 0 0  10.41702 1 11.055555 49.04 23 2
    2012  73 2   2070 . 1 0 0 0 10.430882 1  10.21111 49.04 31 1
    2009  74 1   2070 0 1 1 0 0  10.15323 1 10.255555 49.04 21 2
    2010  74 1   2070 1 1 1 0 0 10.373487 1      10.8 49.04 27 3
    2011  74 2   2070 1 1 1 0 0  10.41702 1 11.055555 49.04 28 3
    2010  75 1   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 34 1
    2011  75 2   4510 0 0 1 0 0 10.125404 1 19.419355 41.74 28 1
    2012  75 2   4510 . 0 1 0 0 10.239688 1 22.564516 41.74 33 1
    2010  76 1   4510 0 1 1 0 0 10.051065 1 19.096775 41.74 35 1
    2011  76 1   4510 0 1 1 0 0 10.125404 1 19.419355 41.74 19 3
    2012  76 1   4510 . 1 1 0 0 10.239688 1 22.564516 41.74 29 3
    2010  77 1   4510 0 0 1 0 0 10.051065 1 19.096775 41.74 37 1
    2011  77 1   4510 1 0 1 0 0 10.125404 1 19.419355 41.74 33 1
    2012  77 2   4510 . 0 1 0 0 10.239688 1 22.564516 41.74 30 3
    2009  78 1   4510 0 0 1 0 0  9.699168 1 14.887096 41.74 27 2
    2010  78 1   4510 . 0 1 0 0 10.051065 1 19.096775 41.74 22 3
    2008  79 1   4510 . 0 1 0 0  9.621763 1 15.790322 41.74 20 2
    2011  80 1   4502 . 0 1 0 0 10.125404 1      9.92 44.08 31 1
    2008  81 1    221 1 0 1 0 0 10.190008 0  3.936508    43 21 2
    2009  81 2    221 1 0 1 0 0  10.15323 0  4.968254    43 28 2
    2010  82 1   4510 . 0 1 0 0 10.051065 1 19.096775 41.74 24 3
    2008  83 1   4510 0 1 1 0 0  9.621763 1 15.790322 41.74 29 2
    2009  83 1   4510 1 1 1 0 0  9.699168 1 14.887096 41.74 28 2
    2010  83 2   4510 1 1 1 0 0 10.051065 1 19.096775 41.74 32 1
    2009  84 1   4510 1 0 1 0 0  9.699168 1 14.887096 41.74 23 3
    2010  84 2   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 27 2
    2011  85 1   4510 . 0 1 0 0 10.125404 1 19.419355 41.74 33 1
    2012  86 1   6165 . 1 1 0 0  10.21666 1 3.6451614 42.44 30 1
    2008  87 1  96849 1 0 1 1 0  9.822876 1  4.266667 37.62 23 3
    2009  87 2  96849 1 0 1 1 0  9.885259 1  4.233333 37.62 25 3
    2008  88 1   4510 1 0 1 0 0  9.621763 1 15.790322 41.74 28 2
    2009  88 2   4510 1 0 1 0 0  9.699168 1 14.887096 41.74 19 1
    2008  89 1   4510 . 1 1 0 0  9.621763 1 15.790322 41.74 29 2
    2010  90 1   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 35 1
    2011  90 2   4510 . 0 1 0 0 10.125404 1 19.419355 41.74 28 1
    2010  91 1   3549 . 0 1 0 0  10.27858 1 2.6732674 46.14 15 1
    2010  92 1   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 28 2
    2011  92 2   4510 1 0 1 0 0 10.125404 1 19.419355 41.74 28 2
    2010  93 1   4510 0 1 0 0 0 10.051065 1 19.096775 41.74 33 2
    2011  93 1   4510 . 1 0 0 0 10.125404 1 19.419355 41.74 34 1
    2009  94 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 26 1
    2008  95 1   4227 1 1 1 0 0  9.621763 1 1.3934426  43.4 16 3
    2009  95 2   4227 1 1 1 0 0  9.699168 1 1.3606558  43.4 20 3
    2009  96 2   4227 1 0 1 0 0  9.699168 1 1.3606558  43.4 20 3
    2008  97 1   4227 . 0 1 0 0  9.621763 1 1.3934426  43.4 16 3
    2009  98 2   4502 1 0 1 0 0  9.699168 1      8.29 44.08 28 3
    2008  99 1   4510 1 0 1 0 0  9.621763 1 15.790322 41.74 29 2
    2009  99 2   4510 1 0 1 0 0  9.699168 1 14.887096 41.74 24 1
    2010 100 1   4227 1 0 1 0 0 10.051065 1 1.5081967  43.4 21 3
    2011 100 2   4227 1 0 1 0 0 10.125404 1 1.6393442  43.4 19 3
    2010 101 2   4502 1 1 1 0 0 10.051065 1      9.84 44.08 35 1
    2009 102 1   4227 . 1 1 0 0  9.699168 1 1.3606558  43.4 16 3
    2008 103 1   6181 1 1 1 0 0  9.437439 1   6.66129  42.3 33 1
    2009 103 2   6181 1 1 1 0 0  9.574466 1  7.709677  42.3 29 1
    2010 104 1  25402 . 0 1 0 0  10.07646 0  6.639344 40.09 31 2
    2008 105 1   4227 1 1 1 0 0  9.621763 1 1.3934426  43.4 15 3
    2009 105 2   4227 1 1 1 0 0  9.699168 1 1.3606558  43.4 20 3
    2009 106 2   4502 1 0 1 0 0  9.699168 1      8.29 44.08 28 3
    2009 107 2   6181 1 1 1 0 0  9.574466 1  7.709677  42.3 31 1
    2008 108 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 22 1
    2009 108 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 26 1
    2008 109 1   6165 . 1 1 0 0  9.437439 1 2.7096775 42.44 22 1
    2008 110 1   6181 1 0 1 0 0  9.437439 1   6.66129  42.3 24 1
    2009 110 2   6181 1 0 1 0 0  9.574466 1  7.709677  42.3 29 1
    2010 111 1   4219 1 1 1 0 0 10.051065 1 2.0754716 43.42 33 1
    2011 111 2   4510 . 1 1 0 0 10.125404 1 19.419355 41.74 32 1
    2009 112 1   6181 1 0 1 0 0  9.574466 1  7.709677  42.3 32 1
    2010 112 2   6181 1 0 1 0 0   10.1914 1  8.112904  42.3 32 1
    2009 113 1   6181 1 1 1 0 0  9.574466 1  7.709677  42.3 31 1
    2010 113 2   4227 1 1 1 0 0 10.051065 1 1.5081967  43.4 26 3
    2009 114 1   4227 1 0 1 0 0  9.699168 1 1.3606558  43.4 16 3
    2010 114 2   4227 1 0 1 0 0 10.051065 1 1.5081967  43.4 26 3
    2010 115 1   4200 0 1 1 0 0 10.051065 1 2.8589745 43.76 30 1
    2011 115 1   4200 . 1 1 0 0 10.125404 1 3.1410255 43.76 29 1
    2009 116 1   4227 1 0 1 0 0  9.699168 1 1.3606558  43.4 16 3
    2010 116 2   4332 . 0 1 0 0 10.051065 1  3.020408 43.13 23 3
    2010 117 1   6181 1 0 1 0 0   10.1914 1  8.112904  42.3 27 2
    2011 117 2   4200 . 0 1 0 0 10.125404 1 3.1410255 43.76 18 1
    2009 118 1   4537 0 1 1 0 0  9.699168 0  3.409091 42.92 23 3
    2010 118 1   4537 . 1 1 0 0 10.051065 0  4.318182 42.92 26 3
    2008 119 1   4537 0 1 1 0 0  9.621763 0  3.386364 42.92 32 3
    2009 119 1   4537 0 1 1 0 0  9.699168 0  3.409091 42.92 25 3
    2010 119 1   4537 0 1 1 0 0 10.051065 0  4.318182 42.92 30 3
    2011 119 1   4537 . 1 1 0 0 10.125404 0 4.1136365 42.92 19 3
    2009 120 1   4537 . 0 1 0 0  9.699168 0  3.409091 42.92 25 3
    2008 121 1   4537 1 1 1 0 0  9.621763 0  3.386364 42.92 32 3
    2009 121 2   4537 1 1 1 0 0  9.699168 0  3.409091 42.92 20 3
    2008 122 1   4502 . 1 1 0 0  9.621763 1      6.89 44.08 17 2
    2012 123 1   6688 . 0 1 0 0 10.352448 1  6.763889 38.97 24 1
    2009 124 1   4537 . 0 1 0 0  9.699168 0  3.409091 42.92 25 3
    2008 125 1   4537 . 1 1 0 0  9.621763 0  3.386364 42.92 32 3
    2010 126 1   4537 1 1 1 0 0 10.051065 0  4.318182 42.92 30 3
    2011 126 2   4502 1 1 1 0 0 10.125404 1      9.92 44.08 30 1
    2009 127 2   4537 0 0 1 0 0  9.699168 0  3.409091 42.92 20 3
    2010 127 2   4537 1 0 1 0 0 10.051065 0  4.318182 42.92 26 3
    2008 128 1   4537 1 0 1 0 0  9.621763 0  3.386364 42.92 32 3
    2009 128 2   4537 1 0 1 0 0  9.699168 0  3.409091 42.92 20 3
    2008 129 1   4537 1 0 1 0 0  9.621763 0  3.386364 42.92 32 3
    2009 129 2   4537 1 0 1 0 0  9.699168 0  3.409091 42.92 20 3
    2009 130 1   4537 1 0 1 0 0  9.699168 0  3.409091 42.92 25 3
    2010 130 2   6181 1 0 1 0 0   10.1914 1  8.112904  42.3 24 3
    2011 131 1   4502 0 1 1 0 0 10.125404 1      9.92 44.08 27 2
    2012 131 1   4502 . 1 1 0 0 10.239688 1     10.83 44.08 29 2
    2009 132 1   4502 . 1 1 0 0  9.699168 1      8.29 44.08 29 1
    2008 133 1   4502 . 1 1 0 0  9.621763 1      6.89 44.08 15 1
    2009 134 1   4502 1 1 1 0 0  9.699168 1      8.29 44.08 20 2
    2010 134 2   4502 1 1 1 0 0 10.051065 1      9.84 44.08 30 3
    2009 135 2   2070 1 1 1 0 0  10.15323 1 10.255555 49.04 23 3
    2009 136 1  51772 1 1 1 1 0 10.066456 1       5.5 38.68 22 3
    2010 136 2  51772 1 1 1 1 0  10.15424 1  5.727273 38.68 23 3
    2012 137 1  12122 . 1 1 0 0 10.227921 1  6.588235 40.42 22 1
    2009 138 1   4332 1 1 1 0 0  9.699168 1  3.122449 43.13 31 1
    2010 138 2   4332 1 1 1 0 0 10.051065 1  3.020408 43.13 21 2
    2009 139 1   4502 1 1 1 0 0  9.699168 1      8.29 44.08 30 1
    2010 139 2   4502 1 1 1 0 0 10.051065 1      9.84 44.08 38 1
    2009 140 1   4502 1 0 1 0 0  9.699168 1      8.29 44.08 29 1
    2010 140 2   4502 1 0 1 0 0 10.051065 1      9.84 44.08 35 1
    2008 141 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 18 2
    2009 141 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 28 1
    2010 142 1   4502 1 0 1 0 0 10.051065 1      9.84 44.08 27 3
    2011 142 2   4502 . 0 1 0 0 10.125404 1      9.92 44.08 29 3
    2008 143 1   4502 1 0 1 0 0  9.621763 1      6.89 44.08 22 2
    2009 143 2   4502 1 0 1 0 0  9.699168 1      8.29 44.08 26 1
    2009 144 1   4502 1 0 1 0 0  9.699168 1      8.29 44.08 31 1
    2010 144 2   4502 1 0 1 0 0 10.051065 1      9.84 44.08 22 2
    2008 145 1   4502 . 1 1 0 0  9.621763 1      6.89 44.08 16 1
    2008 146 1   3522 1 0 1 0 0 10.207653 1 13.710145 43.12 34 1
    2009 146 2   3522 . 0 1 0 0 10.176663 1 14.724638 43.12 37 1
    2008 147 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 33 3
    2009 147 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 24 3
    2008 148 1   4510 . 1 1 0 0  9.621763 1 15.790322 41.74 20 2
    2011 149 1   5150 . 1 1 0 0  9.949522 1  5.652174 39.25 22 1
    2010 150 1   4502 1 0 1 0 0 10.051065 1      9.84 44.08 26 2
    2011 150 2   4502 1 0 1 0 0 10.125404 1      9.92 44.08 10 2
    2008 151 1   4502 1 0 1 0 0  9.621763 1      6.89 44.08 16 1
    2009 151 2   4502 1 0 1 0 0  9.699168 1      8.29 44.08 26 1
    2008 152 1   6181 1 0 1 0 0  9.437439 1   6.66129  42.3 23 2
    2009 152 2   6181 1 0 1 0 0  9.574466 1  7.709677  42.3 33 2
    2010 153 1   6181 1 1 1 1 1   10.1914 1  8.112904  42.3 34 1
    2011 153 2   6181 . 1 1 1 1 10.231007 1  8.435484  42.3 26 3
    2011 154 1   4227 . 0 1 0 0 10.125404 1 1.6393442  43.4 21 3
    2009 155 1   6181 1 1 1 1 0  9.574466 1  7.709677  42.3 26 1
    2010 155 2   6181 1 1 1 1 0   10.1914 1  8.112904  42.3 32 1
    2008 156 1   6181 1 1 1 0 0  9.437439 1   6.66129  42.3 37 1
    2009 156 2   6181 . 1 1 0 0  9.574466 1  7.709677  42.3 32 3
    2009 157 1   6173 . 1 1 0 1  9.574466 1     3.275 41.18 34 1
    2009 158 1   6181 1 0 1 1 0  9.574466 1  7.709677  42.3 16 2
    2010 158 2   6181 1 0 1 1 0   10.1914 1  8.112904  42.3 32 2
    2009 159 1   6181 1 1 1 1 0  9.574466 1  7.709677  42.3 16 2
    2010 159 2   6181 1 1 1 1 0   10.1914 1  8.112904  42.3 32 2
    2010 160 2   6181 1 1 1 0 0   10.1914 1  8.112904  42.3 32 2
    2009 161 1   6181 . 1 1 0 0  9.574466 1  7.709677  42.3 32 1
    2009 162 1   6181 . 0 1 0 0  9.574466 1  7.709677  42.3 16 3
    2009 163 1  29955 1 0 1 0 0  9.792944 1 12.285714 42.62 26 1
    2010 163 2  29955 1 0 1 0 0  9.964088 1 13.163265 42.62 31 1
    2008 164 1   4979 1 1 1 1 0  9.488254 1  5.703704 38.84 23 1
    2009 164 2   4979 1 1 1 1 0  9.604906 1 4.6296296 38.84 23 1
    2008 165 1 102490 . 0 0 0 0 10.190008 1 13.855263 42.91 22 2
    2008 166 1   4510 1 1 1 0 0  9.621763 1 15.790322 41.74 29 2
    2009 166 2   4510 1 1 1 0 0  9.699168 1 14.887096 41.74 21 1
    2008 167 1   4502 . 0 1 0 0  9.621763 1      6.89 44.08 22 1
    2008 168 1   4502 . 0 1 0 0  9.621763 1      6.89 44.08 23 2
    2010 169 1   3522 . 1 1 0 0  10.27858 1 16.144928 43.12 30 2
    2008 170 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 26 1
    2009 170 2   4502 . 1 1 0 0  9.699168 1      8.29 44.08 13 3
    2008 171 1   4510 . 0 0 0 0  9.621763 1 15.790322 41.74 31 1
    2008 172 1   4502 0 1 1 0 0  9.621763 1      6.89 44.08 31 1
    2009 172 1   4502 1 1 1 0 0  9.699168 1      8.29 44.08 31 1
    2010 172 2   4502 1 1 1 0 0 10.051065 1      9.84 44.08 34 1
    2008 173 1   4510 . 0 1 0 0  9.621763 1 15.790322 41.74 20 2
    2008 174 1   4510 0 0 1 0 1  9.621763 1 15.790322 41.74 20 2
    2009 174 1   4502 1 0 1 0 1  9.699168 1      8.29 44.08 22 2
    2010 174 2   4502 1 0 1 0 1 10.051065 1      9.84 44.08 27 2
    2010 175 2   4510 . 0 1 0 0 10.051065 1 19.096775 41.74 33 1
    2009 176 1   4510 0 1 1 0 0  9.699168 1 14.887096 41.74 19 2
    2010 176 1   4510 1 1 1 0 0 10.051065 1 19.096775 41.74 35 1
    2011 176 2   4510 1 1 1 0 0 10.125404 1 19.419355 41.74 32 1
    2008 177 1  18309 1 1 1 1 0  9.614201 1  4.930233 37.89 17 3
    2009 177 2  18309 . 1 1 1 0  9.702893 1  5.139535 37.89 35 3
    2012 177 2   4502 . 1 1 1 0 10.239688 1     10.83 44.08 34 1
    2009 178 1   3522 1 0 1 0 0 10.176663 1 14.724638 43.12 21 2
    2010 178 2   3522 . 0 1 0 0  10.27858 1 16.144928 43.12 38 1
    2008 179 1   4502 1 0 1 0 0  9.621763 1      6.89 44.08 22 1
    2009 179 2   4502 1 0 1 0 0  9.699168 1      8.29 44.08 26 1
    2010 180 1   4502 . 0 1 0 0 10.051065 1      9.84 44.08 25 3
    2009 181 1   4502 . 1 1 0 0  9.699168 1      8.29 44.08 30 1
    2011 181 1   4502 . 1 1 0 0 10.125404 1      9.92 44.08 23 3
    2008 182 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 31 1
    2009 182 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 25 1
    2009 183 1   4510 0 0 1 0 0  9.699168 1 14.887096 41.74 19 2
    2010 183 1   4510 . 0 1 0 0 10.051065 1 19.096775 41.74 28 2
    2011 184 1   4502 1 1 1 0 0 10.125404 1      9.92 44.08 24 1
    2012 184 2   4502 . 1 1 0 0 10.239688 1     10.83 44.08 38 1
    2009 185 1   4502 . 1 1 0 0  9.699168 1      8.29 44.08 29 1
    2010 186 1 102652 . 1 1 0 0  10.27858 1  11.82353  43.8 19 1
    2009 187 1   4502 0 1 1 0 0  9.699168 1      8.29 44.08 29 1
    2010 187 1   4502 . 1 1 0 0 10.051065 1      9.84 44.08 30 1
    2009 188 2   2453 1 0 1 0 0 10.204742 1      10.3 42.15  7 2
    2008 189 1   4510 . 1 1 0 0  9.621763 1 15.790322 41.74 20 2
    2008 190 1   4510 0 1 1 0 0  9.621763 1 15.790322 41.74 26 2
    2009 190 1   4510 1 1 1 0 0  9.699168 1 14.887096 41.74 25 2
    2010 190 2   4510 . 1 1 0 0 10.051065 1 19.096775 41.74 34 1
    2008 191 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 20 2
    2009 191 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 22 2
    2009 192 1   4502 . 1 1 0 0  9.699168 1      8.29 44.08 16 2
    2008 193 1   3271 . 0 1 0 0 10.207653 0       1.8 43.23 36 1
    2008 194 1   1406 1 0 1 0 0 10.190008 1       4.5  41.7 24 1
    2009 194 2   1406 1 0 1 0 0  10.15323 1  4.303571  41.7 28 1
    2008 195 1   4510 . 0 1 0 0  9.621763 1 15.790322 41.74 20 2
    2008 196 1   4502 1 1 0 0 0  9.621763 1      6.89 44.08 25 3
    2009 196 2   4502 1 1 0 0 0  9.699168 1      8.29 44.08 28 3
    2011 197 1    221 1 0 1 0 0  10.41702 0  5.539682    43 35 1
    2012 197 2    221 . 0 1 0 0 10.430882 0  5.857143    43 37 1
    2008 198 1   4502 0 0 1 0 0  9.621763 1      6.89 44.08 17 2
    2009 198 1   4502 . 0 1 0 0  9.699168 1      8.29 44.08 20 3
    2008 199 1   4502 1 1 1 0 0  9.621763 1      6.89 44.08 20 2
    2009 199 2   4502 1 1 1 0 0  9.699168 1      8.29 44.08 22 2
    2009 200 2   3522 1 0 1 0 0 10.176663 1 14.724638 43.12 33 2
    2008 201 1   4219 1 0 1 0 0  9.621763 1 1.8679246 43.42 20 3
    2009 201 2   4219 1 0 1 0 0  9.699168 1 1.6603774 43.42 16 3
    2008 202 1   4502 1 0 1 0 0  9.621763 1      6.89 44.08 23 2
    2009 202 2   4502 . 0 1 0 0  9.699168 1      8.29 44.08 13 2
    2012 203 1  44539 . 1 1 0 0  10.72116 1 4.3717947 42.02 31 3
    2008 204 1   3522 1 0 1 0 0 10.207653 1 13.710145 43.12 29 2
    2009 204 2   3522 1 0 1 0 0 10.176663 1 14.724638 43.12 31 2
    2009 205 1   3301 1 1 1 0 0 10.176663 1  2.387097 40.91 20 3
    2010 205 2   3301 1 1 1 0 0  10.27858 1  2.580645 40.91 31 3
    2010 206 1   3301 1 0 1 0 0  10.27858 1  2.580645 40.91 22 3
    2011 206 2   3301 1 0 1 0 0 10.373494 1  3.483871 40.91 32 3
    2009 207 1   4332 1 1 1 0 0  9.699168 1  3.122449 43.13 31 1
    2010 207 2   4332 1 1 1 0 0 10.051065 1  3.020408 43.13 23 3
    2010 208 1   4332 0 1 1 0 0 10.051065 1  3.020408 43.13 13 3
    2011 208 1   4332 . 1 1 0 0 10.125404 1  3.102041 43.13 27 1
    2012 209 1   4332 . 1 1 0 0 10.239688 1 2.6938775 43.13 20 3
    2009 210 1   4332 1 1 1 0 0  9.699168 1  3.122449 43.13 31 1
    2010 210 2   4332 1 1 1 0 0 10.051065 1  3.020408 43.13 23 3
    2009 211 1   4332 1 0 1 0 0  9.699168 1  3.122449 43.13 31 1
    2010 211 2   4332 1 0 1 0 0 10.051065 1  3.020408 43.13 21 2
    2010 212 1   4332 . 0 1 0 0 10.051065 1  3.020408 43.13 13 3
    2010 213 1   4332 1 0 1 0 0 10.051065 1  3.020408 43.13 13 3
    2011 213 2   4332 . 0 1 0 0 10.125404 1  3.102041 43.13 18 2
    2008 214 1   4332 1 1 1 0 0  9.621763 1  2.632653 43.13 12 2
    2009 214 2   4332 1 1 1 0 0  9.699168 1  3.122449 43.13 32 2
    2011 215 1   4332 0 0 1 0 0 10.125404 1  3.102041 43.13 17 3
    2012 215 1   4332 . 0 1 0 0 10.239688 1 2.6938775 43.13 20 3
    2008 216 1   3816 1 1 1 0 0 10.207653 1  6.965517 43.93 18 2
    2009 216 2   3816 1 1 1 0 0 10.176663 1  7.057471 43.93 15 3
    2009 217 1  23299 0 1 1 0 0 10.167186 0 4.0263157 42.15 21 1
    2010 217 1  23299 . 1 1 0 0 10.321293 0  4.842105 42.15 30 1
    2010 218 2   4510 1 0 1 0 0 10.051065 1 19.096775 41.74 27 2
    
    end


  • #2
    Max:
    welcome to this forum.
    When you invoke -xtprobit,re-, the panel-wise random effect is actually included in the composite error term of your regression equation.
    In addition there's no such a thing as a "simple" -xtprobit- regression: the only available options are -re- and -pa- (-fe- is actually out of debate to the lack of a sufficient statistic).
    In sum, I think that you should reconsider your research goal.
    Kind regards,
    Carlo
    (Stata 15.1 SE)

    Comment

    Working...
    X