A goodness of fit test based on some graphical representation when parameters are estimated