Learn R Programming

ProbBayes, Version 1.1

Functions for Probability and Bayesian Modeling by Jim Albert and Monika Hu

This package inclues functions for communicating Bayesian thinking including Bayes rule for deciding among spinners, visualizations for Bayesian inference for one binomial proportion and for one normal mean, and basic MCMC functions

One can install ProbBayes by typing the following in the Console window:

library(remotes)

install_github("bayesball/ProbBayes")

Copy Link

Version

Install

install.packages('ProbBayes')

Monthly Downloads

387

Version

1.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Jim Albert

Last Published

March 6th, 2020

Functions in ProbBayes (1.1)

GradSchoolAdmission

Graduate School Admission
ProfessorSalary

Professor Salary Study
arm_height

Arm span and height measurements
animation_ratings

Movie Ratings
beta_quantile

Displays a Quantile of a Beta Curve
ScoreData

Scores on Achievement Exam
bayesian_crank

Computes Posterior Probabilities for Discrete Models
beta_area

Displays Areas Under a Beta Curve
DeathHeartAttackDataNYCfull

Risk-adjusted mortality outcomes for all NYC hospitals
electricbills

Electricity Bills
Cowles

Personality and Volunteering
gibbs_normal

Gibbs sampling of the normal sampling posterior
gas2017

Gas bill data
house_prices

House price data
career_1978

Career Trajectory Data for Baseball Players
dsampling

Hypergeometric sampling density
JAGS_script

JAGS Script for Common Models
KDramaData

Korean Drama Ratings
BBS_survey

Trend Estimates of Bird Populations
book_stats

Text Statistics for Books
buffalo_jan

Buffalo snowfall data
football_field_goals

Football Field Goals Dataset
CEsample

Expeditures of U.S. Households
normal_update

Updates a Normal Prior with Normal Data
spinner_bayes

Implements Bayes' rule for a spinner problem
dspinner

Computes likelihoods for spinner outcomes
gibbs_betabin

Gibbs sampling of the beta-binomial distribution
prior_post_plot

Graphs prior and posterior probabilities
gibbs_discrete

Gibbs sampling of a bivariate discrete distribution
prob_plot

Constructs a graph of a probability distribution
sleeping_times

Sleeping Times
testing_prior

Testing prior for two proportions
federalist_word_study

Frequency use of words for Federalist Papers
random_walk

Metropolis sampling of a discrete distribution
two_p_update

Posterior updating of two proportions
two_p_summarize

Summaries of a probability matrix
HWhours5schools

Homework Hours for Five Schools
olympic_butterfly

Winning Times in the 100 Meter Butterfly Race
bar_plot

Bar plot of numeric or character data
pythag2018

Baseball Win-Loss Records
Hamilton_can

Frequency use of "can" for Federalist Papers
beta_data

Simulate random data from a beta curve
beta_prior_post

Plot of Two Beta Curves
beta_interval

Probability Interval for a Beta Curve
beta_draw

Draw a Beta Curve
trout20

Mike Trout Statcast Data
many_normal_plots

Graph of several normal curves
draw_two_p

Plot of Distribution of Two Proportions
increasefont

Increases font size of text
centertitle

Centers title in a ggplot2 graphic
LaborParticipation

U.S. Women Labor Participation
batting_2018

Batting Statistics for 2018 Season
metropolis

Metropolis sampling of a continuous distribution
Madison_can

Frequency use of "can" for Federalist Papers
mcdonalds

Nutritional data for McDonalds Sandwiches
normal_interval

Probability Interval for a Normal Curve
spinner_probs

Display probability distribution for a spinner
normal_quantile

Displays a Quantile of a Normal Curve
spinner_plot

Constructs a spinner
many_spinner_plots

Graphs a collection of spinners
federer_time_to_serve

Times to Serve for Roger Federer
nba_guards

Basketball Shooting Data for Point Guards
spinner_likelihoods

Computes likelihood matrix for many spinners
spinner_data

Simulate random data from a spinner
fire_calls

Fire Calls for Zip Code Areas
movies2017

Movies Sales Data
normal_draw

Draws a Normal Curve
two_players_time_to_serve

Times to Serve for Two Tennis Players
normal_area

Displays Area Under a Normal Curve
marriage_counts

Annual Marriage Counts in Italy
pt100price

Prices of One Carat Diamonds
taxi_fares

Taxi Fares
web_visits

Website tracking data
pt99price

Prices of 0.99 Carat Diamonds
tennis_serve

Tennis Times to Serve
DeathHeartAttackManhattan

Risk-adjusted mortality outcomes for Manhattan hospitals
ChooseBeta

Shiny App to Choose a Beta Curve
ComputerPriceSample

Personal Computer Data