Real-time prediction of in-situ stresses while drilling using surface drilling parameters from gas reservoir