Announcement

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

  • test

    Code:
    . tab Country, gen (dCountry)
    
        Country |      Freq.     Percent        Cum.
    ------------+-----------------------------------
              1 |         24       14.81       14.81
              2 |         48       29.63       44.44
              3 |         24       14.81       59.26
              4 |         54       33.33       92.59
              5 |         12        7.41      100.00
    ------------+-----------------------------------
          Total |        162      100.00

  • #2
    and now


    Code:
    . tab Country, gen (dCountry)
    
        Country |      Freq.     Percent        Cum.
    ------------+-----------------------------------
              1 |         24       14.81       14.81
              2 |         48       29.63       44.44
              3 |         24       14.81       59.26
              4 |         54       33.33       92.59
              5 |         12        7.41      100.00
    ------------+-----------------------------------
          Total |        162      100.00

    Comment


    • #3
      Code:
      . xtreg loggedTotaltra loggedx1 loggedx4 loggedx5 loggedx14 loggedx19, fe vce(robust)
      
      Fixed-effects (within) regression               Number of obs      =       105
      Group variable: id                              Number of groups   =        26
      
      R-sq:  within  = 0.5479                         Obs per group: min =         1
             between = 0.8620                                        avg =       4.0
             overall = 0.7516                                        max =         6
      
                                                      F(5,25)            =     18.03
      corr(u_i, Xb)  = -0.8469                        Prob > F           =    0.0000
      
                                          (Std. Err. adjusted for 26 clusters in id)
      ------------------------------------------------------------------------------
                   |               Robust
      loggedTota~a |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
      -------------+----------------------------------------------------------------
          loggedx1 |  -.4356533   .1488156    -2.93   0.007    -.7421447    -.129162
          loggedx4 |  -.0841455   .0387963    -2.17   0.040    -.1640479   -.0042431
          loggedx5 |   .1589569   .1405931     1.13   0.269    -.1306001    .4485138
         loggedx14 |  -.0431455   .0241568    -1.79   0.086    -.0928975    .0066064
         loggedx19 |   .7000899   .1811639     3.86   0.001     .3269759    1.073204
             _cons |   6.158521   1.705606     3.61   0.001      2.64576    9.671283
      -------------+----------------------------------------------------------------
           sigma_u |  .48036987
           sigma_e |  .16317569
               rho |  .89654927   (fraction of variance due to u_i)
      ------------------------------------------------------------------------------
      
      . xtreg loggedTotaltra i.Year loggedx1 loggedx4 loggedx5 loggedx14 loggedx19, fe vce(robust)
      
      Fixed-effects (within) regression               Number of obs      =       105
      Group variable: id                              Number of groups   =        26
      
      R-sq:  within  = 0.7645                         Obs per group: min =         1
             between = 0.8768                                        avg =       4.0
             overall = 0.8243                                        max =         6
      
                                                      F(10,25)           =    107.05
      corr(u_i, Xb)  = -0.0773                        Prob > F           =    0.0000
      
                                          (Std. Err. adjusted for 26 clusters in id)
      ------------------------------------------------------------------------------
                   |               Robust
      loggedTota~a |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
      -------------+----------------------------------------------------------------
              Year |
             1970  |   .0895917   .0656703     1.36   0.185    -.0456589    .2248423
             1980  |   .0505849   .1247495     0.41   0.689    -.2063415    .3075114
             1990  |   .1018121   .1545087     0.66   0.516    -.2164044    .4200287
             1995  |  -.1656287   .1599647    -1.04   0.310    -.4950822    .1638248
             2005  |  -.2077271   .1859161    -1.12   0.274    -.5906285    .1751743
                   |
          loggedx1 |  -.1757685   .1086577    -1.62   0.118    -.3995534    .0480163
          loggedx4 |   .0394131   .0615269     0.64   0.528     -.087304    .1661302
          loggedx5 |   .0576127    .119531     0.48   0.634     -.188566    .3037914
         loggedx14 |  -.0170065    .024242    -0.70   0.489    -.0669338    .0329207
         loggedx19 |   .5558698   .1676673     3.32   0.003     .2105526     .901187
             _cons |   5.487333   1.540105     3.56   0.002     2.315427     8.65924
      -------------+----------------------------------------------------------------
           sigma_u |  .19444681
           sigma_e |  .12197195
               rho |  .71762985   (fraction of variance due to u_i)
      ------------------------------------------------------------------------------
      
      .

      Comment

      Working...
      X