How to know which variables are the best for predicting using logistic regression?

good evening guys

I want the know if there is any data exploration i can use to say that a certain variable will be good for prediction or not ?

also i want to know if the amount of ones and zeros in the response variable can effect the performance of the model or not ? for example we have 100 yes and 300 no , should they be equal ?

© Copyright 2013-2019 Analytics Vidhya