search for: vitc

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

Did you mean: vic
2008 Oct 05
1
Help on R Coding
Hi all, I am kind of stuck of using Predict function in R to make prediction for a model with continuous variable and categorial variables. i have no problem making the model, the model is e.g. cabbage.lm2<- lm(VitC ~ HeadWt + Date + Cult) HeadWt is a continuous variable, Date and Culte are factors. Date have three levels inside (d16,d20,d21), Cult has two levels(c39,c52). I need to calculate a confidence interval for the mean VitC for each combination of Date and Cult, fixing the value of HeadWt at the mean...
2018 Apr 24
0
TukeyHSD and glht differ for models with a covariate
...del? Could anyone elaborate on why the model.tables function is generating means that differ from the effect function?? Thanks... #-------------------------------- # Load libraries and data library(multcomp) library(effects) data(cabbages, package='MASS') #create the model mod1 <- lm(VitC~HeadWt+Cult+Date, data=cabbages) # Using TukeyHSD TukeyHSD(aov(mod1), which='Date') #? Tukey multiple comparisons of means # ? 95% family-wise confidence level # #Fit: aov(formula = mod1) # #$Date #????????????? diff??????? lwr????? upr???? p adj #d20-d16 -0.9216847 -5.5216345 3.678265 0....