To calculate the PDF function using Shannon entropy I have scaled my original sample by simply doing $x'=(x-a)/(b-a)$; where $b=\text{max}(x)$, and $a=\text{min}(x)$ and then I found the $\text{PDF}(x')= exp(-\lambda_0-\lambda_1x'-\lambda_2x'^2)$ using optimization with subjection to moments constraints. However it's customary to plot PDF against the real sample (x). Therefore I wonder how I can map the PDF(x') for real sample (x).
Thank you.