search for: haart

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

Did you mean: hart
2011 Apr 20
3
[test message] Can R replicate this data manipulation in SAS?
...ble to accomplish all of the data manipulation tasks that SAS can. In others, I'm hearing that R can do pretty much any data manipulation that SAS can but the way in which it does so is likely to be quite different. Below is some SAS syntax that that codes Highly Active Antiretroviral Therapy (HAART) regimens in HIV patients by retaining the values of variables. Interspersed between the bits of code are printouts of data sets that are created in the process of coding. I'm hoping this will come through clearly and that people will be able to see exactly what is being done. Basically, the co...
2012 May 30
0
anova.coxph for multiple events model
...ng to do a multiple events model using coxph. I need to choose which covariates stay in the final model and i'm using anova but it seems that it doesn't work with robust variances as a error message appears when I try to do it: /PWPfit<-coxph(Surv(ini,fim,status)~Sexo+Transmissao+Regime+HAART+Drogas+Psi+ + CD4+CV+Neo+IO+cluster(idPARTICIPANTE)+strata(Estrato),data=PWP) > anova(PWPfit) Error in anova.coxph(PWPfit) : Can't do anova tables with robust variances / However when I fit two different nested models the function anova seems to work: /> PWPfit<-coxph(Surv(ini,fi...
2010 Dec 17
2
Extract subset of rows
Hi, I have two matrices with a common field = species what i want to do is make a matrix that combines the data held in the other two based on the species name. I.e ( simple example) Matrix 1 - monocot SPECIES V1 A 2 B 3 C 4 D 5 Matrix 2 - PCAresults SPECIES V2 A 0.2 B 0.3 C 4.1 D 3.2 matrix 3 - What i want SPECIES V1 V2 A 2 0.2 B 3 0.3 C 4 4.1 D 5 3.2 my
2010 Oct 15
1
Random assignment
Dear List, I am doing some simulation in R and need basic help! I have a list of animal families for which i know the number of species in each family. I am working under the assumption that a species has a 7.48% chance of being at risk. I want to simulate the number of species expected to be at risk under a random binomial distribution with 10,000 randomizations. I am relatively knew to
2010 Dec 06
1
help getting data in correct format
>> Dear All, >> >> I am having trouble getting my data into R as i need it! I am used to using read.delim("") to open .txt files to do work on. The function i am using requires a matrix like the one below. >> >> My data is from excel and then saved as a txt file. I have tried the usual read.delim("") approach but the function doesn't like it, i
2010 Oct 18
1
Randomly shuffle an array multiple times
Dear List, I have a table i have read into R: Name Yes/No John 0 Frank 1 Ann 0 James 1 Alex 1 etc - 800 different times. What i want to do is shuffle yes/no and randomly re-assign them to the name. I have used sample() and permute(), however there is no way to do this 1000 times. Furthermore, i want to copy the data into a excel spreadsheet in the same order as the data was input so i can
2004 Dec 21
1
ssh rsync problem
Hi all, I recently acquired a laptop which brings the grand total of computers at three. 1 laptop, 1 server, 1 desktop. Now the problem I want to solve is the following: Because I work on both my laptop and desktop I would like to sync data in my prj/ directory to my server. So when I logon I sync my data from to server to the computer I currently working on and when I logoff I sync the data
2010 Oct 01
6
Interpreting the example given by Frank Harrell in the predict.lrm {Design} help
Dear list, I am relatively new to ordinal models and have been working through the example given by Frank Harrell in the predict.lrm {Design} help All of this makes sense to me, except for the responses, i,e how do i interpret them? i would be extremely grateful if someone could explain the results? First i establish the date and model - > y <- factor(sample(1:3, 400, TRUE), 1:3,