Biostatistics For Dummies
Book image
Explore Book Buy On Amazon

Statpages calculates how precision propagates through almost any expression involving one or two variables. It even handles the case of two variables with correlated fluctuations. You simply enter the following items:

  • The expression, using a fairly standard algebraic syntax (JavaScript)

  • The values of the variable or variables

  • The corresponding SEs

Consider the example of estimating the SE of the area of a circle whose diameter is 2.3 cm, with a SE of 0.2 cm. The formula for the area of a circle, in terms of its diameter (d) is A = (π/4)r2

[Credit: Screenshot courtesy of John C. Pezzullo, PhD]
Credit: Screenshot courtesy of John C. Pezzullo, PhD

The expression must refer to the variable (the diameter, in this case) as x, and the squaring of x must be indicated as x * x, because JavaScript doesn't allow x2. The web page knows what the value of Pi is. It calculates an area of 4.15 square centimeters and an SE of 0.72 square centimeter.

The same web page can also analyze error propagation through expressions involving two measured values. Suppose you want to calculate body mass index (BMI, in kilograms per square meter) from a measured value of height (in centimeters) and weight (in kilograms), using the formula: BMI = 10,000weight/height2.

Suppose the measured height is 175 ± 1 centimeter, and the weight is 77 ± 1 kilograms (where the ± numbers are the SEs). The BMI is easily calculated as 10,000 x 77/1752, or 25.143 kg/m2. But what's the SE of that BMI?

The problem would be entered into the web page as:

[Credit: Screenshot courtesy of John C. Pezzullo, PhD]
Credit: Screenshot courtesy of John C. Pezzullo, PhD

The page requires that height and weight be called x and y, respectively. Enter the square of the height as (x * x), because JavaScript doesn't allow x2. Enter 0 for the error-correlation term because height and weight are two independent measurements (using different instruments). The resulting BMI produced by the web page was 25.1 ± 0.4 kilograms per square meter.

About This Article

This article is from the book:

About the book author:

John C. Pezzullo, PhD, has held faculty appointments in the departments of biomathematics and biostatistics, pharmacology, nursing, and internal medicine at Georgetown University. He is semi-retired and continues to teach biostatistics and clinical trial design online to Georgetown University students.

This article can be found in the category: