growing from seed you are kinda rolling the dice for a female unless you are using feminized seeds. If you were talking Hermie, then I would say number 1 cause for a male outcome from a known female would be light exposure during dark period causing to much stress on the plant.