gender age hiv_aids MM
0 0 0 10.8
1 0 0 127.3867
1 0 0 28.97162
0 0 0 21.2
1 1 0 52.04571
1 1 0 37.44932
1 1 0 34.1
1 1 0 28.01327
1 0 0 19.6
1 1 0 97.23553
0 0 0 29.85625
1 0 0 49.24438
1 0 0 11.5739
1 0 0 25.6
1 1 0 24.54847
1 0 0 26.3
1 0 0 14.2
0 0 0 28.2
0 0 0 20.7
0 1 0 22.11574
0 0 0 9.1
1 1 0 73.35053
1 0 0 74.53004
0 1 0 29.6
1 0 0 67.08441
1 1 0 14.59639
1 1 1 41.4
1 1 1 31.6
1 1 1 96.27718
1 1 1 39 Age: 0 children 1 adult. Gender: 0 female 1 male. MM: molecular marker
I am trying to see if age, gender and hiv infection status have some effect in this molecular marker. I can do it with two variables:
bysort age: ranksum MM by, (gender).
But I want to test like: values of MM between gender and age among those who are hiv negative, for exemple. Among those who are HIV negative, there is diference between female children than male children.
I could not attach dta. plan, sorry.
thank you
0 0 0 10.8
1 0 0 127.3867
1 0 0 28.97162
0 0 0 21.2
1 1 0 52.04571
1 1 0 37.44932
1 1 0 34.1
1 1 0 28.01327
1 0 0 19.6
1 1 0 97.23553
0 0 0 29.85625
1 0 0 49.24438
1 0 0 11.5739
1 0 0 25.6
1 1 0 24.54847
1 0 0 26.3
1 0 0 14.2
0 0 0 28.2
0 0 0 20.7
0 1 0 22.11574
0 0 0 9.1
1 1 0 73.35053
1 0 0 74.53004
0 1 0 29.6
1 0 0 67.08441
1 1 0 14.59639
1 1 1 41.4
1 1 1 31.6
1 1 1 96.27718
1 1 1 39 Age: 0 children 1 adult. Gender: 0 female 1 male. MM: molecular marker
I am trying to see if age, gender and hiv infection status have some effect in this molecular marker. I can do it with two variables:
bysort age: ranksum MM by, (gender).
But I want to test like: values of MM between gender and age among those who are hiv negative, for exemple. Among those who are HIV negative, there is diference between female children than male children.
I could not attach dta. plan, sorry.
thank you
Comment