SIMULATION
Scenario:
This project will use data setcert.input04. At any time, you may save your program asprogram04incert\programs. Write a SAS program that will create the data setresults.output04.
In this program, complete the following mathematical actions, in the following order:
Round VAR1 and VAR2 to the nearest integer values.
Multiply the rounded VAR1b y the rounded VAR2 and assign the new value to VAR3.
Add VAR12 through VAR19 (8 variables) together, ignoring missing values. Assign the sum to VAR20.
For observation 16, what is the value ofVAR20? Enter your numeric answer in the space below. Round your answer to the nearest whole number. Save your program asprogram04.sasincert\programs before continuing with the next project
SAS code that could be used to solve this project:
data results.output04;
set cert.input04;
var3=round(var1,1)*round(var2,1);
var20=sum(of var12-var19);
run;
proc print data=results.output04 (obs=16 firstobs=16);
var var3 var20;
run;
If you got this question wrong because you didn't round to the nearest whole number, please know that the actual exam will restrict you to entering only a whole number to prevent this from occurring. The correct answer is: 3175
Huey
4 months agoFausto
4 months agoCassandra
5 months agoVeronika
5 months agoAntonio
5 months agoMonte
5 months agoAlaine
6 months agoMaxima
6 months agoRenea
6 months agoLisbeth
6 months agoJanessa
6 months agoKarina
7 months agoLawrence
7 months agoThad
12 months agoSherita
10 months agoGerry
11 months agoCarole
11 months agoJoseph
1 year agoCharisse
10 months agoDeandrea
10 months agoMary
10 months agoBrunilda
10 months agoAyesha
11 months agoWendell
11 months agoHolley
12 months agoTroy
12 months agoDouglass
1 year agoJolene
12 months agoNicholle
12 months agoTashia
1 year agoMelodie
1 year agoDierdre
1 year agoMelodie
1 year ago