back-transform rank data

10 ビュー (過去 30 日間)
locas
locas 2018 年 4 月 6 日
回答済み: Jeff Miller 2018 年 4 月 7 日
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.

回答 (1 件)

Jeff Miller
Jeff Miller 2018 年 4 月 7 日
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));

カテゴリ

Help Center および File ExchangeSpline Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by