Announcement

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

  • Storing estimate values from the total command

    Hello,

    I am running the total command for each value of a nominal variable. I am trying to create a table using putexcel with each estimate from this command stacked on top of each other. Unfortunately, the total command does not seem to store the estimate (or at least I can't figure out how to show it). I tried displaying e(b) but I get an error. Does anyone know how to obtain the beta and standard error coefficients after using total? My code and results are below:

    total f50_i [iw= wgt_long] if e43_i==1


    Total estimation Number of obs = 506

    --------------------------------------------------------------
    | Total Std. Err. [95% Conf. Interval]
    -------------+------------------------------------------------
    f50_i | 519088 65505.21 390391.6 647784.5
    --------------------------------------------------------------

    . di e(b)
    matrix operators that return matrices not allowed in this context
    r(509);

    . di e(V)
    matrix operators that return matrices not allowed in this context
    r(509);


    Thanks,
    Tom

  • #2
    Try
    Code:
    matrix list e(b)
    and
    Code:
    matrix list e(V)
    instead.

    Comment


    • #3
      That worked. Thank you!

      Tom

      Comment

      Working...
      X