Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Rewrite the following program to assign the starting and ending values of the DO loop to macro variables. Print the results. data func1; do n

Rewrite the following program to assign the starting and ending values of the DO loop to macro variables. Print the results.

data func1;

do n = -3 to 3;

f1 = 1/2/sqrt(constant('pi'))*exp(-(n**2)/2);

output;

end;

run;

title "normal density function values form -3 to 3";

proc print data = func1 noobs;

run;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Describe the revenue cycle for healthcare firms.

Answered: 1 week ago