I am using three surveys, let's call them A, B, and C. From one survey to the next, there is a 5-year interval. From these surveys, I calculate the weight change and I then check if they get a certain diagnosis afterward within 10 years. I want to see if weight increase or decrease is associated with getting the disease.

I divided the data into two study samples:

Group AB: Those who participated in both A and B and did not have the diagnosis from before.

Group: BC: Those who participated in both B and C and did not have the diagnosis from before.

Some individuals participated in all three surveys and therefore are in both groups, so those will be counted in the dataset two times. But even though they are counted two times, the weight change observations will not be the same. Maybe the person went up in weight between A and B and down in weight between B and C.

My question is if I have dependent data and therefore cannot conduct a cox regression?

And if so, what other regression analysis can I use instead?

Thanks a lot in advance.

I have little statistical knowledge and all help is welcome.