How do you calculate T and P statistics (T- test) in R? Is there a package out there that can do these calculations? Best, Michael Tong Futures Associate Quantitative Research Services Franklin Templeton Investments, Inc. 600 Fifth Ave New York, NY 10020 (212) 632-4254 mtong@templeton.com Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. [[alternative HTML version deleted]]
If you would have tried
help.search("t-test")
It would have listed the function t.test()
?t.test
Will give you the helpfile with instructions.
------------------------------------------------------------------------
----
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium
tel. + 32 54/436 185
Thierry.Onkelinx op inbo.be
www.inbo.be
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to
say what the experiment died of.
~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data.
~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of
data.
~ John Tukey
-----Oorspronkelijk bericht-----
Van: r-help-bounces op r-project.org [mailto:r-help-bounces op r-project.org]
Namens Tong, Michael
Verzonden: woensdag 25 juni 2008 15:43
Aan: r-help op r-project.org
Onderwerp: [R] T and P Statistics
How do you calculate T and P statistics (T- test) in R?
Is there a package out there that can do these calculations?
Best,
Michael Tong
Futures Associate
Quantitative Research Services
Franklin Templeton Investments, Inc.
600 Fifth Ave
New York, NY 10020
(212) 632-4254
mtong op templeton.com
Notice: All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.
[[alternative HTML version deleted]]
______________________________________________
R-help op r-project.org mailing list
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, help(t.test) x = rnorm(10, mean = 10, sd = 1) #some data mytest = t.test(x, mu = 10) #is mu = 10 attributes(mytest) #what's in the test mytest$p.value #obtain the p-value mytest$statistic #obtain the t-value aka statistic HTH Thomas Kaliwe Tong, Michael schrieb:> How do you calculate T and P statistics (T- test) in R? > > Is there a package out there that can do these calculations? > > Best, > > Michael Tong > Futures Associate > Quantitative Research Services > Franklin Templeton Investments, Inc. > 600 Fifth Ave > New York, NY 10020 > (212) 632-4254 > mtong at templeton.com > > Notice: All email and instant messages (including attachments) sent to > or from Franklin Templeton Investments (FTI) personnel may be retained, > monitored and/or reviewed by FTI and its agents, or authorized > law enforcement personnel, without further notice or consent. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. > >