Displaying 3 results from an estimated 3 matches for "sumlm".
Did you mean:
suml
2010 Mar 22
0
using lmer weights argument to represent heteroskedasticity
..., sd = 0.25))
d <- merge(d, groupeffx)
d$etrue <- rnorm(n, sd = sqrt(d$verror))
d$y <- 5 + d$x + d$theta + d$etrue
d$verrorf <- factor(paste("v",d$verror,sep=""))
print(tapply(d$etrue, d$verrorf, var))
## function to collect pieces from lme() output
sumLME <- function(o){
tab <- summary(o)$tTable
r <- c(tab[1,1:2], tab[2,1:2], as.numeric(VarCorr(o))[3:4])
names(r) <- c("b0","b0sd","b1","b1sd","sdgroup","sdresid")
return(r)
}
## function to collect pieces from lmer() o...
2005 Feb 18
1
extracting F, df and r squared using "sapply"?
Hi, All
How does one remove relevant information from a regression output besides
just the coefficients?
I've been able to modify the example given under "help(by)" to give me some
additional information, but not everything I need.
If you adjust the call statement from what is listed by adding the summary
statement like so:
tmp <- by(warpbreaks, tension, function(x)
2008 Jul 07
3
A quick question about lm()
I have a simple regression using lm().
If I just want to check the coefficient, I can use summary(lm())$coef; if I
need the standard error, I can use summary(lm())$s, if I need the residuals,
I can use summary(lm())$res. OK. How can I get the R-squares and Adjusted
R-squares using $...?
Is there a function, like objects(), that can show all the references for
values?
Thanks a lot!
--
View this