Skip to content

Commit

Permalink
update ICtab test output
Browse files Browse the repository at this point in the history
  • Loading branch information
bbolker committed Oct 30, 2017
1 parent c510962 commit 05b2a08
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions tests/ICtab.Rout.save
@@ -1,6 +1,6 @@

R Under development (unstable) (2016-12-05 r71733) -- "Unsuffered Consequences"
Copyright (C) 2016 The R Foundation for Statistical Computing
R Under development (unstable) (2017-10-27 r73634) -- "Unsuffered Consequences"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
Expand All @@ -17,6 +17,8 @@ Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

> library(bbmle)
Loading required package: stats4
>
Expand All @@ -39,6 +41,18 @@ m1 0 1
> stopifnot(any(!is.na(aa$dAIC)),
+ any(!is.na(aa$weight)))
>
> set.seed(101)
> x <- rnorm(100)
> dd <- data.frame(y=rnorm(100,2+3*x,sd=1),x)
> m4A <- lm(y~x,dd)
> m4B <- mle2(y~dnorm(mean=a+b*x,sd=exp(logsd)),
+ data=dd,
+ start=list(a=1,b=1,logsd=0))
> ## cosmetic differences only
> stopifnot(all.equal(AIC(m4A,m4B)[,"AIC"],
+ AIC(m4B,m4A)[,"AIC"]))
>
>
> proc.time()
user system elapsed
1.140 0.212 1.648
1.920 0.208 2.679

0 comments on commit 05b2a08

Please sign in to comment.