Re: [R] Contingency tables example

2012-01-01 Thread Michael Friendly
On 12/28/2011 1:17 PM, David Winsemius wrote: Along those lines, Thompson's "R accompaniment" to Agresti's text on "Categorical Data Analysis" is simply wonderful: https://home.comcast.net/~lthompson221/SplusDiscrete.PDF It's not surprising that Agresti recommends it on the book's homepage: htt

Re: [R] Contingency tables example

2011-12-29 Thread jim holtman
Without giving help on a potential homework problem, I would suggest that after each step you examine the object you are creating/modifying. This is a basic debugging technique that will help you out in the future. If you have a multi-step problem (as almost all are), then you may have to go step

Re: [R] Contingency tables example

2011-12-29 Thread David Winsemius
On Dec 29, 2011, at 7:15 AM, sambooth21 wrote: I am having a few problems importing the data i'm running this code and the table sets up fine but all of the data values say NA: housdat<- c(21, 21, 28, 14, 19, 37, 34, 22, 36, 17, 23, 401, 10, 11, 36, 3, 5, 23, 61, 23, 17, 78, 46, 43, 43, 35

Re: [R] Contingency tables example

2011-12-29 Thread VictorDelgado
sambooth21 wrote > > > And I just don't know where to start, if anyone could help this would be > greatly appreciated > > look for ?anova - Victor Delgado cedeplar.ufmg.br P.H.D. student www.fjp.mg.gov.br reseacher -- View this message in context: http://r.789695.n4.nabble.com/Conting

Re: [R] Contingency tables example

2011-12-29 Thread VictorDelgado
sambooth21 wrote > > I am having a few problems importing the data i'm running this code and > the table sets up fine but all of the data values say NA: > > housdat<- c(21, 21, 28, 14, 19, 37, 34, 22, 36, 17, 23, 401, 10, 11, 36, > 3, 5, 23, 61, 23, 17, 78, 46, 43, 43, 35, 40, 48, 45, 86, 26, 18

Re: [R] Contingency tables example

2011-12-29 Thread sambooth21
I am having a few problems importing the data i'm running this code and the table sets up fine but all of the data values say NA: housdat<- c(21, 21, 28, 14, 19, 37, 34, 22, 36, 17, 23, 401, 10, 11, 36, 3, 5, 23, 61, 23, 17, 78, 46, 43, 43, 35, 40, 48, 45, 86, 26, 18, 54, 15, 25, 62) housdat<-arra

Re: [R] Contingency tables example

2011-12-28 Thread David Winsemius
On Dec 28, 2011, at 12:48 PM, steve_fried...@nps.gov wrote: Steven: Why are you sending copies to r-help-bounces? Do you think the moderators need an extra copy? This is a elementary problem concerned with tests of association. You should read up on categorical statistics, chi squar

Re: [R] Contingency tables example

2011-12-28 Thread Steve_Friedman
This is a elementary problem concerned with tests of association. You should read up on categorical statistics, chi square tests, and general linear models. Steve Friedman Ph. D. Ecologist / Spatial Statistical Analyst Everglades and Dry Tortugas National Park 950 N Krome Ave (3rd Floor) Home