I want to construct my likelihood.
General case:
If my data do come from a line of the form $y = mx + b$ and the uncertainties are normally distributed with mean zero and known variance $\sigma_y^2$, then the likelihood would be:
$$p(y|x, \sigma_y, m, b) = \frac{1}{\sqrt{2\pi \sigma_y^2}} \exp(-\frac{(y - mx - b)^2}{2\sigma^2}) $$
However, in my case, the errors follow a gamma distribution. How can I construct my likelihood?
Edit
To make things clearer, I have a set of data points represented by $x_i$ and $y_i$ that have measurement errors denoted by $\sigma_{x,i}$ and $\sigma_{y,i}$.
Example, my data points look the following:
$x$ $\sigma_x$ $y$ $\sigma_y$
-0.5 $\pm$ 0.02 0.14 $\pm$ 0.004
0.2 $\pm$ 0.03 0.5 $\pm$ 0.002
.....
I want to calculate the likelihood $p(y|x, \sigma_y, m, b)$. To check if I can use the formula written above I had to test whether the measurement uncertainties ($\sigma_y$) are Gaussian. I did a QQ plot and the result was that they don't.
The measurement uncertainties seem to come from a Gamma distribution.
My question is how can I model the likelihood if the measurement errors come from a Gamma distribution.