Hi SAS Users,
Today I want to assign two outputs from the result of proc univariate called: Quantiles and Basic Statistical Measures.
My code is as below (I use the sashelp.shoes dataset that everyone can access easily for checking)
ods output Quantiles=outlier Basic Statistical Measures=summ;
proc univariate data=sashelp.shoes noprint;
var sales Inventory;
run;
However, when I run such a code, the result only shows the output "outlier", not the sum, while I want both of them.
The warning log is as below:
WARNING: Output 'Measures' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,
verify that the appropriate procedure options are used to produce the requested output object. For example, verify that
the NOPRINT option is not used.
WARNING: Output 'Statistical' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,
verify that the appropriate procedure options are used to produce the requested output object. For example, verify that
the NOPRINT option is not used.
WARNING: Output 'Basic' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify
that the appropriate procedure options are used to produce the requested output object. For example, verify that the
NOPRINT option is not used.
Can you please help me to sort it out?
Many thanks and warm regards.
Basic Statistical Measures is not a valid table name, a good clue towards that is the spaces in the name.
Use ODS TRACE to find the exact table name or find it in the documentation, under Details, ODSTable Names
@Phil_NZ wrote:
Hi SAS Users,
Today I want to assign two outputs from the result of proc univariate called: Quantiles and Basic Statistical Measures.
My code is as below (I use the sashelp.shoes dataset that everyone can access easily for checking)
ods output Quantiles=outlier Basic Statistical Measures=summ; proc univariate data=sashelp.shoes noprint; var sales Inventory; run;
However, when I run such a code, the result only shows the output "outlier", not the sum, while I want both of them.
The warning log is as below:
WARNING: Output 'Measures' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used. WARNING: Output 'Statistical' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used. WARNING: Output 'Basic' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used.
Can you please help me to sort it out?
Many thanks and warm regards.
Basic Statistical Measures is not a valid table name, a good clue towards that is the spaces in the name.
Use ODS TRACE to find the exact table name or find it in the documentation, under Details, ODSTable Names
@Phil_NZ wrote:
Hi SAS Users,
Today I want to assign two outputs from the result of proc univariate called: Quantiles and Basic Statistical Measures.
My code is as below (I use the sashelp.shoes dataset that everyone can access easily for checking)
ods output Quantiles=outlier Basic Statistical Measures=summ; proc univariate data=sashelp.shoes noprint; var sales Inventory; run;
However, when I run such a code, the result only shows the output "outlier", not the sum, while I want both of them.
The warning log is as below:
WARNING: Output 'Measures' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used. WARNING: Output 'Statistical' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used. WARNING: Output 'Basic' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used.
Can you please help me to sort it out?
Many thanks and warm regards.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: