back-transform rank data

10 visualizzazioni (ultimi 30 giorni)
locas
locas il 6 Apr 2018
Risposto: Jeff Miller il 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.

Risposte (1)

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

Categorie

Scopri di più su Spline Postprocessing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by