BookmarkSubscribeRSS Feed
art297
Opal | Level 21

How long before the mead is ready for consumption?

Linlin
Lapis Lazuli | Level 10

This is wine from grapes with a little bit honey added. I am going to make mead(only use honey and water) in December.

PGStats
Opal | Level 21

You can also get rid of the random access (POINT=) and read the data only once, using arrays :

%let regSize=200;

data rCars(keep=grp engineSize horsepower) / view=rCars;
array es{&regSize} _temporary_;
array hp{&regSize} _temporary_;
set sashelp.cars;
st = 1 + mod(_n_-1, &regSize);
es{st} = engineSize;
hp{st} = horsePower;
if _n_ >= &regSize then do;
     grp = 1 + _n_ - &regSize;
     do i = st+1 to &regSize, 1 to st;
          engineSize = es{i};
          horsePower = hp{i};
          output;
          end;
     end;
run;

proc reg data=rCars outest=eCars;
by grp;
model horsePower = enginesize;
run;

PG

PG

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 18 replies
  • 2016 views
  • 1 like
  • 7 in conversation