You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9.8 KiB
9.8 KiB
Quantitative Methods
Title slide slide
(org-show-animate '("Quantitative Methods, Part-II" "Introduction to Statistical Inference" "Vikas Rawal" "Prachi Bansal" "" "" ""))
Sampling Distributions
Sampling Distributions slide
Sampling Distributions slide
- $Standard.error = \frac{\sigma}{\sqrt{mean}}$
Variable | Value |
---|---|
Standard deviation of population ($\sigma$) | 130 |
Standard errors of samples of size | |
5 | 58 |
20 | 29 |
50 | 18 |
200 | 9 |
Introduction to Hypothesis Testing
Transforming the Distribution to Standard Normal slide
Distribution of sample mean with unknown population variance slide
t-test
readRDS("plfsdata/plfsacjdata.rds")->worker
worker$standardwage->worker$wage
t.test(worker$wage)
One Sample t-test data: worker$wage t = 432.99, df = 37634, p-value < 0.00000000000000022 alternative hypothesis: true mean is not equal to 0 95 percent confidence interval: 289.7136 292.3484 sample estimates: mean of x 291.031
subset(worker,sex!=3)->t9
factor(t9$sex)->t9$sex
t.test(wage~sex,data=t9)
Welch Two Sample t-test data: wage by sex t = 79.02, df = 13483, p-value < 0.00000000000000022 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: 104.6563 109.9805 sample estimates: mean in group 1 mean in group 2 310.8974 203.5790