Wastewater samples taken from the aeration tank of a full-scale activated sludge plant were analyzed using an automatic optical monitoring device. Five variable selection methods were utilized to find the optimal subsets of input variables to develop predictive models for the important parameters of the wastewater treatment process efficiency and the quality of the effluent, including suspended solids, biochemical oxygen demand, chemical oxygen demand, total nitrogen and total phosphorus. The dependencies between the selected variables were also inspected. The study showed that the models based solely on the optical monitoring variables can be used to predict the level of the effluent quality parameters hours before the traditional sampling and analyses. Thus, predictive modelling based on the optical monitoring variables is a potential tool to be used assistance in a process control, keeping the process in a stable operating condition and avoiding environmental risks and economic losses.