Work with large data sets, create statistical models, and make predictions with statistical methods using the Swift programming language. The variety of problems that can be solved using statistical methods range in fields from financial management to machine learning to quality control and much more. Those who possess knowledge of statistical analysis become highly sought after candidates for companies worldwide.
Starting with an introduction to statistics and probability theory, you will learn core concepts to analyze your data''s distribution. You''ll get an introduction to random variables, how to work with them, and how to leverage their properties in computations. On top of the mathematics, you''ll learn several essential features of the Swift language that significantly reduce friction when working with large data sets. These functionalities will prove especially useful when working with multivariate data, which applies
Table of ContentsChapter 1: Swift Primer
• Introduction to Swift and its pros when working with large data sets
• Provided data sets and how to load them using the Decodable protocol
• Higher-Order Functions (map, filter, reduce, apply)
Chapter 2: Introduction to Probability and Random Variables
• What is a random variable?
• Sample spaces
• Laws and axioms of probability
• Variable Independence
• Conditional probability
Chapter 3: Distributions and Random Numbers
• Mass and density functions
• Discrete distributions
• Discrete uniform distribution
• Bernoulli trials
• Binomial distribution
• Poisson distribution
• Continuous distributions
• Continuous uniform distribution
• Exponential distribution
• Normal distribution
• Implement a random number generator that samples from a given distribution
Chapter 4: Predicting House Sale Prices with Linear Regression
• Central tendency measures
• Variance measures
• Association measures
• Stratification of data
• Linear regression
Chapter 5: Hypothesis Testing
• T Testing
• Null and Alternative Hypotheses
• P-value
• Determining sample sizes
Chapter 6: Data Compression Using Statistical Methods
• Measurement scales
• Calculate the distribution of example data
• Compute a Huffman Tree
• Encode the original data in a smaller package
• Decode the compressed data
Chapter 7: Movie Recommendations Using Clustering
• Data transformation
• Similarity measurements
• Simple movie recommendation system
Chapter 8: Bringing It All Together
• Applying to new, real-world projects
• Building your data intuition