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 26 Mar. 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
02/2402/2502/2602/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/25Downloads for runexp0123456789101112TrendBars

Today's Hot Picks in Authors and Packages

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  
fPortfolio  
Rmetrics - Portfolio Selection and Optimization
A collection of functions to optimize portfolios and to analyze them from different points of view. ...
Download / Learn more Package Citations See dependency  
DySS  
Dynamic Screening Systems
In practice, we will encounter problems where the longitudinal performance of processes needs to be ...
Download / Learn more Package Citations See dependency  
Maintainer: Lu You (view profile)
MGL  
Module Graphical Lasso
An aggressive dimensionality reduction and network estimationtechnique for a high-dimensiona ...
Download / Learn more Package Citations See dependency  
sAIC  
Akaike Information Criterion for Sparse Estimation
Computes the Akaike information criterion for the generalized linear models (logistic regression, Po ...
Download / Learn more Package Citations See dependency  
photobiologyPlants  
Plant Photobiology Related Functions and Data
Provides functions for quantifying visible (VIS) and ultraviolet (UV) radiation in relation to the ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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