Lemme explain, there are a couple of things that can provide you with more females and some things that can provide more males.

1. Stress from exessive lighting = more males (and hermies)

2. Too hot for the plant = more females (and hermies)

3. I forgot the rest, but there was extencive research about it by a university. I read it in here some where