Suppose that data X have a Normal distribution with some mean $\mu$ and some variance $\sigma^2$. However, you don't get to see X. Instead, you see $Y = g(X)$ where $g$ is a known function. Assume that $g$ is complicated and is not invertible.
How do you write the likelihood function for $Y$? Or how do you use some numerical method to approximate a likelihood in a way that allows inference about $\mu$ or $\sigma^2$?
Seems like a basic question that has totally stumped me.