I want to convert raw data to Gaussian (mean=0, std =1) using qqnorm function. What I realize though, is that for the same raw values, I get different Gaussian value. Eg:
mydata = c(2.4, 3.7, 2.1, 3, 1.6, 2.5, 2.9, 2.9 )
myquant = qqnorm(mydata)
myquant
-0.4727891 1.4342002 -0.8524950 0.8524950 -1.4342002 -0.1525060 0.1525060 0.4727891
Moreover, I have used the following code to transform data into normal one:
for (i in 1:ncol(sampledataSubGaus) ) {
sampledataSubGaus[,i] <- qqnorm( as.matrix(sampledataSub[,i]) )$x
}
where I face the same issue again. Is there an explanation for that? For your information, I have used another function called score.transform, which behaves properly.