Help using Base SAS procedures

PROBT and PROBF number of decimals

Accepted Solution Solved
Reply
N/A
Posts: 1
Accepted Solution

PROBT and PROBF number of decimals

Hello,

using the GLM procedure I tryed to expand the number of decimals (more than 4) in the PROBT (Pr > |t|) and PROBF (Pr > F) using "format probt pvalue12.10;" following the suggestion indicated on the on-line documentation at page http://support.sas.com/kb/37/106.html but I was not able to find were to find such variables.

Could anyone explain me how to increase the number of decimals in the output?

Many tahnks.


Accepted Solutions
Solution
‎10-12-2012 01:18 AM
Super User
Posts: 9,676

Re: PROBT and PROBF number of decimals

I don't know why you cann't find this variable , you can chech it by opening the dataset you saved .

ods trace on;

proc glm data=sashelp.class ;

class sex;

model weight=sex height;

ods output  ModelANOVA= ModelANOVA;

quit;

ods trace off;

proc print data= ModelANOVA;

format probf pvalue12.10;

run;

Ksharp

View solution in original post


All Replies
Solution
‎10-12-2012 01:18 AM
Super User
Posts: 9,676

Re: PROBT and PROBF number of decimals

I don't know why you cann't find this variable , you can chech it by opening the dataset you saved .

ods trace on;

proc glm data=sashelp.class ;

class sex;

model weight=sex height;

ods output  ModelANOVA= ModelANOVA;

quit;

ods trace off;

proc print data= ModelANOVA;

format probf pvalue12.10;

run;

Ksharp

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 297 views
  • 0 likes
  • 2 in conversation