Announcement

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

  • endogenous switching regression model

    Hello,
    Please I am new in stata so it's quite difficult for me to solve some regression problems.

    Actually, I am trying to estimate an endogenous switching regression model using the movestay command where my selection dependent variable is ADOPT(dummy) while my outcome dependent variable is HDDS(continuous).
    Unfortunately I keep getting the following error. i tried to add the variables progressively but either of the messages below. the strange part is that the same command was ran on a different computer using the same of stata and it produced results without any errors.
    I am getting desperate. Can someone help me solve this problem? Please


    global str GENDER AGE YEARSOFEDUC INCOMEO DISNEARESTMARKETKM TENURE CREDITACCESS

    . movestay(HDDS=$str),select(ADOPT=$str MEDIA)

    Fitting initial values .....
    initial: log likelihood = -<inf> (could not be evaluated)

    could not find feasible values
    r(491);


    or


    movestay HDDS INCOMEO AGE AGRICEXPERIENCE ,select(ADOPT=MEDIA)

    Fitting initial values .....initial vector: copy option requires either a matrix or a list of numbers
    r(198);
Working...
X