Announcement

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

  • regression with more than one dependent variables

    Hi all, i want to produce this table. I already found the stata syntax for column "UTI Take Up" : regress uti_adp_stat i.treatment1, cluster(branch) . But I didn't found the stata command for column "Intention to adopt UTI" and column "Adopt UTI if agent brings form" yet. Does anyone know what's the syntax for those columns? Is it possible to produce column UTI take up, intention to adopt uti, adopt uti if agent brings forms in one stata syntax? I've already try using mvreg but it didn't success.

    Table 5: First experiment treatment effects UTI Take up Intention to adopt UTI
    UTI Take up Intention to adopt UTI Adopt UTI if agent brings forms
    T1 0.020*** (0.0046) 0.342***
    (0.037)
    0.053
    (0.064)
    T2 0.005
    (0.003)
    0.320***
    (0.047)
    0.039
    (0.085)
    T3 0.008*** (0.002) 0.344***
    (0.047)
    0.040
    (0.083)
    Constant 0.0025
    (0.001)
    0.036**
    (0.013)
    0.340
    (0.053)
    Number of observations 3004 3000 3000
    Notes: All regressions are clustered by branch. *** significant at the 1 percent level ** significant at the 5 percent level * significant at the 10 percent level

    thank you!

  • #2
    The number of observations differ across the regressions, so it is unlikely that they were estimated using mvreg. You want to store the estimates and then create the table using collect or some community-contributed command. The illustration below uses estout from SSC.

    Code:
    ssc install estout, replace
    Code:
    sysuse auto, clear
    local i 0
    foreach depvar of varlist price mpg turn{
        local ++i
        eststo m`i': regress `depvar' weight gear disp trunk, robust
    }
    esttab m*, label starlevels(* 0.1 ** 0.05 *** 0.01)
    Res.:

    Code:
    . esttab m*, label starlevels(* 0.1 ** 0.05 *** 0.01)
    
    --------------------------------------------------------------------
                                  (1)             (2)             (3)   
                                Price    Mileage (m~)        Turn ..)   
    --------------------------------------------------------------------
    Weight (lbs.)               2.161**      -0.00619***      0.00442***
                               (2.41)         (-4.92)          (5.86)   
    
    Gear ratio                 2192.8**         0.666          -0.573   
                               (2.12)          (0.38)         (-0.54)   
    
    Displacement .. in.)        10.37         0.00793       0.0000579   
                               (1.52)          (0.85)          (0.01)   
    
    Trunk space (.. ft.)       -63.65         -0.0986          0.0465   
                              (-0.75)         (-0.68)          (0.66)   
    
    Constant                  -8139.8*          37.76***        27.38***
                              (-1.83)          (5.86)          (6.29)   
    --------------------------------------------------------------------
    Observations                   74              74              74   
    --------------------------------------------------------------------
    t statistics in parentheses
    * p<0.1, ** p<0.05, *** p<0.01
    Last edited by Andrew Musau; 27 Nov 2023, 02:25.

    Comment

    Working...
    X