back-transform rank data

9 views (last 30 days)
locas
locas on 6 Apr 2018
Answered: Jeff Miller on 7 Apr 2018
i used tiedrank function to rank my data in order to convert them into standard normal distribution.
rank=tiedrank(Data);
p= rank/(length(rank) +1 );
newdata=norminv(p,0,1);
now i need to backward transform newdata to its original dist. Any suggestions ?
Thanks.

Answers (1)

Jeff Miller
Jeff Miller on 7 Apr 2018
I am not really sure what you are trying to accomplish since you still have the original Data, but maybe this will give what you are after:
backtrans = mean(Data) + std(Data)*newdata;
Alternatively, I think you could get the same thing directly with:
newdataback=norminv(p,mean(Data),std(Data));

Categories

Find more on Spline Postprocessing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!