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) <doi:10.1287/opre.45.1.14> 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
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
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

Deriv  
Symbolic Differentiation
R-based solution for symbolic differentiation. It admits user-defined function as well as function s ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
buildr  
Organize & Run Build Scripts Comfortably
Working with reproducible reports or any other similar projects often require to run the script that ...
Download / Learn more Package Citations See dependency  
bulletr  
Algorithms for Matching Bullet Lands
Analyze bullet lands using nonparametric methods. We provide a reading routine for x3p files (see &l ...
Download / Learn more Package Citations See dependency  
lgarch  
Simulation and Estimation of Log-GARCH Models
Simulation and estimation of univariate and multivariate log-GARCH models. The main functions of the ...
Download / Learn more Package Citations See dependency  

22,086

R Packages

187,731

Dependencies

55,244

Author Associations

22,087

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns