Suppose we have a random variables
x <- rnorm(500, 2,3)
Suppose that we do not know the marginal distribution of (
x) (I know it is normal).
Then, I would like to estimate the marginal using empirical cumulative distribution function (
Then, I can do that easily in R, i.e.,
xecdf <- ecdf(x)
Then, I can plot it as follows:
Now I plot it and everything is great. So, I have estimated the margins non-parametrically.
My question is, how can I know what is the estimated distribution from the result of
xecdf? That is, in our example, the margin is normal. I suppose it is unknown just for my question.
Now, how I can derive from the result of
ecdf that the margin is normal? How to prove from the result of the ecdf that the margins is normal.
In other words,
I understand the ecdf. however, how I know from ecdf that my margin is normal. That is, when we estimate the margins, we would like to know that is the type of margins. Are they normal or any other distribution? One way to estimate the margins is to use ecdf. So, how can I know the type of margins form ecdf.