Let's say I have an un-normalized probability density function $f(x)$, which is related to $\xi$ via $\xi = \frac{f}{c}$
I also have a sample set $S = \{x_i\}_{i=1}^n \sim \xi$ which is sampled from the normalized pdf $\xi$
Can $S$ then be used to determine the normalizing constant $c$?
That is, in a simple case taken from Wikipedia
$$p(x) = e^{-x^2/2}$$ so, $$\int_{-\infty}^\infty p(x)dx = \int_{-\infty}^{\infty}e^{-x^2/2}dx = \sqrt{2\pi} = c$$ and if the function $\phi(x)$ is defined as: $$\phi(x) = \frac{1}{\sqrt{2\pi}}p(x) = \frac{1}{\sqrt{2\pi}}e^{-x^2/2}$$ so that $$\int_{-\infty}^{\infty}\phi (x)dx = \int_{-\infty}^{\infty}\frac{1}{\sqrt{2\pi}}e^{-x^2/2}dx = 1$$
then $\frac{1}{\sqrt{2\pi}}$ is the normalizing constant of $p(x)$.
So in the case of the sampling set $S$, would I determine the approximate normalized pdf $\xi$ via a histogram (and potentially curve fitting) and compare it to $f(x)$?
Is that the same as $c = \int_{-\infty}^{\infty} p(x)dx$ from Wikipedia?
Goal: Find $c$ by using $S$, is this possible?