Announcement

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

  • join-paired-points

    Help please..

    gen id = _n

    stack IVTTSVI1 FEVI1 id IVTTSVI2 FEVI2 id, into(X Y ID) clear


    egen Xmin = min(X), by(ID)
    gsort -Xmin ID X
    gen Y1 = Y if _stack == 1
    gen Y2 = Y if _stack == 2
    graph Y Y1 Y2 X, c(L) sy(iop)

    executing the graph gives an error



    Ygraph_g.new Y1 Y2 X, c(L) sy(iop): class member function not found
    r(4023);



  • #2
    The graph syntax here is for version 7 and earlier. I imagine that

    Code:
    graph7 Y Y1 Y2 X, c(L) sy(iop)
    might work in your Stata, By the convention explained at https://www.statalist.org/forums/help#version it's assumed that you're using Stata 16, unless you tell us otherwise, so the advice is to recast your problem using current syntax.

    https://www.statalist.org/forums/help#stata explains how to give example data.

    Code:
    ssc desc pairplot
    might be of help.
    Last edited by Nick Cox; 31 Oct 2019, 12:47.

    Comment


    • #3
      Thank you. It worked for me. My stata version is 13

      Comment

      Working...
      X