(org-show-animate '("Quantitative Methods, Part-II" "Introduction to Statistical Inference" "Vikas Rawal" "Prachi Bansal" "" "" ""))
$Standard.error = \frac{σ}{\sqrt{n}}$
Variable | Value |
---|---|
Standard deviation of population ( |
130 |
Standard errors of samples of size | |
5 | 58 |
20 | 29 |
50 | 18 |
200 | 9 |
$H0: μ = 0$
$Ha: μ ≠ 0$
readRDS("plfsdata/plfsacjdata.rds")->worker
worker$standardwage->worker$wage
worker->t9
t.test(t9$wage)
$H0: μwomen = μmen$
$Ha: μwomen ≠ μmen$
subset(worker,sex!=3)->t9
factor(t9$sex)->t9$sex
t.test(wage~sex,data=t9)
$H0: pwomen = pmen$
$Ha: pwomen ≠ pmen$
subset(worker,sex!=3)->t9
as.numeric(t9$gen_edu_level)->t9$gen_edu_level
factor(t9$sex)->t9$sex
t9[gen_edu_level>=8,.(schooled=length(fsu)),.(sex)]->a
t9[,.(all=length(fsu)),.(sex)]->b
prop.test(a$schooled,b$all)
$H0: σwomen2 = σmen2$
$Ha: σwomen2 ≠ σmen2$
subset(worker,sex!=3)->t9
factor(t9$sex)->t9$sex
var.test(wage~sex,data=t9)