Biology, images, analysis, design...
|"It has long been an axiom of mine that the little things are infinitely the most important" |
Beginners statistics: proportionsExample, with R, Definition and Use, Simple formula, Tips and Notes, Test yourself, References Download R R is Free, very powerful, and does the boring calculations & graphs for scientists.
Example, with RA proportion is simply another name for a mean of a set of zeroes and ones.
Or you could find the proportion of ones with R
Definition and UseA proportion is the relative frequency of items with a given characteristic in a given set (or p=f/n).
A percentage (%) is simply a proportion times 100.
Simple formulaAssuming y is a list of n items, coded as either 0 or 1:
the proportion of 1's in y is sum(y)/n
Or, if f of n items are classed as 'A':
Tips and Notes