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]
All associated links for this package
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 21 Dec. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

condGEE  
Parameter Estimation in Conditional GEE for Recurrent Event Gap Times
Solves for the mean parameters, the variance parameter, and their asymptotic variance in a condition ...
Download / Learn more Package Citations See dependency  
helda  
Preprocess Data and Get Better Insights from Machine Learning Models
The main focus is on preprocessing and data visualization of machine learning models performances.So ...
Download / Learn more Package Citations See dependency  
SEIRfansy  
Extended Susceptible-Exposed-Infected-Recovery Model
Extended Susceptible-Exposed-Infected-Recovery Model for handling high false negative rate and symp ...
Download / Learn more Package Citations See dependency  
batteryreduction  
An R Package for Data Reduction by Battery Reduction
Battery reduction is a method used in data reduction. It uses Gram-Schmidt orthogonal rotations to f ...
Download / Learn more Package Citations See dependency  
CIFsmry  
Weighted summary of cumulative incidence functions
Estimate of cumulative incidence function in two samples. Provide weighted summary statistics based ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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