Announcement

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

  • Threshold regression for Firm Level Data.

    Dear seniors, I need your guidance about the Threshold model. I am using the threshold model for my firm-level data from the World Bank enterprise survey (Years are 2006,2010,2016 and 2022) I tried these Stata commands (xthreg percentannualsalegrowth politicalinsability firmage,rx( politicalinsability) qx(politicalinsability) thnum(1) trim(0.05) and (xthreg percentannualsalegrowth politicalinsability firmage,rx( politicalinsability) qx(politicalinsability) thnum(1) grid(400) trim(0.05) bs(400) vce (robust)) but it doesn't work and showing error (must specify timevar; use xtset) now I am confused where I am making mistakes. can anyone guide me to solve this issue and i get right command.
Working...
X