Premium
CProb: A Computational Tool for Conducting Conditional Probability Analysis
Author(s) -
Hollister Jeffrey W.,
Walker Henry A.,
Paul John F.
Publication year - 2008
Publication title -
journal of environmental quality
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.888
H-Index - 171
eISSN - 1537-2537
pISSN - 0047-2425
DOI - 10.2134/jeq2007.0536
Subject(s) - computer science , scripting language , conditional probability , event (particle physics) , context (archaeology) , software , conditional probability distribution , data mining , programming language , statistics , mathematics , paleontology , physics , quantum mechanics , biology
Conditional probability is the probability of observing one event given that another event has occurred. In an environmental context, conditional probability helps to assess the association between an environmental contaminant (i.e., the stressor) and the ecological condition of a resource (i.e., the response). These analyses, when combined with controlled experiments and other methodologies, show great promise in evaluating ecological conditions from observational data and in defining water quality and other environmental criteria. Current applications of conditional probability analysis (CPA) are largely done via scripts or cumbersome spreadsheet routines, which may prove daunting to end-users and do not provide access to the underlying scripts. Combining spreadsheets with scripts eases computation through a familiar interface (i.e., Microsoft Excel) and creates a transparent process through full accessibility to the scripts. With this in mind, we developed a software application, CProb, as an Add-in for Microsoft Excel with R, R(D)com Server, and Visual Basic for Applications. CProb calculates and plots scatterplots, empirical cumulative distribution functions, and conditional probability. In this short communication, we describe CPA, our motivation for developing a CPA tool, and our implementation of CPA as a Microsoft Excel Add-in. Further, we illustrate the use of our software with two examples: a water quality example and a landscape example. CProb is freely available for download at http://www.epa.gov/emap/nca/html/regions/cprob.