Hi,
I have to do 10,000 linear regression analysis, and the response variable
(RESP) is the same for all independent variables (10,000).
y ~ x[i]
i = 1, ..., 10000
For each analysis must extract the p-value and put them in an orderly
increasing.
I thought an analysis of the type:
ana = numeric(10000)
for(i in 1:10000){
mod = lm(RESP~x[i]
p-value[i] = summary(mod)$coe[2,4]
}
Could someone suggest a reading material or any suggestions, I thank you.
---------------------------------------------
Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de EstatÃstica
Fone: (43) 3371-4346
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.