Announcement

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

  • Hello, How can I solve this problem


    use "data.dta", clear
    qui: sum year
    global y_max = r(max)
    global y_min = r(min)
    global y_count = ($y_max - $y_min)+1
    g border = (dist >=-20 & dist <= 20)
    g int_bfr = border * french
    qui: include "sumstat.do"
    variable expo not found
    r(111); r(111);
    Last edited by Yahya Ojagverdi; 09 Nov 2023, 17:17.

  • #2
    Some code you don't show us expects to be able to see a variable expo, but it can't. Perhaps the answer lies in the file data.dta; or perhaps it lies in the file sumstat.do. We can't see either.

    Comment


    • #3
      Thank you for answering.
      These are my files which you said Mr. Nick
      Attached Files

      Comment


      • #4
        expo is not a variable in the dataset.

        Comment

        Working...
        X