This video walks you through constructing both Z and T confidence intervals for a population mean: known and unknown population standard deviations & raw data.
You'll learn:
• How to calculate the standard error of the mean
• The difference between Z and T distributions
• Using R functions like qnorm and qt to find critical values
• Building confidence intervals with code examples
• Utilizing R's built-in t.test function for quick analysis
Z-test in R Studio: https://youtu.be/qxUmWo304fo