Announcement

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

  • First-order autoregression structure with GLM?

    Hello Statalist community,

    I would like to run a glm model that accounts for first-order autoregression structure. However, I haven't been successful in identifying the correct code. Can anyone please point me in the right direction?

    Current code:
    glm sba_FODocn Gcode##c.yr0 pop_SBA_avg BlNH_E SNAP_E Bch_E, exposure(area_km2) family(nbreg) link(log)

    menbreg sba_FODocn Gcode##c.yr0 pop_SBA_avg BlNH_E SNAP_E Bch_E, exposure(area_km2) || SBA:, covariance(unstructured)

    Thank you,
    Brennan
Working...
X