Displaying 10 results from an estimated 10 matches for "lifecyclesav".
Did you mean:
lifecycles
2011 May 08
1
anova.lm fails with test="Cp"
Here is an example, modified from the help page to use test="Cp":
--------------------------------------------------------------------------------
> fit0 <- lm(sr ~ 1, data = LifeCycleSavings)
> fit1 <- update(fit0, . ~ . + pop15)
> fit2 <- update(fit1, . ~ . + pop75)
> anova(fit0, fit1, fit2, test="Cp")
Error in `[.data.frame`(table, , "Resid. Dev") :
undefined columns selected
> sessionInfo()
R version 2.13.0 Patched (2011-04-28 r55678)
Plat...
2008 Apr 11
4
Format regression result summary
Hello to the whole group.
I am a newbie to R, but I got my way through and think it is a lot easier to
handle than other software packages (far less clicks necessary).
However, I have a problem with respect to the summary of regression results.
The summary function gives sth like:
Residuals:
Min 1Q Median 3Q Max
-0.46743 -0.09772 0.01810 0.11175 0.42252
2009 Nov 08
2
influence.measures(stats): hatvalues(model, ...)
Hello:
I am trying to understand the method 'hatvalues(...)', which returns something similar to the diagonals of the plain vanilla hat matrix [X(X'X)^(-1)X'], but not quite.
A Fortran programmer I am not, but tracing through the code it looks like perhaps some sort of correction based on the notion of 'leave-one-out' variance is being applied.
Whatever the
2007 Jun 05
2
biplot package
...race(biplot.pca, T)
#mtrace(biplot.pca, F)
#???????????????????
# 2D with graphics package
#???????????????????
#x = matrix(c(42, 52, 48, 58, 4, 5, 4, 3), nc=2); x
#dimnames(x) = list(letters[1:nrow(x)], LETTERS[1:ncol(x)]); x
#x = stackloss; x
#x = cars; x
#x = longley; x
x = mtcars[,1:7]; x
#x = LifeCycleSavings; x
biplot.pca(x)
biplot.pca(x, scale=T)
biplot.pca(x, col.obj=3, col.var=4, var.red=.5)
biplot.pca(x, center=T, scale=F, weight='eq', cex=.5)
biplot.pca(x, center=T, scale=F, weight='eq', cex=.8)
biplot.pca(x, center=T, scale=F, weight='sa')
biplot.pca(x, center=T, scale...
2005 Feb 02
4
(no subject)
...man Example 2.3
Harman74.cor Harman Example 7.4
Indometh Pharmacokinetics of Indomethicin
InsectSprays Effectiveness of Insect Sprays
JohnsonJohnson Quarterly Earnings per Johnson & Johnson Share
LakeHuron Level of Lake Huron 1875-1972
LifeCycleSavings Intercountry Life-Cycle Savings Data
Loblolly Growth of Loblolly pine trees
Nile Flow of the River Nile
Orange Growth of orange trees
OrchardSprays Potency of Orchard Sprays
PlantGrowth Results from an Experiment on...
2008 Aug 12
2
ANOVA tables - storing F values
When I run a summary(anova) I get output for all of the elements (columns)
as these are multiple - single anova results. Can I store the F values? I
can't find the attribute of the fitted model attributes(fit) that stores
these F values, and for that matter, P values.
Thanks
--
Gareth Campbell
PhD Candidate
The University of Auckland
P +649 815 3670
M +6421 256 3511
E
2011 Nov 21
0
Suggested improvement for src/library/base/man/qraux.Rd
...\code{a <- qr(x)} then \code{x[, a$pivot]} = \bold{QR}.
The number of rows of \bold{R} is
either \code{nrow(X)} or \code{ncol(X)} (and may depend on whether
\code{complete} is \code{TRUE} or \code{FALSE}.
}
\seealso{
\code{\link{qr}},
\code{\link{qr.qy}}.
}
\examples{
p <- ncol(x <- LifeCycleSavings[,-1]) # not the 'sr'
qrstr <- qr(x) # dim(x) == c(n,p)
qrstr $ rank # = 4 = p
Q <- qr.Q(qrstr) # dim(Q) == dim(x)
R <- qr.R(qrstr) # dim(R) == ncol(x)
X <- qr.X(qrstr) # X == x
range(X - as.matrix(x))# ~ < 6e-12
## X == Q \%*\% R if there has been no pivoting, as here....
2003 Apr 24
2
R-1.7.0 build feedback: NetBSD 1.6 (PR#2837)
R-1.7.0 built on NetBSD 1.6, but the validation test suite failed:
Machinetype: Intel Pentium III (600 MHz); NetBSD 1.6 (GENERIC)
Remote gcc version: gcc (GCC) 3.2.2
Remote g++ version: g++ (GCC) 3.2.2
Configure environment: CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib
make[5]: Entering directory `/local/build/R-1.7.0/src/library'
>>> Building/Updating
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
.../Hypergeometric.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/IQR.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/InsectSprays.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/Last.value.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/LifeCycleSavings.R action:
create
D: file: /usr/local/lib/R/library/base/R-ex/Log.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/Logic.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/Logistic.R action: create
D: file: /usr/local/lib/R/library/base/R-ex/Lognormal.R action:...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...text html latex example
InsectSprays text html latex example
Internal text html latex
Japanese text html latex example
Last.value text html latex example
LifeCycleSavings text html latex example
Log text html latex example
Logic text html latex example
Logistic text html latex example
Lognormal text...