back-transform rank data

9 Ansichten (letzte 30 Tage)
locas
locas am 6 Apr. 2018
Beantwortet: Jeff Miller am 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.

Antworten (1)

Jeff Miller
Jeff Miller am 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));

Kategorien

Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by