Question: Need help with statistics: Quartiles and Median
0
gravatar for thefirstrealace
3.8 years ago by
Germany
thefirstrealace30 wrote:

Hello everybody,

i need some help with statistical anylsis of biological properties. Assume, that for some biological properties A, B, C and D, we have their occurence given as m/n-ratios. We have these data for three example species S1 to S3 in a table like shown below (My real data set contains 14 properties for over 100 species):

  A B C D
S1 0.7 0.3 0.25 NA
S2 NA 0.4 0.1 0.6
S3 0.3 NA NA 0.3

As seen above, in some cases no data is available (denoted as NA), so my question now is how to define the quartiles Q1 and Q3 and the Median Q2 for a certain property? Can somebody explain to me how to handle this for property A? Unfortunately i never encountered this case with non-available data.

 

Best regards

statistics quartile median • 819 views
ADD COMMENTlink modified 3.8 years ago by RamRS24k • written 3.8 years ago by thefirstrealace30
3
gravatar for RamRS
3.8 years ago by
RamRS24k
Houston, TX
RamRS24k wrote:

When you calculate statistics, just use the rm.na=TRUE option (that's in R - there should be equivalent options in other tools). These data points are to be excluded in your analysis anyway.

ADD COMMENTlink modified 3.8 years ago • written 3.8 years ago by RamRS24k

I actually use R, but im still new to it. If is understand correctly, rm.na=TRUE filters out the NA and only uses the remaining data points for the calculation of quartiles and median?

ADD REPLYlink written 3.8 years ago by thefirstrealace30

Yes, that is correct. The option is available in a lot of functions and is quite useful.

ADD REPLYlink written 3.8 years ago by RamRS24k

Thank you very much, that was very helpful

ADD REPLYlink written 3.8 years ago by thefirstrealace30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1718 users visited in the last hour