results output raw list

master
Vikas Rawal 6 years ago
parent ce15b5fcb1
commit 5ebc8c1d27

@ -5,7 +5,7 @@
#+NAME: sassociation1 #+NAME: sassociation1
#+BEGIN_SRC R :results output raw #+BEGIN_SRC R :results output raw list
library(data.table) library(data.table)
readRDS("plfsdata/plfsacjdata.rds")->worker readRDS("plfsdata/plfsacjdata.rds")->worker
worker$standardwage->worker$wage worker$standardwage->worker$wage
@ -19,29 +19,24 @@
#+end_src #+end_src
#+RESULTS: sassociation1 #+RESULTS: sassociation1
- Pearson's product-moment correlation
Pearson's product-moment correlation - data: worker$wage and worker$years_edu
- t = 35.998, df = 37633, p-value < 0.00000000000000022
data: worker$wage and worker$years_edu - alternative hypothesis: true correlation is not equal to 0
t = 35.998, df = 37633, p-value < 0.00000000000000022 - 95 percent confidence interval:
alternative hypothesis: true correlation is not equal to 0 - 0.1726625 0.1921962
95 percent confidence interval: - sample estimates:
0.1726625 0.1921962 - cor
sample estimates: - 0.1824473
cor - Pearson's product-moment correlation
0.1824473 - data: worker$wage and worker$age
- t = 9.3777, df = 37633, p-value < 0.00000000000000022
Pearson's product-moment correlation - alternative hypothesis: true correlation is not equal to 0
- 95 percent confidence interval:
data: worker$wage and worker$age - 0.03819950 0.05835859
t = 9.3777, df = 37633, p-value < 0.00000000000000022 - sample estimates:
alternative hypothesis: true correlation is not equal to 0 - cor
95 percent confidence interval: - 0.04828396
0.03819950 0.05835859
sample estimates:
cor
0.04828396
#+NAME: sassociation2 #+NAME: sassociation2
#+BEGIN_SRC R :results output raw #+BEGIN_SRC R :results output raw

Loading…
Cancel
Save