Full_Name: Madeleine Yeh
Version: 1.9.1
OS: AIX 5.2
Submission from: (NULL) (151.121.225.1)
After compiling R-1.9.1 on AIX 5.2 using the IBM cc compiler, I ran the
checks. One of them failed. Here is the output from running the check solo.
root@svweb:/fsapps/test/build/R/1.9.1/R-1.9.1/tests/Examples:
# ../../bin/R --vanilla < stats-Ex.R
R : Copyright 2004, The R Foundation for Statistical Computing
Version 1.9.1 (2004-06-21), ISBN 3-900051-00-3
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.
### * <HEADER>
###
attach(NULL, name = "CheckExEnv")
assign(".CheckExEnv", as.environment(2), pos = length(search())) # base
## add some hooks to label plot pages, at least for base graphics
.newplot.hook <- function()
x <- 1:10
## Chi-squared(df = 2) is a special exponential distribution
all.equal(dchisq(x, df=2), dexp(x, 1/2))
[1] TRUE
all.equal(pchisq(x, df=2), pexp(x, 1/2))
[1] TRUE
## non-central RNG -- df=0 is ok for ncp > 0: Z0 has point mass at 0!
Z0 <- rchisq(100, df = 0, ncp = 2.)
graphics::stem(Z0)
The decimal point is at the |
0 | 0000000000000000000000000000000000000013356778899
1 | 0001333456678888899
2 | 0011444467
3 | 00233345888
4 | 111246
5 |
6 |
7 | 178
8 | 23
## Not run:
##D ## visual testing
##D ## do P-P plots for 1000 points at various degrees of freedom
##D L <- 1.2; n <- 1000; pp <- ppoints(n)
##D op <- par(mfrow = c(3,3), mar= c(3,3,1,1)+.1, mgp= c(1.5,.6,0),
##D oma = c(0,0,3,0))
##D for(df in 2^(4*rnorm(9))) {
##D plot(pp, sort(pchisq(rr <- rchisq(n,df=df, ncp=L), df=df, ncp=L)),
##D ylab="pchisq(rchisq(.),.)", pch=".")
##D mtext(paste("df = ",formatC(df, digits = 4)), line= -2, adj=0.05)
##D abline(0,1,col=2)
##D }
##D mtext(expression("P-P plots : Noncentral "*
##D chi^2 *"(n=1000, df=X, ncp= 1.2)"),
##D cex = 1.5, font = 2, outer=TRUE)
##D par(op)
## End(Not run)
cleanEx(); ..nameEx <- "DNase"
### * DNase
flush(stderr()); flush(stdout())
### Name: DNase
### Title: Elisa assay of DNase
### Aliases: DNase
### Keywords: datasets
### ** Examples
data(DNase)
coplot(density ~ conc | Run, data = DNase,
+ show = FALSE, type = "b")
coplot(density ~ log(conc) | Run, data = DNase,
+ show = FALSE, type = "b")
## fit a representative run
fm1 <- nls(density ~ SSlogis( log(conc), Asym, xmid, scal ),
+ data = DNase, subset = Run == 1)
## compare with a four-parameter logistic
fm2 <- nls(density ~ SSfpl( log(conc), A, B, xmid, scal ),
+ data = DNase, subset = Run == 1)
summary(fm2)
Formula: density ~ SSfpl(log(conc), A, B, xmid, scal)
Parameters:
Estimate Std. Error t value Pr(>|t|)
A -0.007897 0.017200 -0.459 0.654
B 2.377239 0.109516 21.707 5.35e-11 ***
xmid 1.507403 0.102080 14.767 4.65e-09 ***
scal 1.062579 0.056996 18.643 3.16e-10 ***
---
Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1
Residual standard error: 0.01981 on 12 degrees of freedom
Correlation of Parameter Estimates:
A B xmid
B -0.6375
xmid -0.5176 0.9811
scal -0.8030 0.9266 0.8796
anova(fm1, fm2)
Analysis of Variance Table
Model 1: density ~ SSlogis(log(conc), Asym, xmid, scal)
Model 2: density ~ SSfpl(log(conc), A, B, xmid, scal)
Res.Df Res.Sum Sq Df Sum Sq F value Pr(>F)
1 13 0.0047896
2 12 0.0047073 1 0.0000823 0.2098 0.6551
cleanEx(); ..nameEx <- "Fdist"
### * Fdist
flush(stderr()); flush(stdout())
### Name: FDist
### Title: The F Distribution
### Aliases: FDist df pf qf rf
### Keywords: distribution
### ** Examples
## the density of the square of a t_m is 2*dt(x, m)/(2*x)
# check this is the same as the density of F_{1,m}
x <- seq(0.001, 5, len=100)
all.equal(df(x^2, 1, 5), dt(x, 5)/x)
Call:
factanal(factors = 1, covmat = Harman23.cor)
Uniquenesses:
height arm.span forearm lower.leg weight
0.158 0.135 0.190 0.187 0.760
bitro.diameter chest.girth chest.width
0.829 0.877 0.801
Loadings:
Factor1
height 0.918
arm.span 0.930
forearm 0.900
lower.leg 0.902
weight 0.490
bitro.diameter 0.413
chest.girth 0.351
chest.width 0.446
Factor1
SS loadings 4.064
Proportion Var 0.508
Test of the hypothesis that 1 factor is sufficient.
The chi square statistic is 611.44 on 20 degrees of freedom.
The p-value is 1.12e-116
for(factors in 2:4) print(update(Harman23.FA, factors = factors))
Error in La.svd(B) : infinite or missing values in x
Execution halted
If there is any other information I can give you, please write and I'll send
it.
thanks;
Madeleine