Statistical contribution to the analysis of environmental risks along the coastline