Displaying 2 results from an estimated 2 matches for "sozialwissenschaftler".
2003 Nov 16
1
SE of ANOVA (aov) with repeated measures and a bewtween-subject factor
...lculate the treatment effect (easy with coef(...)).
But how can I get the standard errors, or more exactly
the 98.21% confidence
intervals?
- lm() does not work with an Error()-term in the
formula
- using lme(), I can not reproduce results e.g. of an
example of a text book ((Bortz,
Statistik f?r Sozialwissenschaftler, p.412, 3.
Auflage, see at the very end)
Here what I have done (with random data):
# Random generation of data
NSubj<-30 # No. of subjects
set.seed(1234)
id<-c(1:NSubj) # ID of subjects
treat<-runif(NSubj, min=0, max=1) > 0.5 # Treatment
v1<-runif(NSubj, min=0, max=1) #...
2007 Jul 16
1
How to write a data.frame into n different csv-files
...an't write into ten different files, like test1.csv to test10.csv:
x <- rnorm(10)
y <- c(1:10)
z <- data.frame(y,x)
n <- nrow(z)
for (i in 1:n) write.csv(z$x[i], file="test[i].csv")
Can anyone help me?
Yours,
Guido
---
Dr. Guido Moeser
Diplom Volkswirt
Diplom Sozialwissenschaftler
E-Mail: GMoeser@aol.com
________________________________________________________________________
Bei AOL gibt's jetzt kostenlos eMail f?r alle. Klicken Sie auf AOL.de um heraus zu finden, was es sonst noch kostenlos bei AOL gibt.
[[alternative HTML version deleted]]