Mathematical statistical methods, as supplements for computer modeling, have many advantages in the study of hydrogeochemistry for the shallow groundwater. Descriptive, correlation and factor analyses have been carried out for the water quality data of the groundwater samples from the shallow weathering zone of red beds in the Sichuan Basin. The geochemical composition of the water samples were controlled by atmospheric precipitation and the mineral composition of the rock; freshwater with TDS<1 g/L covers the most area with low TDS in the skirt and high TDS values in the central area of the basin and also TDS in local areas was controlled by atmospheric precipitation.