BookmarkSubscribeRSS Feed
stats11106
Calcite | Level 5

`kjh

3 REPLIES 3
PaigeMiller
Diamond | Level 26

Obviously this is a homework assignment and we do not know what the instructor intended by using the word iteration.

With regards to B, I think there are many ways to get this done. You have suggested one such way.

--
Paige Miller
Astounding
PROC Star

"For which iteration"  ... think of this as meaning "For which observation in the data set".  Technically there can be a slight difference but that's the essence of the meaning.

For B, it sounds like you are allowed to use the results of the MEAN function, plus your knowledge that there are 5 data values used to compute the mean.  Use those in programming the formula.

Good luck.

ballardw
Super User

Maybe I'm lazy but std = square root(var) so square std would be my quick and dirty if not allowed to use VAR function.

BTW, did you notice that all of the values in the second line of data are the first line with 8 added to each? Explains why the variance is the same.

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!

How to Concatenate Values

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.

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
  • 3 replies
  • 725 views
  • 0 likes
  • 4 in conversation