search for: drug3

Displaying 6 results from an estimated 6 matches for "drug3".

Did you mean: drug
2012 Nov 29
2
Analysis of Variance
...ta=example12_7) summary(res1) Df Sum Sq Mean Sq F value Pr(>F) drug 1 7.96 7.964 2.417 0.138 Residuals 17 56.01 3.294 Note these do not agree with above. However, if I enter the data by hand: Drug1=c(7.3,8.2,10.1,6.0,9.5) Drug2=c(7.1,10.6,11.2,9.0,8.5,10.9,7.8) Drug3=c(5.8,6.5,8.8,4.9,7.9,8.5,5.2) boxplot(Drug1,Drug2,Drug3) Then create a dataframe: d=stack(list(Drug1=Drug1,Drug2=Drug2,Drug3=Drug3)) And run aov again: res=aov(values~ind,data=d) summary(res) I get these results: Df Sum Sq Mean Sq F value Pr(>F) ind 2 21.98 10.991...
2008 Jul 04
1
Repeated measures lme or anova
...ctable level. I'm look for individual and combined effects of Group and Drug. There are ~400 metabolites which I intend to test independently. (I know that will leave me with a multiple testing issue) What I've worked out for lme is > summary(test.lme <- lme(Value ~ Group*Drug1*Drug2*Drug3 - 1, test,random = ~1|Patient)) > anova(test.lme) and for anova is > summary(aov(Value~(Group*Drug1*Drug2*Drug3)+Error(Patient/(Drug1*Drug2*Drug3)),test)) The full structure of the 'test' data table for one metabolite is below. Thanks for your time and any thoughts you may have. A...
2011 Feb 08
1
Just another pattern matching / indexing question
...in a model. I've tried grep, to search along the rows, and I can generate a vector of identifiers, but I cannot seem to generate the vector of logicals. I realise I'm doing something simply wrong. names(drugindex) [1] "book.MRN" "DRUG1" "DRUG2" "DRUG3" "DRUG4" "DRUG5" [7] "DRUG6" "DRUG7" "DRUG8" "DRUG9" "DRUG10" "DRUG11" [13] "DRUG12" "DRUG13" "DRUG14" "DRUG15" "DRUG16" > t...
2013 Feb 17
2
nested random factor using lme produces errors
...l=lme(parasite~drug,random=~1|drug/family) But doing a summary on this model gives me warning message : In pt(-abs(tTable[, "t-value"]), tTable[, "DF"]) : NaNs produced I don't understand why ?! I noticed that the p-values are not computed and have NAs values for drug2 and drug3 (from the summary of this model) Moreover, in the summary, I noticed that in the random effects line I have standard deviation for Formula: ~1 | drug and for Formula: ~1 | family %in% drug. Does R consider drug as a random factor as well ? And last question, how can I know if my random factor has...
2011 Sep 28
1
number of items to replace is not a multiple of replacement length
Please help with this error message drugbook is an 885 x 32 dataframe >names(drugbook) [1] "DRUG1" "DRUG2" "DRUG3" "DRUG4" "DRUG5" [6] "DRUG6" "DRUG7" "DRUG8" "DRUG9" "DRUG10" [11] "DRUG11" "DRUG12" "DRUG13" "DRUG14" "DRUG15" [1...
2010 Jul 05
3
adding a row of names to data.frame
Relative noob here, I have a data.frame and simply want to add an explicit column of names in column 1 of the form "trial_number01" for row 1, "trial_number02" for row 2 .... etc. It is simply for visual purposes and to explain data to others. I've tried Using row.names and other but still no luck, am sure it has been covered but I can't find it, can you please point