With its flexible capabilities and open-source platform, R has become a major tool for analyzing detailed, high-quality baseball data. Analyzing Baseball Data with R provides an introduction to R for sabermetricians, baseball enthusiasts, and students interested in exploring the rich sources of baseball data. It equips readers with the necessary skills and software tools to perform all of the analysis steps, from gathering the datasets and entering them in a convenient format to visualizing the data via graphs to performing a statistical analysis.The authors first present an overview of publicly available baseball datasets and a gentle introduction to the type of data structures and exploratory and data management capabilities of R. They also cover the traditional graphics functions in the base package and introduce more sophisticated graphical displays available through the lattice and ggplot2 packages. Much of the book illustrates the use of R through popular sabermetrics topics, including the Pythagorean formula, runs expectancy, career trajectories, simulation of games and seasons, patterns of streaky behavior of players, and fielding measures. Each chapter contains exercises that encourage readers to perform their own analyses using R. All of the datasets and R code used in the text are available online.This book helps readers answer questions about baseball teams, players, and strategy using large, publically available datasets. It offers detailed instructions on downloading the datasets and putting them into formats that simplify data exploration and analysis. Through the book’s various examples, readers will learn about modern sabermetrics and be able to conduct their own baseball analyses.
Published by: Chapman and Hall/CRC | Publication date: 04/05/2016Kindle book details: Kindle Edition, 352 pages
Making Music with Computers: Creative Programming in Python (Chapman & Hall/CRC Textbooks in Computing)
Teach Your Students How to Use Computing to Explore Powerful and Creative IdeasIn the twenty-first century, computers have become indispensable in music making, distribution, performance, and consumption. Making Music with Computers: Creative Programming in Python introduces important concepts and skills necessary to generate music with computers. It interweaves computing pedagogy with musical concepts and creative activities, showing students how to integrate the creativity and design of the arts with the mathematical rigor and formality of computer science.The book provides an introduction to creative software development in the Python programming language. It uses innovative music-creation activities to illustrate introductory computer programming concepts, including data types, algorithms, operators, iteration, lists, functions, and classes. The authors also cover GUIs, event-driven programming, big data, sonification, MIDI programming, client–server programming, recursion, fractals, and complex system dynamics.Requiring minimal musical or programming experience, the text is designed for courses in introductory computer science and computing in the arts. It helps students learn computer programming in a creative context and understand how to build computer music applications. Also suitable for self-study, the book shows musicians and digital music enthusiasts how to write music software and create algorithmic music compositions.Web ResourceA supplementary website (http://jythonMusic.org) provides a music library and other software resources used in the text. The music library is an extension of the jMusic library and incorporates other cross-platform programming tools. The website also offers example course and associated media resources.
Published by: Chapman and Hall/CRC | Publication date: 05/19/2014Kindle book details: Kindle Edition, 502 pages
Applied Survey Data Analysis, Second Edition (Chapman & Hall/CRC Statistics in the Social and Behavioral Sciences)
Highly recommended by the Journal of Official Statistics, The American Statistician, and other journals, Applied Survey Data Analysis, Second Edition provides an up-to-date overview of state-of-the-art approaches to the analysis of complex sample survey data. Building on the wealth of material on practical approaches to descriptive analysis and regression modeling from the first edition, this second edition expands the topics covered and presents more step-by-step examples of modern approaches to the analysis of survey data using the newest statistical software. Designed for readers working in a wide array of disciplines who use survey data in their work, this book continues to provide a useful framework for integrating more in-depth studies of the theory and methods of survey data analysis. An example-driven guide to the applied statistical analysis and interpretation of survey data, the second edition contains many new examples and practical exercises based on recent versions of real-world survey data sets. Although the authors continue to use Stata for most examples in the text, they also continue to offer SAS, SPSS, SUDAAN, R, WesVar, IVEware, and Mplus software code for replicating the examples on the book’s updated website.
Published by: Chapman and Hall/CRC | Publication date: 07/14/2017Kindle book details: Kindle Edition, 582 pages
A How-To Guide for Conducting Common Fisheries-Related Analyses in RIntroductory Fisheries Analyses with R provides detailed instructions on performing basic fisheries stock assessment analyses in the R environment. Accessible to practicing fisheries scientists as well as advanced undergraduate and graduate students, the book demonstrates the flexibility and power of R, offers insight into the reproducibility of script-based analyses, and shows how the use of R leads to more efficient and productive work in fisheries science.The first three chapters present a minimal introduction to the R environment that builds a foundation for the fisheries-specific analyses in the remainder of the book. These chapters help you become familiar with R for basic fisheries analyses and graphics.Subsequent chapters focus on methods to analyze age comparisons, age-length keys, size structure, weight-length relationships, condition, abundance (from capture-recapture and depletion data), mortality rates, individual growth, and the stock-recruit relationship. The fundamental statistical methods of linear regression, analysis of variance (ANOVA), and nonlinear regression are demonstrated within the contexts of these common fisheries analyses. For each analysis, the author completely explains the R functions and provides sufficient background information so that you can confidently implement each method.Web ResourceThe author’s website at http://derekogle.com/IFAR/ includes the data files and R code for each chapter, enabling you to reproduce the results in the book as well as create your own scripts. The site also offers supplemental code for more advanced analyses and practice exercises for every chapter.
Published by: Chapman and Hall/CRC | Publication date: 01/05/2016Kindle book details: Kindle Edition, 337 pages
Statistical Rethinking: A Bayesian Course with Examples in R and Stan (Chapman & Hall/CRC Texts in Statistical Science)
Statistical Rethinking: A Bayesian Course with Examples in R and Stan builds readers’ knowledge of and confidence in statistical modeling. Reflecting the need for even minor programming in today’s model-based statistics, the book pushes readers to perform step-by-step calculations that are usually automated. This unique computational approach ensures that readers understand enough of the details to make reasonable choices and interpretations in their own modeling work.The text presents generalized linear multilevel models from a Bayesian perspective, relying on a simple logical interpretation of Bayesian probability and maximum entropy. It covers from the basics of regression to multilevel models. The author also discusses measurement error, missing data, and Gaussian process models for spatial and network autocorrelation.By using complete R code examples throughout, this book provides a practical foundation for performing statistical inference. Designed for both PhD students and seasoned professionals in the natural and social sciences, it prepares them for more advanced or specialized statistical modeling. Web ResourceThe book is accompanied by an R package (rethinking) that is available on the author’s website and GitHub. The two core functions (map and map2stan) of this package allow a variety of statistical models to be constructed from standard model formulas.
Published by: Chapman and Hall/CRC | Publication date: 01/03/2018Kindle book details: Kindle Edition, 487 pages
An Introduction to Partial Differential Equations with MATLAB, Second Edition (Chapman & Hall/CRC Applied Mathematics & Nonlinear Science)
An Introduction to Partial Differential Equations with MATLAB®, Second Edition illustrates the usefulness of PDEs through numerous applications and helps students appreciate the beauty of the underlying mathematics. Updated throughout, this second edition of a bestseller shows students how PDEs can model diverse problems, including the flow of heat, the propagation of sound waves, the spread of algae along the ocean’s surface, the fluctuation in the price of a stock option, and the quantum mechanical behavior of a hydrogen atom. Suitable for a two-semester introduction to PDEs and Fourier series for mathematics, physics, and engineering students, the text teaches the equations based on method of solution. It provides both physical and mathematical motivation as much as possible. The author treats problems in one spatial dimension before dealing with those in higher dimensions. He covers PDEs on bounded domains and then on unbounded domains, introducing students to Fourier series early on in the text. Each chapter’s prelude explains what and why material is to be covered and considers the material in a historical setting. The text also contains many exercises, including standard ones and graphical problems using MATLAB. While the book can be used without MATLAB, instructors and students are encouraged to take advantage of MATLAB’s excellent graphics capabilities. The MATLAB code used to generate the tables and figures is available in an appendix and on the author’s website.
Published by: Chapman and Hall/CRC | Publication date: 04/19/2016Kindle book details: Kindle Edition, 683 pages
Stochastic Processes: An Introduction, Third Edition (Chapman & Hall/CRC Texts in Statistical Science)
Based on a well-established and popular course taught by the authors over many years, Stochastic Processes: An Introduction, Third Edition, discusses the modelling and analysis of random experiments, where processes evolve over time. The text begins with a review of relevant fundamental probability. It then covers gambling problems, random walks, and Markov chains. The authors go on to discuss random processes continuous in time, including Poisson, birth and death processes, and general population models, and present an extended discussion on the analysis of associated stationary processes in queues. The book also explores reliability and other random processes, such as branching, martingales, and simple epidemics. A new chapter describing Brownian motion, where the outcomes are continuously observed over continuous time, is included. Further applications, worked examples and problems, and biographical details have been added to this edition. Much of the text has been reworked. The appendix contains key results in probability for reference.This concise, updated book makes the material accessible, highlighting simple applications and examples. A solutions manual with fully worked answers of all end-of-chapter problems, and Mathematica® and R programs illustrating many processes discussed in the book, can be downloaded from crcpress.com.
Published by: Chapman and Hall/CRC | Publication date: 10/30/2017Kindle book details: Kindle Edition, 267 pages
No description available
Published by: CRC Press | Publication date: 04/17/2007Kindle book details: Kindle Edition, 561 pages
blogdown: Creating Websites with R Markdown provides a practical guide for creating websites using the blogdown package in R. In this book, we show you how to use dynamic R Markdown documents to build static websites featuring R code (or other programming languages) with automatically rendered output such as graphics, tables, analysis results, and HTML widgets. The blogdown package is also suitable for technical writing with elements such as citations, footnotes, and LaTeX math. This makes blogdown an ideal platform for any website designed to communicate information about data science, data analysis, data visualization, or R programming. Note that blogdown is not just for blogging or sites about R; it can also be used to create general-purpose websites. By default, blogdown uses Hugo, a popular open-source static website generator, which provides a fast and flexible way to build your site content to be shared online. Other website generators like Jekyll and Hexo are also supported.In this book, you will learn how to:
- Build a website using the blogdown package;
- Create blog posts and other website content as dynamic documents that can be easily edited and updated;
- Customize Hugo templates to suit your site’s needs;
- Publish your website online;
- Migrate your existing websites to blogdown and Hugo.
Published by: Chapman and Hall/CRC | Publication date: 12/01/2017Kindle book details: Kindle Edition, 188 pages
An Essential Reference for Intermediate and Advanced R ProgrammersAdvanced R presents useful tools and techniques for attacking many types of R programming problems, helping you avoid mistakes and dead ends. With more than ten years of experience programming in R, the author illustrates the elegance, beauty, and flexibility at the heart of R.The book develops the necessary skills to produce quality code that can be used in a variety of circumstances. You will learn:
- The fundamentals of R, including standard data types and functions
- Functional programming as a useful framework for solving wide classes of problems
- The positives and negatives of metaprogramming
- How to write fast, memory-efficient code
Published by: Chapman and Hall/CRC | Publication date: 09/25/2014Kindle book details: Kindle Edition, 476 pages