search for: treatmentgroup

Displaying 4 results from an estimated 4 matches for "treatmentgroup".

2008 Mar 02
1
Problem plotting curve on survival curve (something silly?)
...m the BMJ (CSV tabs seperated version here: http://www.wittongilbert.free-online.co.uk/HepatitisData.csv ) and am trying to plot some curves. I've succeeded in plotting a Kaplan-Meier Survival Curve by using the following: > my_var.bygroup <- survfit(Surv (Survival, Censored==0) ~ TreatmentGroup, data=TestData) > plot(my_var.bygroup, conf.int=FALSE, col=c("black","grey"), lty=1:2, legend.text=c("Placebo","Prednisolone"), main="dKaplan-Meier Survival Curve", xlab="Time (months)", ylab="Probability of Survival") Th...
2009 Oct 27
0
syntax for estimable(gmodels package) and glht(multcomp package)
...estimable (gmodels) works, since I'm not getting everything from the documents I've googled so far, especially with models with 2nd order terms. A modestly complex model: 2-way anova with one continuous covariate, no random effects(and no repeated measures) to keep it modestly complex: Y = treatmentgroup + sex + treatmentgroup*sex + weight treatment has 3 levels : "Placebo" , "DrugA" , "DrugB" sex has 2 levels I want to do pairwise comparison(s) for one of the main effects, say "DrugB" - "Placebo" And a pairwise comparison at the cell-wise level...
2009 Apr 26
1
Matching in R
...e exact counterpart in the controllgroup. Now I want to introduce observation weights. I set ties=FALSE, as I want exactly one by one matching: Is there a way which makes that I draw randomly from the individuals in the controllgroup which have the same values of covariates as the individual in the treatmentgroup, setting the probabilities to be drawn proportional to the weights of the individual in the CT? E.g. I have three individuals which all have the same value for the covariates as the one observation I want to find a partner for, and the first of the three individuals has a very large weight: Now whe...
2009 Jun 08
2
problem with bulk insert into a *.csv file
Hi all, I am trying to create a "index.csv" with caliculating different types of caliculations . In that i have to caliculate on 10,000 studies and have to insert many no of rows more than 500,000 for that right now I am inserting every row after caliculating and doing data.frame but its taking much time to create that index.csv is there any thing like bulk insert in to file