Phu Xuan University Library
Introduction to Statistics with R

External

Introduction to Statistics with R

Author
Edward Chi
Publisher
Cerritos College
Source
LibreTexts
Language
EN
Category
Basic Sciences
Contents· 253 sections
  1. 01: Basics
  2. 1.01: Introduction
  3. 1.1.01: What Is Statistical Thinking
  4. 1.1.02: Dealing with Statistics Anxiety
  5. 1.1.03: What Can Statistics Do for Us
  6. 1.1.04: The Big Ideas of Statistics
  7. 1.1.05: Causality and Statistics
  8. 1.02: Working with Data
  9. 1.2.01: What Are Data
  10. 1.2.02: Data Basics
  11. 1.2.03: Scales of Measurement
  12. 1.2.04: What Makes a Good Measurement
  13. 1.2.05: Overview of Data Collection Principles
  14. 1.2.06: Observational Studies and Sampling Strategies
  15. 1.2.07: Experiments
  16. 1.2.08: How Not to Do Statistics
  17. 1.2.09: Exercises
  18. 02: Introduction to R
  19. 2.01: Why Programming Is Hard to Learn
  20. 2.02: Using RStudio
  21. 2.03: Installing R
  22. 2.04: Getting Started with R
  23. 2.05: Variables
  24. 2.06: Functions
  25. 2.07: Letting RStudio Help You with Your Commands
  26. 2.08: Vectors
  27. 2.09: Math with Vectors
  28. 2.10: Data Frames
  29. 2.11: Using R Libraries
  30. 2.12: Installing and Loading Packages
  31. 2.13: Using Comments
  32. 2.14: Navigating the File System
  33. 2.15: Loading and Saving Data
  34. 2.16: Useful Things to Know about Variables
  35. 2.17: Factors
  36. 2.18: Data frames
  37. 2.19: Suggested Readings and Videos
  38. 03: Summarizing Data Visually
  39. 3.01: Qualitative Data
  40. 3.02: Quantitative Data
  41. 3.03: Other Graphical Representations of Data
  42. 3.04: Statistical Literacy
  43. 04: Summarizing Data Visually Using R
  44. 4.01: An Overview of R Graphics
  45. 4.02: An Introduction to Plotting
  46. 4.03: Histograms
  47. 4.04: Stem and Leaf Plots
  48. 4.05: Scatterplots
  49. 4.06: Bar Graphs
  50. 4.07: Saving Image Files Using R and Rstudio
  51. 4.08: Summary
  52. 05: Summarizing Data With Numbers
  53. 5.01: Central Tendency
  54. 5.02: What is Central Tendency
  55. 5.03: Measures of Central Tendency
  56. 5.04: Median and Mean
  57. 5.05: Measures of the Location of the Data
  58. 5.06: Additional Measures
  59. 5.07: Comparing Measures
  60. 5.08: Variability
  61. 5.09: Measures of Variability
  62. 5.10: Shapes of Distributions
  63. 5.11: Effects of Linear Transformations
  64. 5.12: Variance Sum Law I - Uncorrelated Variables
  65. 5.13: Statistical Literacy
  66. 5.14: Case Study- Using Stents to Prevent Strokes
  67. 5.15: Measures of the Location of the Data (Exercises)
  68. 5.E: Summarizing Distributions (Exercises)
  69. 06: Describing Data With Numbers Using R
  70. 6.01: Measures of Central Tendency
  71. 6.02: Measures of Variability
  72. 6.03: Skew and Kurtosis
  73. 6.04: Getting an Overall Summary of a Variable
  74. 6.05: Descriptive Statistics Separately for each Group
  75. 6.06: Standard Scores
  76. 6.07: Epilogue- Good Descriptive Statistics Are Descriptive
  77. 07: Introduction to Probability
  78. 7.01: How are Probability and Statistics Different
  79. 7.02: What Does Probability Mean
  80. 7.03: Basic Probability Theory
  81. 7.04: The Binomial Distribution
  82. 7.05: The Normal Distribution
  83. 7.06: Other Useful Distributions
  84. 7.07: Summary
  85. 7.08: Statistical Literacy
  86. 7.E: Probability (Exercises)
  87. 08: Estimating Unknown Quantities from a Sample
  88. 8.01: Samples Populations and Sampling
  89. 8.02: The Law of Large Numbers
  90. 8.03: Sampling Distributions and the Central Limit Theorem
  91. 8.04: Estimating Population Parameters
  92. 8.05: Estimating a Confidence Interval
  93. 8.06: Summary
  94. 8.07: Statistical Literacy
  95. 8.E: Estimation (Exercises)
  96. 09: Hypothesis Testing
  97. 9.01: A Menagerie of Hypotheses
  98. 9.02: Two Types of Errors
  99. 9.03: Test Statistics and Sampling Distributions
  100. 9.04: Making Decisions
  101. 9.05: The p value of a test
  102. 9.06: Reporting the Results of a Hypothesis Test
  103. 9.07: Running the Hypothesis Test in Practice
  104. 9.08: Effect Size Sample Size and Power
  105. 9.09: Some Issues to Consider
  106. 9.10: Misconceptions of Hypothesis Testing
  107. 9.11: Summary
  108. 9.12: Statistical Literacy
  109. 9.13: Logic of Hypothesis Testing (Exercises)
  110. 10: Categorical Data Analysis
  111. 10.01: The 2 Goodness-of-fit Test
  112. 10.02: The 2 test of independence (or association)
  113. 10.03: The Continuity Correction
  114. 10.04: Effect Size
  115. 10.05: Assumptions of the Test(s)
  116. 10.06: The Most Typical Way to Do Chi-square Tests in R
  117. 10.07: The Fisher Exact Test
  118. 10.08: The McNemar Test
  119. 10.09: Whats the Difference Between McNemar and Independence
  120. 10.10: Summary
  121. 10.11: Statistical Literacy
  122. 10.12: Chi Square (Exercises)
  123. 11: Comparing Two Means
  124. 11.01: The one-sample z-test
  125. 11.02: The One-sample t-test
  126. 11.03: The Independent Samples t-test (Student Test)
  127. 11.04: The Independent Samples t-test (Welch Test)
  128. 11.05: The Paired-samples t-test
  129. 11.06: One Sided Tests
  130. 11.07: Using the t.test() Function
  131. 11.08: Effect Size
  132. 11.09: Checking the Normality of a Sample
  133. 11.10: Testing Non-normal Data with Wilcoxon Tests
  134. 11.11: Summary
  135. 11.12: Statistical Literacy
  136. 11.E: Tests of Means (Exercises)
  137. 12: Comparing Several Means (One-way ANOVA)
  138. 12.01: Summary
  139. 12.02: An Illustrative Data Set
  140. 12.03: How ANOVA Works
  141. 12.04: Running an ANOVA in R
  142. 12.05: Effect Size
  143. 12.06: Multiple Comparisons and Post Hoc Tests
  144. 12.07: Assumptions of One-way ANOVA
  145. 12.08: Checking the Homogeneity of Variance Assumption
  146. 12.09: Removing the Homogeneity of Variance Assumption
  147. 12.10: Checking the Normality Assumption
  148. 12.11: Removing the Normality Assumption
  149. 12.12: On the Relationship Between ANOVA and the Student t Test
  150. 13: Introduction to Linear Regression
  151. 13.01: Prelude to Linear Regression
  152. 13.02: Line Fitting Residuals and Correlation
  153. 13.03: Fitting a Line by Least Squares Regression
  154. 13.04: Types of Outliers in Linear Regression
  155. 13.05: Inference for Linear Regression
  156. 13.06: Exercises
  157. 14: Multiple and Logistic Regression
  158. 14.01: Introduction to Multiple Regression
  159. 14.02: Model Selection
  160. 14.03: Checking Model Assumptions using Graphs
  161. 14.04: Introduction to Logistic Regression
  162. 14.05: Exercises
  163. 14.06: Statistical Literacy
  164. 14.E: Regression (Exercises)
  165. 15: Regression in R
  166. 15.01: What Is a Linear Regression Model
  167. 15.02: Estimating a Linear Regression Model
  168. 15.03: Multiple Linear Regression
  169. 15.04: Quantifying the Fit of the Regression Model
  170. 15.05: Hypothesis Tests for Regression Models
  171. 15.06: Correlations
  172. 15.07: Handling Missing Values
  173. 15.08: Testing the Significance of a Correlation
  174. 15.09: Regarding Regression Coefficients
  175. 15.10: Assumptions of Regression
  176. 15.11: Model Checking
  177. 15.12: Model Selection
  178. 15.13: Summary
  179. 16: Research Design
  180. 16.01: Scientific Method
  181. 16.02: Measurement
  182. 16.03: Data Collection
  183. 16.04: Sampling Bias
  184. 16.05: Experimental Designs
  185. 16.06: Causation
  186. 16.07: Statistical Literacy
  187. 16.E: Research Design (Exercises)
  188. 17: Preparing Datasets and Other Pragmatic Matters
  189. 17.01: Tabulating and Cross-tabulating Data
  190. 17.02: Transforming and Recoding a Variable
  191. 17.03: A few More Mathematical Functions and Operations
  192. 17.04: Extracting a Subset of a Vector
  193. 17.05: Extracting a Subset of a Data Frame
  194. 17.06: Sorting Flipping and Merging Data
  195. 17.07: Reshaping a Data Frame
  196. 17.08: Working with Text
  197. 17.09: Reading Unusual Data Files
  198. 17.10: Coercing Data from One Class to Another
  199. 17.11: Other Useful Data Structures
  200. 17.12: Miscellaneous Topics
  201. 17.13: Summary
  202. 18: Basic Programming
  203. 18.01: Scripts
  204. 18.02: Loops
  205. 18.03: Conditional Statements
  206. 18.04: Writing Functions
  207. 18.05: Implicit Loops
  208. 18.06: Summary
  209. 19: Bayesian Statistics
  210. 19.01: Probabilistic Reasoning by Rational Agents
  211. 19.02: Bayesian Hypothesis Tests
  212. 19.03: Why Be a Bayesian
  213. 19.04: Evidentiary Standards You Can Believe
  214. 19.05: The p-value Is a Lie.
  215. 19.06: Bayesian Analysis of Contingency Tables
  216. 19.07: Bayesian t-tests
  217. 19.08: Bayesian Regression
  218. 19.09: Bayesian ANOVA
  219. 19.10: Summary
  220. 20: Case Studies and Data
  221. 20.01: Angry Moods
  222. 20.02: Flatulence
  223. 20.03: Physicians Reactions
  224. 20.04: Teacher Ratings
  225. 20.05: Diet and Health
  226. 20.06: Smiles and Leniency
  227. 20.07: Animal Research
  228. 20.08: ADHD Treatment
  229. 20.09: Weapons and Aggression
  230. 20.10: SAT and College GPA
  231. 20.11: Stereograms
  232. 20.12: Driving
  233. 20.13: Stroop Interference
  234. 20.14: TV Violence
  235. 20.15: Obesity and Bias
  236. 20.16: Shaking and Stirring Martinis
  237. 20.17: Adolescent Lifestyle Choices
  238. 20.18: Chocolate and Body Weight
  239. 20.19: Bedroom TV and Hispanic Children
  240. 20.20: Weight and Sleep Apnea
  241. 20.21: Misusing SEM
  242. 20.22: School Gardens and Vegetable Consumption
  243. 20.23: TV and Hypertension
  244. 20.24: Dietary Supplements
  245. 20.25: Young People and Binge Drinking
  246. 20.26: Sugar Consumption in the US Diet
  247. 20.27: Nutrition Information Sources and Older Adults
  248. 20.28: Mind Set - Exercise and the Placebo Effect
  249. 20.29: Predicting Present and Future Affect
  250. 20.30: Exercise and Memory
  251. 20.31: Parental Recognition of Child Obesity
  252. 20.32: Educational Attainment and Racial Ethnic and Gender Disparity
  253. 21: Math Review for Introductory Statistics