Dear Staff Hello, I am recently trying to learn some functions of R. How would I use R to do T-test, confidence interval calculation, chi-square test and ANOVA? -- Thank you Sike Li (Lydia) [[alternative HTML version deleted]]
On 13.02.2015 18:17, Sike Li wrote:> Dear StaffThere is no staff, only volunteers who answer messages in their spare time.> Hello, > > I am recently trying to learn some functions of R. How would I use R to do > T-test, confidence interval calculation, chi-square test and ANOVA? >Please re-read the posting guide and start to read basic documentation. Best, Uwe Ligges
Hi Sike, Start an R session, issue the command "help.start()" and check the help pages for "t.test", "chisq.test" and "aov" in the "stats" package. Jim On Sat, Feb 14, 2015 at 4:17 AM, Sike Li <lisike at terpmail.umd.edu> wrote:> Dear Staff > Hello, > > I am recently trying to learn some functions of R. How would I use R to do > T-test, confidence interval calculation, chi-square test and ANOVA? > > -- > Thank you > Sike Li (Lydia) > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
There are anumber of good papers and books in pdf format at the R site. Select a CRAN location and you should see an entry for them on the left side of the page. Pick a couple and see if they help. And for a fun read on introductory statistics in general which should cover everything you wanted to know and more have a look at Danial Navarro's downloadable stats book at http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/ John Kane Kingston ON Canada> -----Original Message----- > From: lisike at terpmail.umd.edu > Sent: Fri, 13 Feb 2015 12:17:10 -0500 > To: r-help at r-project.org > Subject: [R] Use of R for Hypothesis Testing > > Dear Staff > Hello, > > I am recently trying to learn some functions of R. How would I use R to > do > T-test, confidence interval calculation, chi-square test and ANOVA? > > -- > Thank you > Sike Li (Lydia) > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
You will only really learn R by reading and trying things yourself. As John says, there are many good books out there. Have you read the introductory material that comes with R in the help system? I would recommend you start the help system and scroll through the list of functions contained in the stats package. You will be amazed at what you find. Kevin On 02/14/2015 12:08 PM, John Kane wrote:> There are anumber of good papers and books in pdf format at the > R site. Select a CRAN location and you should see an entry for them on the left side of the page. Pick a couple and see if they help. > > And for a fun read on introductory statistics in general which should cover everything you wanted to know and more have a look at > Danial Navarro's downloadable stats book at http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/ > > John Kane > Kingston ON Canada > > >> -----Original Message----- >> From: lisike at terpmail.umd.edu >> Sent: Fri, 13 Feb 2015 12:17:10 -0500 >> To: r-help at r-project.org >> Subject: [R] Use of R for Hypothesis Testing >> >> Dear Staff >> Hello, >> >> I am recently trying to learn some functions of R. How would I use R to >> do >> T-test, confidence interval calculation, chi-square test and ANOVA? >> >> -- >> Thank you >> Sike Li (Lydia) >> >> [[alternative HTML version deleted]] >>-- Kevin E. Thorpe Head of Biostatistics, Applied Health Research Centre (AHRC) Li Ka Shing Knowledge Institute of St. Michael's Assistant Professor, Dalla Lana School of Public Health University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016