Coder Social home page Coder Social logo

raoulwolf / bayesian-pec-modeling Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 28 KB

Complementary repository with data and code for Wolf & Tollefsen, 2021.

License: MIT License

R 100.00%
environmental-monitoring environmental-modeling bayesian-regression brms pec-modeling

bayesian-pec-modeling's Introduction

Bayesian PEC modeling

This repository contains the data and the R scripts for Wolf & Tollefsen 2021, “A Bayesian approach to incorporating spatiotemporal variation and uncertainty limits into modeling of predicted environmental concentrations (PECs) from chemical monitoring campaigns”. The article will be published in Environmental Science & Technology, doi:10.1021/acs.est.0c06268.

Requirements

To analyze the data, the statistical software R 4.0.1 or higher needs to be installed, as well as Rtools 40 for users operating from Windows.

The package {brms} needs to be installed as well. Within R, execute the following command to install:

install.packages("brms")

Information

All scripts are inside the scripts/ folder of this repository. For each of the three campaigns, a separate R file exists: sorfjord.R for the Sørfjord campaign, kaldvellfjord.R for the Kaldvellfjord campaign, and oslofjord.R for the Oslofjord campaign.

Additionally, the file empirical_prior.R contains a custom function to calculate empirical priors. Detailed information on the modeling procedure and the calculations of the empirical priors are given in the Supporting Information of the publication.

bayesian-pec-modeling's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zhitenevaa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.