External Models for Output Regulation based on Moment Estimation from Input-Output Data