search for: cheryl625

Displaying 8 results from an estimated 8 matches for "cheryl625".

2011 Oct 31
3
How to use IML with R and SAS
Hello, I have a for loop that generates data in R. With the IML program, I would like to analyze data in SAS from each iteration of the for loop in R. It would be helpful if someone could explain to me how to analyze data this way. Thanks [[alternative HTML version deleted]]
2011 Jul 31
2
Legend for 2 plots on same screen
Hello, I have two plots on the same screen. I use the command par(mfrow=c(1,2)) in order to do this. When I try to make a legend for both plots, it only puts the legend in the plot on the right side. If I would like a legend that is outside of both of the plots, how would I do this? Thanks [[alternative HTML version deleted]]
2011 Aug 08
1
Var-Cov matrix from LMER function
Hello, Is there a way to get the Var-Cov matrix from the LMER function? Thanks [[alternative HTML version deleted]]
2011 Dec 04
1
rnorm command
Hello, I use the command rnorm, and I feed these results into a lmer command. Since I am using the rnorm command I expect to get different results for each iteration, yet for each iteration I am getting the same answer. If someone understands why I am getting the same answer every time with a random number generator, I would appreciate help in understanding why this is happening. Is the lmer
2012 Aug 28
1
write.table and read.table commands
Greetings, When I try to use the write.table command to save a matrix as a file and then open the file with read.table, if I try to take the mean of the entire matrix, instead each column of the matrix has its mean calculated. I have copied and pasted an example of my code below. When I try to make the header false with the read.table command, I am given an error message. I would appreciate any
2012 Nov 06
2
Append Data to an Excel File through each Iteration of a For Loop
Hi, I would like to find a way to append data to an excel file through each iteration of a for loop. Is there a way to use a command such as write.table and append each iteration to a different sheet? Thanks [[alternative HTML version deleted]]
2011 May 20
2
extraction of mean square value from ANOVA
Hello, I am randomly generating values and then using an ANOVA table to find the mean square value. I would like to form a loop that extracts the mean square value from ANOVA in each iteration. Below is an example of what I am doing. a<-rnorm(10) b<-factor(c(1,1,2,2,3,3,4,4,5,5)) c<-factor(c(1,2,1,2,1,2,1,2,1,2)) mylm<-lm(a~b+c) anova(mylm) Since I would like to use a loop to
2012 Sep 23
1
How to Write a Model in R that has the Log taken of the Intercept
Hi, I know that +1 is used to specify an intercept in a R model. An example of this would be: y~x+1 If I want to have a model where the log of the intercept is taken, the equation y~x+log(1) will not take the log of the intercept. Any suggestions on how to take the log of the intercept will be appreciated. Thanks [[alternative HTML version deleted]]