search for: stuid

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

Did you mean: stupid
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
This is great. Thank you for your help, but let me make sure I fully understand. Here is the looping file I use to subset the data frame, create a tex file, and Sweave it. This results in N number of tex files where N is equal to the number of rows in the data frame. list <- unique(wide$stuid) master = "master.tex" for (i in list){ tmp1 <- subset(wide, stuid==i) tmp2 <- paste(i, "tex", sep=".") Sweave("fam_template.Rnw", output=tmp2) file.append("fam_master.tex", tmp2) } If I follow correctly, I would need to...
2005 Jul 08
0
Sweave resource leak: leftover temp files
...ank you for your help, but let me make sure I fully > understand. Here is the looping file I use to subset the data frame, > create a tex file, and Sweave it. This results in N number of tex files > where N is equal to the number of rows in the data frame. > > list <- unique(wide$stuid) > master = "master.tex" > for (i in list){ > tmp1 <- subset(wide, stuid==i) > tmp2 <- paste(i, "tex", sep=".") > Sweave("fam_template.Rnw", output=tmp2) > file.append("fam_master.tex", tmp2) > } >...
2004 Dec 29
3
gls model and matrix operations
...es Sigma<-matrix(c(400,80,80,80,80,400,80,80,80,80,400,80,80,80,80,400),4,4) mu<-c(100,150,200,250) sample.size<-100 # Simulate data and restructure for longitudinal analysis data<- as.data.frame(cbind(seq(1:sample.size),(mvrnorm(n = sample.size, mu, Sigma)))) colnames(data)<-c("stuid","Grade 2","Grade 3","Grade 4","Grade 5") long<-reshape(data, idvar="stuid", varying=list(names(data)[2:5]), v.names="score", direction="long") long$time<-long$time-1 With these data I then use the gls function to est...
2005 Feb 18
1
Samba PDC + OpenLDAP + Samba BDC
Hello everyone, the time for me to use a OpenLDAP server is getting closer ( :( yikes..I'm still scared sorta) , I currently have a Samba PDC with tdbsam with 50 users goes fine, our company will grow (doing our best) in this year by a minimum of 25-30 computers, and I've stuided the TOSHARG , and it says that for every 50 computer a bdc is suggested. The questions : 1.how does the client who is logging in to the domain know which server to use pdc bdc1 bdc2 ? , how is this decided. 2.is it a good idea to place the pdc and bdc close to each other , on the same swit...
2005 Apr 15
1
winbind problems. it just wont work
hi, I am still batteling with winbind, and frankly, i am getting desperate enough to long for a weekend without any computers in sight (that is bad for an addict) I know I probably make a small stuid blunder but still, I cant find it. The attachment is my smb.conf file. I created the needed paths, I even made sure the ermissions are set! I created asmbusers file with contains the following line: root = Administrator admin Then I added a user root to the smbpasswd file smbpasswd -a root pass...
2005 Jul 06
4
Tempfile error
Dear List: I am encountering an error that I can't resolve. I'm looping through rows of a dataframe to generate individual tex files using Sweave. At random points along the way, I encounter the following error Error in file() : cannot find unused tempfile name At which point Sweave halts. There isn't a logical pattern that I can identify in terms of why the program stops at
2005 Dec 01
1
Simulate Correlated data from complex sample
...Number of students in each school a_g <- c(0,.5,1) # This is the growth vector # Step 1 -- create psi for base grade rps <- rep(N_j, J) v_gk <- rep(rnorm(J, 0, sqrt(.01) ), rps) v_gik <- rnorm(N, 0, sqrt(.99)) # Organize into a dataframe data <- data.frame(schid = rep(1:J, rps), stuid = 1:N, cbind(v_gk, v_gik), psi = v_gk + v_gik + a_g[1]) # Now create theta B_g <- .95 # This is correlation between within-grade trait and vertical trait w_gk <- 0 # fixed at zero for now data$w_gik <-rnorm(N, 0, sqrt(.0975)) data$theta <- (B_g * data$psi) + w_gk + data$w_gik...
2005 Jan 20
3
Constructing Matrices
Dear List: I am working to construct a matrix of a particular form. For the most part, developing the matrix is simple and is built as follows: vl.mat<-matrix(c(0,0,0,0,0,64,0,0,0,0,64,0,0,0,0,64),nc=4) Now to expand this matrix to be block-diagonal, I do the following: sample.size <- 100 # number of individual students I<- diag(sample.size) bd.mat<-kronecker(I,vl.mat) This