Announcement

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

  • Data Interpolation giving negative values

    I have used the following code
    ipolate Shareholdersfunds Year, gen(SF) epolate by (ComapanyNUm) to interpolate missing values in my data.
    where ComapanyNum is the Id in my panel data set.
    But some of the new values generated as SF are negative.
    Please suggest what do I do with negative values as shareholders' funds cannot be negative.

  • #2
    Straight lines can go negative!

    Interpolating logarithms and exponentiating the result would ensure positive results.

    Comment


    • #3
      Thank you Sir Nick Cox

      Comment


      • #4

        Anuradha:
        are you sure that you can simply -ipolate- without any previous diagnosis of the missing mechanism?
        Kind regards,
        Carlo
        (StataNow 18.5)

        Comment


        • #5
          Yes Sir Carlo Lazzaro there is a doubt in that .

          Comment

          Working...
          X