Data Leaf Collection and Analysis Outline
Data Collection
1. Explain your data collection process.
My data collection process involved selecting three potted plants around my household.
The chosen plants included a rubber fig plant (Ficus elastica), a basil plant (Ocimum basilicum),
and a pothos (Pothos) plant (note: these are defined as elastica, basil, and pothos respectively
within the data). From these, I used a ruler to measure the length and width of 10 different
leaves per plant. These leaves were selected randomly from all sides and areas of the plant to
give as unbiased a sample as possible. The measurements were noted down and later
recorded back into a CSV file to be processed.
2. What instrument did you use to collect data with?
I used a ruler to collect the data.
3. How many data points did you collect? Why?
I collected 30 data points in total, 10 for each of the 3 plants. This was because most of
my plants do not have terribly many leaves, time constraints, and the even number of points
allowing for easier analysis while remaining large enough to observe trends within the plants’
data.
4. Define the size of your data in terms of both N (full data set size) and n (each subset
size).
The size of all my data N = 30 individual samples of leaf widths and lengths. The subset
size n = 10 samples per subset (type of plant measured). 3 subsets of n=10 samples make the
N=30 total collection of data.
5. Explain any problems that you ran into during the data collection process.
The main trouble during data collection was remaining consistent from where the
measurement was taken, beginning from the stem of the leaf and all the way to the tip. The basil
plant especially due to some of its curled leaves, making it harder to measure with a straight
metal ruler without damaging the plant.
Analysis
1. Graph histograms of your data with appropriate labels.
These two plots give a quick, broad insight into the data. It is apparent the basil plant has the
smallest length and width values, with the lowest medians (3.45 length, 1.8 width) and mean
(3.51 length, 1.8 width). The pothos is grouped together more, centered around its means (6.44
length, 3.86 width) and medians (6.4 length, 3.8 width). The basil leaves themselves fall into
three categories as presented by the groups of smaller leaf lengths from around 2.2 - 3.0 cm,
medium leaf lengths from 3.25 - 4.25 cm, and a smaller number of very long leaves at 4.5 cm
and above. This is mirrored in the leaf widths, where there appear to be groupings of the sizes
(although with a small dataset, this is hard to determine). Finally, the elastica had the most
impactful outliers for both length and width, causing its variance to spike to 8.20 for length and
3.7 for width. While the basil’s length and width are both spread-out as well, the distance of
outliers for elastica cause it to have high standard deviation and variance (pothos, again, is
much more grouped together with variances of 0.783 for length and 0.498 for width).
2. Graph box-plots of your data with appropriate labels.
For both leaf length and width boxplots, the pothos plant lands almost exactly between the other
basil and elastica plants. Looking at the medians, this holds true: For leaf lengths, the basil
median = 3.45, elastica median = 10.0, and the pothos median = 6.4. For leaf widths, the basil
median = 1.8, elastica median = 5.65, and the pothos median = 3.8. Elastica has a wide range
of width values, and the furthest outliers for leaf lengths too, as indicated by the high standard
deviation as well: elastica length std = 1.82 and elastica width std = 1.64 while basil and pothos
standard deviations do not exceed 0.9 for length or width. The three fall into a small, medium,
and large type of leaf for basil, pothos, and elastica respectively.
3. Graph a scatter plot of your entire data set with each subset a different color and a
ledger.
The direct comparison of all three plants’ leaf lengths versus widths in the scatterplot above can
illustrate the similarity between all three plants’ leaves. For all three, as their length increases,
their width increases at a relatively proportional rate. Once again, the pothos plant seems to be
a middle-ground between the basil and elastica. Looking at the approximate variances for leaf
length, basil variance = 0.59, elastica variance = 3.32, and pothos variance = 0.78. While there
is a large difference between the basil and pothos compared to the elastica, this variance can
be attributed to the distant outliers, also showing elastica’s inherent sporadic leaf sizes.
Comparing the means is the best display of the pothos’s middle-ground nature: the means are
3.51 length and 1.8 width for basil, 9.76 length and 5.74 width for elastica, and a steady
in-between of 6.44 length and 3.86 width for pothos.
4. Explain each graph in terms of variance, mean, median, and standard deviation.
See graph descriptions/explanations above. Summary statistics given by
pd.DataFrame.describe() function (see code). Statistics also copied here as reference above.
5. What can you infer with data and graphs that you have?
To start, the scatterplot figure shows that none of the plants have particularly skinny or wide
leaves compared to the others because of the proportional rate that all three plants have
between their lengths and widths. If one plant had significantly long but skinny leaves, or short
and wide leaves, then this fitting proportional line would not exist. The scatterplot also shows the
small-medium-large nature of these three plants for basil, pothos, and elastica respectively ––
but this is even more apparent in the boxplots. Here, we can see the low length and width
medians and ranges for the basil leaves, high medians for elastica, and observe the pothos
ranges for both width and height to be centered between the two. The high variance and
standard deviation of the elastica show its leaves to be all manner of ranges, and display both
particularly large and particularly small leaf widths and heights (as seen in histogram, boxplot,
and scatterplot figures). The basil is the opposite: much smaller and relatively consistent leaf
sizes. From the histograms, the grouping of values around a central mean (for both length and
width) show the pothos plant has relatively consistent leaf widths and sizes, especially with the
small basil leaves and sporadically-sized elastica leaves. This causes it to be our “middle” for
the three plants, with elastica at the upper, larger end and the basil at the lower, smaller end.