Codes
These are free resources that you can download and use. No registration or login is required, so you won't get a bunch of annoying e-mails each week advertising our services. Many folks have used the information in our Resources page to develop the very capabilities we provide as services to solve similar or related problems. If you prefer otherwise, we can teach you how to solve such problems, or solve them for you. Just Contact Us. Attwater Consulting has developed some general codes in our consulting assignments to use the methods that are documented in the papers we have published. We have included a few here that may be of use to you either directly, or as examples of how to do the unique analyses we do for clients. These are all codes written for the R language and will work as well in S+. They are in simple text files that are commented moderately, and can be copied directly into the R console and used as is. We provide no support for the use of these codes, but most of them are so simple that they should be easy for you to validate for your needs. USE AT YOUR OWN RISK. NO WARRANTY IS PROVIDED NOR IMPLIED. Monte Carlo Utilities - these are a set of useful Monte Carlo codes that we use to calculate approximate probabilities from MC samples, produce nice histograms and density plots, etc. The embedded comments described how to use these MC utilities. Generic Weibull Bayesian Sampler - we have generalized a Markov Chain Monte Carlo sampler for the parameters of the Weibull model (the most general unimodal one-sided model) using pseudo-ignorance priors for a single failure mode reliability analysis. The data this code can use is failures, survivors (right censored), failures found on inspection (left censored), and failures constrained to an interval (interval censored). Any one data type can be used, or any combination of multiple data types. Read the comments in the code to understand how to use this sampler, and how to explore the result by using the Monte Carlo Utilities. Density Strip Plotting - to plot the versatile density strip charts used in many of our papers based on Monte Carlo samples. Both linear and logarithmic plotting options are available. These are great for comparing distributions. See the embedded comments for how to use and all of the plotting options that are included. Risk Density Strip Plotting - to plot density strip charts for risks, where the ranges are limited to between 0 and 1 or 0% and 100%, based on Monte Carlo samples. Both linear and logarithmic plotting options are available. These are great for comparing risk distributions, and enable quick and easy prioritization of risks. See the embedded comments for how to use and all of the plotting options that are included. Poisson-Gamma Model (random sampler, density, cumulative probability, and quantile functions) - this is the hierarchical Poisson Gamma model with the Poisson parameter marginalized out providing a more robust distribution than the Poisson. Beta-Binomial Model (random sampler, density, cumulative probability, and quantile functions) - this is the hierarchical Binomial Beta model with the Binomial parameter marginalized out providing a more robust distribution than the Binomial. Attwater Consulting solves problems that many never even attempt to solve. Contact Us for more information on how an Attwater Consulting can help fine tune your Projects into assured successes. We selectively accept assignments all over the world; language used is English. |