Question: Need help with statistics: Quartiles and Median
0
4.6 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 • 928 views
modified 4.6 years ago by RamRS30k • written 4.6 years ago by thefirstrealace30
3
4.6 years ago by
RamRS30k
Baylor College of Medicine, Houston, TX
RamRS30k 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.

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?

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