Announcement

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

  • Prepare raw data for wilcoxon test and error

    Dear all

    I would like to compare the following rows f and g as well as f and h.

    I receive the error
    . ranksum f, by(g)
    more than 2 groups found, only 2 allowed
    r(499);


    How do I have to do after uploading the raw data?

    I work on social network analysis and to compare the network effects.

    Thank you for your advice.

    ID f g h
    1 0,107 0,097 0,105
    2 0,097 0,09 0,0925
    3 0,087 0,083 0,08
    4 0,077 0,076 0,0675
    5 0,067 0,069 0,055
    6 0,06525 0,06725 0,05225
    7 0,0635 0,0655 0,0495
    8 0,06175 0,06375 0,04675
    9 0,06 0,062 0,044
    10 0,05675 0,05875 0,0415
    11 0,0535 0,0555 0,039
    2 0,05025 0,05225 0,0365
    13 0,047 0,049 0,034
    14 0,04375 0,0455 0,03375
    15 0,0405 0,042 0,0335
    16 0,03725 0,0385 0,03325
    17 0,034 0,035 0,033





  • #2
    The error message makes sense; your variable g is not binary. Nor is f.

    Comment

    Working...
    X