Announcement

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

  • #16
    Thank for this code, it is very comprehensive. However, when running this code, I get stuck at error at the line
    Code:
     
     list _by1 _margin _se _ci_lb _ci_ub, noobs clean variable _by1 not found r(111);
    How would I troubleshoot? I apologise for asking for such handholding, it's due to not recognising the methods you have suggested using.

    Comment


    • #17
      The variable names must be different for you for some reason. Remove the variable list from the -list- command to see what they are (i.e., inspect the output from -list-), then modify the following code as needed.
      Code:
       
       list, noobs clean
      --
      Bruce Weaver
      Email: [email protected]
      Web: http://sites.google.com/a/lakeheadu.ca/bweaver/
      Version: Stata/MP 18.0 (Windows)

      Comment


      • #18
        This is the output I get when using the data example I posted earlier in the thread:

        Code:
         list , noobs clean
        
              lgross   lmovie~s   releas~r  
            20.44949   10.40426       2009  
             19.1142   11.35041       2015  
             19.9206   12.00762       2012  
            18.10677   10.08581       2012  
            19.11786   10.27505       2010  
            19.94454   11.67844       2015  
            19.52579    9.21034       2009  
            19.61536   12.19096       2016  
            19.86296   8.517193       2006  
             18.3074   10.77896       2013  
            19.48891   11.67844       2013  
            20.25051   11.71994       2012  
            19.30057    10.9682       2011  
            19.00301   10.59663       2012  
             19.3572   11.08214       2014  
            19.38397   10.93311       2012  
            18.47156   9.740969       2010  
            19.36985    11.3266       2013  
            19.82481   11.18442       2016  
            17.99256   10.69195       2012  
            20.29583   11.91839       2015  
            19.53372   11.28978       2012  
            19.82921   11.46163       2013  
            19.62721   10.08581       2010  
            19.40832   10.69195       2013
        I am confused what each of the variables _by1 _marginn etc are supposed to be?

        Comment

        Working...
        X