Learning SAS? Welcome to the exclusive online community for all SAS learners.

no results but some outputs

Reply
New Contributor
Posts: 2

no results but some outputs

title "Simple ANOVA Example STAT615 Qian Li" ;
title2 'Wood Flake Materials - Tension Modulus ksi by species (Moore&McCabe) ' ;
options linesize=80 noovp;
proc format;
value spec 1='Aspen' 2='Birch' 3='Maple' ;
run;
data wood;
input spec modulus ;
label spec='Tree Species'
modulus='Tension modulus (ksi)' ;
format spec spec. ;
cards;
1 299
1 423

hello everyone, I have run a code and got no result but there is the output. it is weird that i can not save the result. I think the reason might be no result could be saved. And the pictures of my screen are attached in the attachment. Thank you very much!       

 

Super User
Posts: 19,878

Re: no results but some outputs

Your code isn't complete. Right now you're only creating a dataset and not completely, missing a semi colon at the end.

Your comments mentions an ANOVA but you haven't requested any analysis or used any procs that would generate results. 

Also, linesize option isn't relevant for SAS UE as it uses HTML output where llinesize isn't relevant. I'm not sure what the second option does so it may or may not be relevant. 

 

*creates a format for displaying the values of spec;

proc format;
value spec 1='Aspen' 2='Birch' 3='Maple' ;
run;

*Data set for analysis;
data wood;
input spec modulus ;
label spec='Tree Species' modulus='Tension modulus (ksi)' ;
format spec spec. ;
cards;
1 299
1 423
;
run;
New Contributor
Posts: 2

Re: no results but some outputs

thanks for your suggestion and I have got your point. There must be something unfinished with the code. I have made it.

Ask a Question
Discussion stats
  • 2 replies
  • 385 views
  • 1 like
  • 2 in conversation