BookmarkSubscribeRSS Feed
Sasman1441
Calcite | Level 5

Help!

1 REPLY 1
data_null__
Jade | Level 19

Your example data does not exactly go with your description but perhaps this will get the discussion started.


data soda;
   infile cards missover;
  
input soda fizz @;
   do while(not missing(fizz));
      output;
     
input fizz @;
      end;
  
cards;
1  2.0  2.8  3.3  3.2  4.4  3.6  1.9  3.3  2.8  1.1 
2  3.5  2.8  3.2  3.5  2.3  2.4  2.0  1.6
3  3.3  3.6  2.6  3.1  3.2  3.3  2.9  3.4  3.2  3.2
4  3.2  3.3  3.2  2.9  3.3  2.5  2.6  2.8
5  2.6  2.6  2.9  2.0  2.0  2.1
;;;;
   run;


proc print;
  
run;


proc glm;
  
class soda;
   model fizz = soda;
   run;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1124 views
  • 1 like
  • 2 in conversation