Statistical Data Analysis for Energy Communities