Homework02A: Measurement

Fall 2026

This page is under construction.

This homework is about exploring data and is in three parts: this part, Homework 2A is about measurement. Homework 2B, is about Central tendency and Measures of dispersion of data using descriptive (aka summary) statistics. Homework 2C is about data visualization and applies to the same data sets described on this page.

BI311 students: What to turn in

BI-311 students: For homework reports, report only your answers for the even numbered questions; answers to the odd numbered problems are provided to you. Read through the entire homework before starting to answer a question — all questions are intended to help you achieve the learning outcomes for the chapter. It is recommended that you work through the odd numbered problems on your own to confirm your work and as a guide to work the other problems.

Homework 2A expectations

Read through the entire homework before starting to answer a question. Relevant readings in Mike’s Biostatistics Book include

This page asks you to make measures of sea star legs (length, width) from images. One could simply apply a flexible ruler to the computer screen, but a far more elegant and accurate approach is to use ImageJ (link to FIJI, which bundles many plugins that facilitate image processing and analysis). I have a page to support this kind of exercise in Mike’s Genetics & Genomics Workbook: Help with imageJ.

All of the coding required was included in Chapter 3 of Mike’s Biostatistics Book. See also relevant tutorials in R work.

How to work this homework

You may work together, but each of your must turn in your own report. Don’t “plagiarize” from each other. Do include in your report who you worked with.

What to turn in: A pdf file containing your answers to the even-numbered questions and relevant R code; by relevant we mean include your code, not copies of code provided to you. For statistical results, report appropriate significant figures.  Use of RMarkdown recommended — because it is a simple way to include graphs generated; however copy/paste into a word document, then converted to pdf, is also acceptable.

Note 1: By relevant we mean provide just the R code and results from R functions necessary to support your answers to the questions. For example, do not include

  1. the entire data set when head(dataset) will do
  2. screenshots of R output!! R output is text — copy/paste
  3. all statistical output from an R function.

See Part09: Making a report for an example homework file.

Submit your work to CANVAS. Please obey proper file naming formats.

Resources for this homework

Help with imageJ (FIJI) at Mike’s Genetics & Genomics Workbook: Help with imageJ.

Mike’s Biostatistics Book: Chapter 3

Answers to odd numbered questions

Mike’s Workbook for Biostatistics: A quick look at R and R Commander, Part01 – Part10 and refer also to code presented in Homework 2 from this workbook.

Additional R commands and or code provided below.


Questions

Option 1. The goal is to measure lengths and widths of each arm (ambulacral ray) of individual Linckia sea stars shown in Figure 1.

Objective.

To record a data set for use in other homeworks.

Overview.

Recall a basic goal of measurement is to ensure recording reflect truth (accuracy). Per the statistics of error, that means we need repeated measures of the object in order to calculate the confidence of our measurements. Think of it this way. While each of the sea stars has five arms, and while it is logical to measure each arm once, you need to record the arm length for arm 1 three times — more if the measure is inaccurate — and it is the average that provides the accuracy. In the end, then just for lengths alone, each specimen has 15 measures, 3 for each arm.

Seven Linkia laevigata seastars. Tag marks arm #1,

Figure 1. Aboral view of seven dried Linckia laevigata sea stars. Tag marks arm #3. A scale bar and white index card are also included for reference. Individual #9, 10, and 11 are bottom row from left to right; top row, left to right is #12 through 15.

To do.

Assign arm numbers. A common designation (eg Ji et al 2012; Trono et al 2015) for the first arm is to locate the madreporite or sieve plate (Fig 2, yellow arrow).  The third arm is left of the madreporite, then arm #4 and subsequent arms follow clock-wise.

Central disc (red arrow) and madreporite (yellow arrow) on a Linckia laevigata sample (not included in Fig 1).

Figure 2. Aboral view of central disc (red arrow) and madreporite (yellow arrow) on a dried Linckia laevigata sample (not included in Fig 1).

Arm (ray) length is typically recorded from the central disc (Fig 2, red arrow) out to the tip of the arm.

For arm width, measure the width close to the arm junction, where the arm meets the center disc.

Download the image in Figure 1 to your computer, then load the image file into Fiji (aka ImageJ). Next, set the measurements to record. Go to Analyze > Set Measurements… Uncheck all of the options – you just want linear measures.

Next, use the ruler captured with the sea stars to set the scale. Click on the line segment tool, then on the ruler, draw across a defined length (top of the ruler centimeters, bottom is the larger inches). The image is low resolution to save the server; expect about 23 pixels per inch. Use the same set scale for all the measures made on the image.

Once the scale is set, proceed to collect the linear and width measures for each arm of each of the seven specimen with the segmented line tool. For length of an arm, draw from the arm tip to the central disc, then Analyze > Measure. On specimen 9, length of arm #1 is about 4.6 inches.

For the arm width, draw a line across the arm near the base and repeat Analyze > Measure to collect estimates. For reference, n specimen 9, width of arm #1 is about 0.7 inches.

After all measures are completed, close the image, save the results, these are the first trial. Next, reload the image for the next series of measures (eg trial #2). Set the scale again, and proceed to record new estimates. It works best if you close the first set of results, perhaps even take a break so that your memory of the first trial fades. Ideally, each measure is independent of the other measure (bias).

Output.

FIJI will allow you to save results, which can then be input into your spreadsheet app. One data set may look like

Specimen Trial Scale Arm Length Width
9 1 23 1 4.572 0.713
9 1 23 2
9 1 23 3
9 1 23 4
9 1 23 5
10 1 23 1

Scale is number or pixels per inch. Lengths in inches.

Option 2.

We can do more. A 2D representation of the shape can be had by recording locations of a series of landmarks.

to be continued.

References

Ji, C., Wu, L., Zhao, W., Wang, S., & Lv, J. (2012). Echinoderms Have Bilateral Tendencies. PLoS ONE, 7(1), e28978.

Trono, D., Dacar, R., Quinones, L., & Tabugo, S. (2015). Fluctuating asymmetry and developmental instability in Protoreaster nodosus (Chocolate Chip Sea Star) as a biomarker for environmental stress. Computational Ecology & Software, 5(2), 119.