Measuring the pH and impedance in the esophagus helps determine if acid or stomach contents are coming back up the esophagus. A pH impedance study is usually done when gastroesophageal reflux (GER) is suspected. It can also be used to determine how effective treatment is while taking antacids. The study might help explain nighttime cough, hoarseness or other complaints.