First time writing question on stack. Mostly, I could find the answer needed from previous questions. This time couldn't find such a. Lets say I have categorical variable y(dependent) which can have values of 0(no occurrence) and 1(occurrence). And x, where rows are frequencies of how many times value is higher than mean. What test would be better to test dependence?