Other packages > Find by keyword >

runexp  

Softball Run Expectancy using Markov Chains and Simulation
View on CRAN: Click here


Download and install runexp package within the R console
Install from CRAN:
install.packages("runexp")

Install from Github:
library("remotes")
install_github("cran/runexp")

Install by package version:
library("remotes")
install_version("runexp", "0.2.1")



Attach the package and use:
library("runexp")
Maintained by
Annie Sauer
[Scholar Profile | Author Map]
First Published: 2021-02-15
Latest Update: 2021-03-22
Description:
Implements two methods of estimating runs scored in a softball scenario: (1) theoretical expectation using discrete Markov chains and (2) empirical distribution using multinomial random simulation. Scores are based on player-specific input probabilities (out, single, double, triple, walk, and homerun). Optional inputs include probability of attempting a steal, probability of succeeding in an attempted steal, and an indicator of whether a player is "fast" (e.g. the player could stretch home). These probabilities may be calculated from common player statistics that are publicly available on team's webpages. Scores are evaluated based on a nine-player lineup and may be used to compare lineups, evaluate base scenarios, and compare the offensive potential of individual players. Manuscript forthcoming. See Bukiet & Harold (1997) for implementation of discrete Markov chains.
How to cite:
Annie Sauer (2021). runexp: Softball Run Expectancy using Markov Chains and Simulation. R package version 0.2.1, https://cran.r-project.org/web/packages/runexp. Accessed 15 Apr. 2025.
Previous versions and publish date:
0.1.0 (2021-02-15 11:40), 0.2.0 (2021-03-01 18:30)
Other packages that cited runexp R package
View runexp citation profile
Other R packages that runexp depends, imports, suggests or enhances
Complete documentation for runexp
Functions, R codes and Examples using the runexp R package
Some associated functions: chain . plot.chain . prob_calc . runexp-package . scrape . sim . wku . 
Some associated R codes: data.R . markov.R . prob_calc.R . runexp-package.R . scrape.R . setup.R . sim.R . sim_plot_funcs.R . sim_resultMovement_func.R .  Full runexp package functions and examples
Downloads during the last 30 days
03/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/14Downloads for runexp0246810121416182022242628TrendBars

Today's Hot Picks in Authors and Packages

StructFDR  
False Discovery Control Procedure Integrating the Prior Structure Information
Perform more powerful false discovery control (FDR) for microbiome data, taking into account the pri ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
SAutomata  
Inference and Learning in Stochastic Automata
Machine learning provides algorithms that can learn from data and make inferences or predictions. St ...
Download / Learn more Package Citations See dependency  
ktsolve  
Configurable Function for Solving Families of Nonlinear Equations
This is designed for use with an arbitrary set of equations with an arbitrary set of unknowns. The ...
Download / Learn more Package Citations See dependency  
bSims  
Agent-Based Bird Point Count Simulator
A highly scientific and utterly addictive bird point count simulator to test statistical assumptio ...
Download / Learn more Package Citations See dependency  
mipplot  
An Open-Source Tool for Visualization of Climate Mitigation Scenarios
Generic functions to produce area/bar/box/line plots of data following IAMC (Integrated Assessment M ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA