Hi Nancy,
The chickwts dataset contains one sort-of continuous variable (weight)
and a categorical variable (feed). Two things that will help you to
understand what you are trying to do is to "eyeball" the "weight"
data:
# this shows you the rough distribution of chick weights
hist(chickwts$weight
Categorical data cannot be normal. What you are doing is statistical
nonsense, as your error messages suggest. You need to consult a local
statistician for help.
Furthermore, statistical questions are generally OT on this list, which is
about R programming.
Bert Gunter
"The trouble with having
Hello
I have data that are categorical both independent variable and dependent as
well having levels more than 3. How can i check the normality of my data?
I have tried the example given of Shapiro-Wilk for levels of factors
data
summary(chickwts)
## linear model and ANOVA
fm <- lm(weight ~ feed
3 matches
Mail list logo