BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
xiangpang
Quartz | Level 8

hello,

 

I am trying to do proc genmod. But I want only "Analysis Of Parameter Estimates" result, not other results such as Residues, Resraw, Reschi, Resdev, Stdreschi, Stdresdev,Reslik . 

something like the following table. Anyone knows how to get it? thanks a lot.

 

 

Analysis Of GEE Parameter Estimates
Empirical Standard Error EstimatesParameter   Estimate StandardError 95% Confidence Limits Z Pr > |Z|
 Intercept3.61253.6825-3.605210.83010.980.3266
data ingots;
   input Heat Soak Notready Total @@;
   lnTotal= log(Total);
   datalines;
7 1.0 0 10  14 1.0 0 31  27 1.0 1 56  51 1.0 3 13
7 1.7 0 17  14 1.7 0 43  27 1.7 4 44  51 1.7 0  1
7 2.2 0  7  14 2.2 2 33  27 2.2 0 21  51 2.2 0  1
7 2.8 0 12  14 2.8 0 31  27 2.8 1 22  51 4.0 0  1
7 4.0 0  9  14 4.0 0 19  27 4.0 1 16
;

proc genmod data=ingots;
   class Heat Soak / param=ref;
   model Notready=Heat Soak / offset=lnTotal dist=Poisson link=log;
   exact Heat Soak / joint estimate;
   exactoptions statustime=10;
run;

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

Pick the table from the list of ODS tables for proc genmod. You seem to want table GEEEmpPEst , so add the statement

 

ODS select GEEEmpPEst ;

 

to your proc code.

PG

View solution in original post

4 REPLIES 4
PGStats
Opal | Level 21

Pick the table from the list of ODS tables for proc genmod. You seem to want table GEEEmpPEst , so add the statement

 

ODS select GEEEmpPEst ;

 

to your proc code.

PG
xiangpang
Quartz | Level 8

Thanks for your reply. I have two more questions. Do you know what is the difference between "ParameterEstimates" and "GEEEmpPEst ". The output results are different. 

Another question, if I have several output result from the genmod analysis with same file name and same variables, what is the best way to add them into one table? 

PGStats
Opal | Level 21

I don't do GEEs.

 

Give your output tables different meaningful names, and then concatenate them all with

 

data allTables;

set TableA TableB ... indsname=dsn;

tableName = scan(dsn, 2);

run;

PG
xiangpang
Quartz | Level 8

Thanks a lot. Have a good weekend.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1928 views
  • 0 likes
  • 2 in conversation