Programming the statistical procedures from SAS

PROC GLIMMIX Problems with the Distribution Function

Reply
Highlighted
New Contributor
Posts: 4

PROC GLIMMIX Problems with the Distribution Function

[ Edited ]

I am trying to look use Glimmix to look at my data. My dependent variables are percentages so i wanted to use Binomial Distribution. However, when I use poisson I get results and when I use binomial i get errors saying invalid or missing data. I'm not sure if i am missing any extra pieces??

 

PROC GLIMMIX DATA=WORK.IMPORT2;
CLASS Phenotype Genotype;
MODEL SuccessRatio = Phenotype Genotype Phenotype*Genotype / DIST=POISSON LINK=LOG;
LSMEANS Phenotype Genotype Phenotype*Genotype / PDIFF=ALL;
TITLE "Average Success";
RUN;

 

Versus:

PROC GLIMMIX DATA=WORK.IMPORT2;
CLASS Phenotype Genotype;
MODEL SuccessRatio = Phenotype Genotype Phenotype*Genotype / DIST=BINOMIAL LINK=LOGIT;
LSMEANS Phenotype Genotype Phenotype*Genotype / PDIFF=ALL;
TITLE "Average Success";
RUN;

 

Ask a Question
Discussion stats
  • 0 replies
  • 132 views
  • 0 likes
  • 1 in conversation