Blog

Data analytics, statistics, and more

Proportional Odds Ordinal Logistic Regression

In this post, we will use ordinal logistic regression to provide general contrasts on the log odds ratio scale as an alternative to nonparametric ANOVA. Proportional odds ordinal logistic regression is a generalization of the Wilcoxon and Kruskal-Wallis tests that extends to multiple covariates and interactions.

April 17, 2022

Nonparametric Two-Way ANOVA

In this post, we will evaluate whether sample depth and/or site location affect arsenic concentrations measured in soil. To address non-normality and heteroscedasticity, two-way ANOVA will be performed using the rank-transformation of the data values.

April 16, 2022

Mann-Kendall Power Analysis Revisited

Detection of a long-term, temporal trend in environmental data is affected by a number of factors, including the size of the trend to be detected, the time span of the data, and the magnitude of variability and autocorrelation of the noise in the data. This post evaluates the power of the Mann-Kendall test to identify a trend for various combinations of trend, variability, and sample size using Monte Carlo simulation.

April 5, 2022

Sample Size Requirement for One-Sample t-Test

This post computes the sample size necessary to achieve a specified power for a one-sample t-test, given the ratio of means, coefficient of variation, and significance level. Calculations are based on the USEPA’s 1996 Soil Screening Guidance Document that discusses sample size calculations to determine whether soil at a potentially contaminated site needs to be investigated for possible remedial action.

April 2, 2022