Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started