Displaying 3 results from an estimated 3 matches for "npadj".
Did you mean:
padj
2017 Jul 13
0
How to make a figure plotting p-values by range of different adjustment values?
...Kirsten,
Perhaps this will help:
set.seed(3)
kmdf<-data.frame(group=rep(1:4,each=20),
prop=c(runif(20,0.25,1),runif(20,0.2,0.92),
runif(20,0.15,0.84),runif(20,0.1,0.77)))
km.glm<-glm(prop~group,kmdf,family=quasibinomial(link="logit"))
summary(km.glm)
pval<-0.00845
padjs<-NA
npadj<-1
# assume you have five comparisons in this family
for(method in p.adjust.methods) {
padjs[npadj]<-p.adjust(pval,method=method,n=5)
npadj<-npadj+1
}
plot(padjs,xaxt="n",main="P plot",xlab="Method",ylab="adjusted p values")
abline(h=0.05,col="...
2017 Jul 13
1
How to make a figure plotting p-values by range of different adjustment values?
...ed(3)
> kmdf<-data.frame(group=rep(1:4,each=20),
> prop=c(runif(20,0.25,1),runif(20,0.2,0.92),
> runif(20,0.15,0.84),runif(20,0.1,0.77)))
> km.glm<-glm(prop~group,kmdf,family=quasibinomial(link="logit"))
> summary(km.glm)
> pval<-0.00845
> padjs<-NA
> npadj<-1
> # assume you have five comparisons in this family
> for(method in p.adjust.methods) {
> padjs[npadj]<-p.adjust(pval,method=method,n=5)
> npadj<-npadj+1
> }
> plot(padjs,xaxt="n",main="P plot",xlab="Method",ylab="adjusted p values&...
2017 Jul 12
2
How to make a figure plotting p-values by range of different adjustment values?
Hi all,
Thank you for taking the time to read my message. I'm trying to make a
figure that plots p-values by a range of different adjustment values.
(Using the **logit** function in package **car**)
My Statistical analyses were conducted on probability estimates ranging
from 0% to 100%. As it's not ideal to run linear models on percentages that
are bounded between 0 and 1, these