search for: sta2

Displaying 2 results from an estimated 2 matches for "sta2".

Did you mean: sda2
2012 Sep 17
2
Creating missingness in repeated measurement data
...w dataset (dat2) with missing values such that when either g = =1 or stat = =0, the remaining rows for an individual subject is set to NA by using a new variable d (that states the exact time this happened from the stop variable). By this I mean dat2 that looks like,   id <- rep(a, c(3,2,3)) sta2<- c(1,1,NA,1,NA,1,NA,NA) g2<- c(0,0,NA,0,NA,0,NA,NA) stop2 <- c(1,2,NA,2,NA,1,NA,NA) d <- c(4,4,NA,4,NA,1.5,NA,NA)   dat2 <- data.frame(id=id, stat2=sta2, g2=g2,stop2=stop2,d=d).   Thank you very much!   John [[alternative HTML version deleted]]
2010 Aug 19
1
Why does Bootstrap work for one of similar models but not for the other?
...r and the same thing happens so this does not seem to be computer-specific. I could not find a clue for a solution in the R archive or in the R book (at least to the extent I understood). Here are the properties of the models A and B and what happens when I run bootstrap. modelA: rA~stA1+ stA2+stA3 model B: rB~stB1+stB2+stB3 The variables for the models A and B are in the same dataset called ?data?. The sample size is 32 for both models and the value range and distribution of the variables in the two models are similar. (Variables from both models are at the end of this enquiry.)...