Hello, Can I apply the quantile function qt() this way? qt(pvals/2, 406-34, lower.tail = F) to get the T-scores? Thanks Ama
Hello, That gives the *absolute* t-scores. If it's all you need/want, then the answer is yes, you can. Hope this helps, Rui Barradas ?s 14:28 de 06/05/20, Ana Marija escreveu:> Hello, > > Can I apply the quantile function qt() this way? > qt(pvals/2, 406-34, lower.tail = F) > to get the T-scores? > > Thanks > Ama > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Hi Rui, Thank you for getting back to me. Is there is a better way to calculate Z scores if I have p values, SE and Beta? Thanks Ana On Wed, May 6, 2020 at 9:27 AM Rui Barradas <ruipbarradas at sapo.pt> wrote:> > Hello, > > That gives the *absolute* t-scores. If it's all you need/want, then the > answer is yes, you can. > > Hope this helps, > > Rui Barradas > > ?s 14:28 de 06/05/20, Ana Marija escreveu: > > Hello, > > > > Can I apply the quantile function qt() this way? > > qt(pvals/2, 406-34, lower.tail = F) > > to get the T-scores? > > > > Thanks > > Ama > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > >
Hello, Sorry but after reading my answer I believe it's not completely clear. I meant absolute values, the actual t-scores as computed from the data might be negative. Your code will always produce positive numbers. Hope this helps, Rui Barradas ?s 15:27 de 06/05/20, Rui Barradas escreveu:> Hello, > > That gives the *absolute* t-scores. If it's all you need/want, then the > answer is yes, you can. > > Hope this helps, > > Rui Barradas > > ?s 14:28 de 06/05/20, Ana Marija escreveu: >> Hello, >> >> Can I apply the quantile function qt() this way? >> qt(pvals/2, 406-34, lower.tail = F) >> to get the T-scores? >> >> Thanks >> Ama >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.