BookmarkSubscribeRSS Feed
Kholif
Calcite | Level 5

Dear All:

I have a weak background about statistical analysis and need some help me to do analyzes of my data about bacterial count from cecum of cows. I would like to to run the analyses as "Bacterial count values were log transformed, and then a Poisson regression model was fitted using the PROC GENMOD of SAS, with log of bacterial counts as the response variables, and diet (Control, T00, T05 or T10) as the factor explanatory variable, assuming that the random residual variance follows a Poisson distribution. A logistic regression model for binary data (PROC GENMOD of SAS) was used to analyse mortality data".

My data is:

AdditivesREPG-negative (log10cfu/g)Coliform (log10cfu/g)Ecoli (log10cfu/g)
T0017.857.806.20
T0027.566.956.56
T0037.957.326.55
T0048.027.566.15
T0057.777.876.68
T0067.657.746.32
T0518.683.804.60
T0528.954.154.84
T0538.644.034.56
T0548.723.784.72
T0558.853.684.35
T0568.603.824.60
T1018.364.904.80
T1028.325.204.95
T1038.065.034.65
T1047.984.865.25
T1058.354.935.03
T1068.415.224.75

In a published article, I have seen the result of using GENMOD of SAS as the following table:

 

Table: Caecal bacterial counts (log CFU/g; mean and confidence limits) of animals fed the experimental diets

 

Experimental diets

 

 

Control

T1

T2

T3

P-value

E. coli

 

5.6a
(4.12-7.04)

 

 

5.4a
(3.93-6.81)

 

 

3.9ab
(2.66-5.10)

 

 

3.1b
(2.03-4.23)

 

0.023

Bacteroides spp.

 

5.0
(3.56-6.34)

 

 

4.9
(3.54-6.28)

 

 

4.5
(3.22-5.86)

 

 

4.2
(2.95-5.49)

 

0.854

Lactobacillus spp.

 

3.2a
(2.11-4.33)

 

 

3.3a
(2.18-4.43)

 

 

2.2ab
(1.29-3.13)

 

 

1.6b
(0.78-2.32)

 

0.034

 

Another friend recommend the use of a Poisson distribution for the GLIMMIX model without telling me how to run it.

My questions are:

(1) Which one (GENMOD or GLIMMIX) is the best for my data?

(2) Please provide me with the code to use in SAS.

Best regards,

Ahmed

1 REPLY 1
sld
Rhodochrosite | Level 12 sld
Rhodochrosite | Level 12

If your experimental design is not mixed (for example, if all observations are independent, and you do not have blocks or repeated measures), then you can use either GENMOD or GLIMMIX.

 

If you post your attempt at code, someone in the Community would probably be happy to help.

 

I recommend learning more about generalized linear models before you go farther with your analysis. There are two misleading statements in your quote, which makes me think that the source of this quote is not your best resource for methodology:

 

I would like to to run the analyses as "Bacterial count values were log transformed, and then a Poisson regression model was fitted using the PROC GENMOD of SAS, with log of bacterial counts as the response variables, and diet (Control, T00, T05 or T10) as the factor explanatory variable, assuming that the random residual variance follows a Poisson distribution. A logistic regression model for binary data (PROC GENMOD of SAS) was used to analyse mortality data"

 

1. You do not use log-transformed counts with a Poisson distribution. Instead you use counts on their original scale; the model uses a log link function internally.

 

2. There is no "residual variance" in a generalized linear model with a Poisson distribution because the variance is a function of the mean and cannot be estimated separately. For the Poisson, the mean and the variance are equal.

 

Your counts are very large and you may not actually need to use a Poisson distribution; assuming normality might work just fine. The Poisson distribution is useful when mean count is small; as the mean count increases the Poisson distribution approaches the normal distribution (http://wiki.stat.ucla.edu/socr/index.php/AP_Statistics_Curriculum_2007_Limits_Norm2Poisson). 

 

I hope this helps.

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1397 views
  • 1 like
  • 2 in conversation