I'm trying to solve the following least squares problem:

where and

is a vector resulting from some operations and is not necessarily Gaussian. Also, I have access to and therefore, . My question is as follows:

Given a vector , how do I determine which distribution fits it best?

Thanks in advance! This is my first time here, and the presence of LaTeX is very heartening