# NOT RUN {
set.seed(9992722)
## this is how the 'simulatedDat' data set in this package generated
simulatedDat=sim.dat(G=5000)
## this is how the 'simulatedSubex' object in this package generated
simulatedSubex=subex(simulatedDat,balanced=FALSE,max.reps=Inf,plotit=FALSE)
plot(simulatedSubex)
data(simulatedSubex); print(simulatedSubex)
## parametric, nonparametric, semiparametric estimate of
## noncentrality parameter distribution from t-statistics
(npfit=nparncpt(tstat=simulatedTstat, df=8, plotit=FALSE));
(pfit=parncpt(tstat=simulatedTstat, df=8, zeromean=FALSE));
(pfit0=parncpt(tstat=simulatedTstat, df=8, zeromean=TRUE));
(spfit=sparncpt(npfit,pfit));
# }
Run the code above in your browser using DataLab