Announcement

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

  • Categorical variable: 3499 factor() not found r(3499)

    I am trying to define two categorical variables (factors) in mata. My command is as follows:

    mata: F_c = factor("c")
    mata: F_c.panelsetup()
    mata: F_csgroup = factor("c sgroup")
    mata: F_csgroup.panelsetup()


    The above code used to work until last week before I got Windows 11 updated on my work computer. I had to reinstall stata and all important ssc packages after the update.

    Now however the above command refuses to work and I get the error:

    mata: F_c = factor("c")
    <istmt>: 3499 factor() not found
    r(3499);


    The code works on my personal laptop's stata and I tried matching all the ssc packages installed and ado files saved. The error still persists. Grateful for advice on this.
Working...
X