I am getting the error: ERROR: No valid observations due to invalid or missing values in the response, explanatory, offset, frequency, or weight variable. in my proc genmod code. How can I fix this? I have merged my three data sets and just need to run the poisson regression. PLEASE HELP!! data EightPUcompjuly; input compmeas$ compliancerate ; Datalines; Turnclock 0.87 effectiveturns 0.37 bed 0.75 linenlayers 0.87 pressrelief 0.87 lowairloss 0.1 ; run; data EightPUcoachjuly; input coachtype$ comprate ; Datalines; BL 0.33 NL 0.50 PL 0.16 ; run; data Eightharmsjuly; input fall pus; datalines; 0 3 ; run; proc print data= eightharmsjuly; run; data combined; set EightPUcompjuly EightPUcoachjuly eightharmsjuly; run; proc print data = combined; run; ***8W compliance percentage based on rounds completed; proc means data = combined n mean var min max; var compliancerate comprate fall pus; run; proc means data = combined n mean var min max; class compmeas; var compliancerate comprate; run; proc freq data=combined; tables compliancerate*coachtype / plots=freqplot; run; proc genmod data=combined; class coachtype compmeas; model compliancerate= coachtype fall pus compmeas /dist=poisson link=log; ; run;
... View more