Giter Club home page Giter Club logo

optimal-design's Introduction

DOI

optimal-design

Example code for using recursive Bayesian computation in optimal design, using simulated data and binary regression.

Publication

Leach, Clinton B., Perry J. Williams, Joseph M. Eisaguirre, Jamie N. Womble, Michael R. Bower, and Mevin B. Hooten, submitted 2021, Recursive Bayesian computation facilitates adaptive optimal design in ecological studies, Ecology

File list

output/data.rds
scripts/plots.R
src/designs.jl
src/example.jl
src/probit.reg.jl
optimal-design.Rproj
LICENSE
README.md

Description

output/data.rds – R data file containing a data frame of simulated data with columns loc – integer site index; y – binary presence/absence at the site; x – covariate value at the site; K1 – binary indicator of inclusion in the initial sample; score – computed design criteria for including that site in a second data collection effort

scripts/plots.R – R script for generating Figure 1 of the above manuscript

src/designs.jl – Julia code defining a function to loop over designs and predicted data, apply PPRB, and compute quantities needed to evaluate the design criteria

src/example.jl – Julia script simulating binary data, fitting an initial binary regression model, and computing the design criteria for each of the potential designs

src/probi.reg.jl – Julia code defining functions to fit an initial probit regression model to a complete data set (probit_reg) and to use PPRB to update an initial model fit given new data (probit_pprb)

optimal-design.Rproj – Rproject file for loading the project in Rstudio

LICENSE – file specifying the license of the included code

README.md – file containing same metadata

optimal-design's People

Contributors

clint-leach avatar

Watchers

 avatar

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.