Inverse Transform method for discrete dataset
27 views (last 30 days)
Show older comments
Hi all
I have a dataset that looks like this:
The red line I obtained by fitting a distribution via:
pd = fitdist(Z_vec,'kernel')
![dataset.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/268817/dataset.png)
Now I would actually like to transform this data to a Gaussian Standard Normal (0,1).
I tried to follow Inverse Transform method, only the cdf function of Matlab can't create this for a kernel fitted distribution. It failed to do it just like this:
d = cdf(pd , data_vector);
Or are there any other statistical methods to transform a non-Gaussian dataset like this directly?
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!