Chemical

If you experience chemical pregnancies, how long can you test positive until you know if you have one or not? Also, when are they most likely to occur? I have been testing positive all week and I pray I keep my little baby for the next 8 months.