Hello everyone!

I have an event that can happen with each of my patients (Y or N), collected over many years. Theses patients are independent of each other. I want to detect the trend taking into account the binary nature of my variable but also the number of cases per year.

For example, I want to check if the ratio of Y/N over the years is increasing, but I have a variable number of cases per year (5-20 cases per year).

Would be chi-square any good?

I have seem some researchers using a Mann-Kendall Test, but I don't have any clues on how to apply it to a ratio derived from a binary event while taking into account the number of observations per year

In general, I have good knowledge of R programming and also I have access to SPSS v26.

I have an event that can happen with each of my patients (Y or N), collected over many years. Theses patients are independent of each other. I want to detect the trend taking into account the binary nature of my variable but also the number of cases per year.

For example, I want to check if the ratio of Y/N over the years is increasing, but I have a variable number of cases per year (5-20 cases per year).

Would be chi-square any good?

I have seem some researchers using a Mann-Kendall Test, but I don't have any clues on how to apply it to a ratio derived from a binary event while taking into account the number of observations per year

In general, I have good knowledge of R programming and also I have access to SPSS v26.

Last edited: