Announcement

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

  • carryforward stata 17

    Hi everyone,
    I used to work with the following command: bysort id: carryforward variable, replace but it no longer works in STATA 17. Any idea on how I could do?
    Thank you very much ,
    best
    Pierre

  • #2
    The command works just fine for me. Note that -carryforward- is from SSC and not part of official Stata. It is likely that you need to install -carryfoward- for your Stata 17 installation.

    Code:
    which carryforward  // check that you don't have it already
    ssc install carryforward

    Comment


    • #3
      Thank you Leonardo! I tried to install it indeed but I get this message

      ssc install carryforward
      checking carryforward consistency and verifying not already installed...
      installing into c:\ado\plus\...
      could not rename c:\ado\plus\stata.trk to c:\ado\plus\backup.trk

      I have installed several packages over the past few months and I never got this message "could not rename etc...."

      Any idea?
      Thank you so much!
      Pierre M

      Comment


      • #4
        I'm not sure how to go about this. (I'm thinking you can nuke the plus directory and rebuild it by installing all of those packages again...but that's not a great approach if something simpler is possible.)

        Perhaps other community members have encountered this issue. You may also consider contacting Stata Technical Services but it may be a few days before you hear a reply with US Thanksgiving approaching.

        Comment

        Working...
        X