[R] How to Compare the median to the mean?
John Kane
jrkrideau at inbox.com
Sat Feb 4 21:01:18 CET 2012
This is reallly not a list for homework help. However I'd guess that you are supposed to discuss the mean and median, not assault them with R :)
I probably shouldn't do this. :(
Plot the data and then discuss the mean & median
John Kane
Kingston ON Canada
> -----Original Message-----
> From: sonjamackintire at gmail.com
> Sent: Sat, 4 Feb 2012 09:42:24 -0800 (PST)
> To: r-help at r-project.org
> Subject: [R] How to Compare the median to the mean?
>
> Okay, so I have a homework projecr for R, and we had to input the
> following
> link as some sort of data:
> nb10 <- read.table("http://www.adjoint-functors.net/su/web/314/R/NB10").
> Afterwards, we have to use
> fivenum(nb10) to find max, min, quantiles, and sd, but I'm okay with
> this.
> The next question is where I'm stuck. The question is as follows;
> Compare the median (use the quantiles or median(nb10$V1)) to the mean. I
> found the mean to be 408.8 and the median to be 404. Can you please
> explain
> to me what I need to put into the program to get an answer and explain
> what
> the answer means?
>
> Thank You.
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/How-to-Compare-the-median-to-the-mean-tp4357520p4357520.html
> Sent from the R help mailing list archive at Nabble.com.
____________________________________________________________
Share photos & screenshots in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if1
Works in all emails, instant messengers, blogs, forums and social networks.
More information about the R-help
mailing list