proc genmod and output

Solved
Frequent Contributor
Posts: 79

proc genmod and output

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|
 Intercept 3.6125 3.6825 -3.6052 10.8301 0.98 0.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;
exact Heat Soak / joint estimate;
exactoptions statustime=10;
run;``````

Accepted Solutions
Solution
‎03-16-2018 08:42 AM
Posts: 5,626

Re: proc genmod and output

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 ;

PG

All Replies
Solution
‎03-16-2018 08:42 AM
Posts: 5,626

Re: proc genmod and output

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 ;

PG
Frequent Contributor
Posts: 79

Re: proc genmod and output

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?

Posts: 5,626

Re: proc genmod and output

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
Frequent Contributor
Posts: 79

Re: proc genmod and output

Thanks a lot. Have a good weekend.

☑ This topic is solved.