Announcement

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

  • Error mesage : error: variable is empty after factor/time expansion

    Dear STATALIST members,

    I have a big data with size of 40GB RAM and ran a regression using on STATA Linux version(MP, 4 core). I ran following regression command but encounted an error message. But I was able to run the data without control variables. I could not find related posts on this error message. Can you please help me with this. Variables are not empty so I do not know what doe this mean. Thank you!

    global control fund_size_log fund_return log_mktcap_lag leverage_lag roa_lag mtb

    eststo M_1: reghdfe inv_amount_chg c.car_q_chg_n##i1.local $control , absorb(qrank) vce(cluster mgrno_n#ticker_n#qrank ticker_n#qrank)
    error: variable -i1.local- in varlist - 1.local#c.car_q_chg_n fund_size_log fund_return log_mktcap_lag leverage_lag roa_lag mtb- in category -indepvars- is empty after factor/time expansion
    r(198);


    Error mesage : error: variable -i1.local- in varlist - 1.local#c.car_q_chg_ fund_return log_mktcap_lag leverage_lag roa_lag mtb- in category -indepvars- is empty after factor/time expansion





  • #2
    Can anyone help me what the error message mean? It seems there is a problem is the dataset but I have no ideas what to look, descriptive stat looks find. I could not find any references on this..

    Comment


    • #3
      The error message is coming from -reghdfe- (not -eststo-). -reghdfe- is a community-contributed program written by Sergio Correa. As nobody else in the Forum seems to know what the problem might be, you might try to reach him directly with your question.

      Comment


      • #4
        Thank you so much! I reach out to him.

        Comment

        Working...
        X