Announcement

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

  • Error: numlist has too many elements

    Hello,

    I am trying to run an ROC analysis with 43,905 observations.

    My code is:

    dtroc compend sihi, detail graph using(si_all)

    The output I get is:

    ---------------------------------------------------------------------
    Valid cases (total): 43905
    Area Under Curve: AUC = 0.58187 (95% CI: 0.57724 to 0.58649) (Exact)
    ---------------------------------------------------------------------

    Likelihood Predictive Values
    Ratios for SAMPLE Prevalence
    Youden ------------- ---------------------
    CUT-OFF Se(%) Sp(%) Eff(%) J(%) LR+ 1/LR- PV+(%) PV-(%)
    ---------- ------ ------ ------ ------ ------ ------ --------- ---------invalid numlist has too many elements


    Is there a work around for this?

    Thanks!
    Elissa Butler

  • #2
    I realized my sihi variable had 9 decimal places so it was trying to calculate a new Se and Sp for basically every observation. Once I rounded sihi to 2 decimal places, it ran just fine.

    Comment

    Working...
    X