Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The raw data file called Class.dat contains three test scores for each of two students in a class. If you submit the following SAS program,

The raw data file called Class.dat contains three test scores for each of two students in a class.
If you submit the following SAS program, what will be the value of the variable represented by p(i) for the first observation after the second time through the iterative DO group?
----+----1----+----2
222 Jimmy 958575
333 Ulric 908070
DATA score;
INFILE 'c;\MyRawData\Class.dat';
INPUT ID Name $ Test1 Test2 Test3;
ARRAY t(3) Test1- Test3;
ARRAY p(3) Prop1- Prop3;
DO i =1 to 3;
p(i)= t(i)/100;
END;
Total = SUM(Test1- Test3);
RUN;
0.80
0.85
0.70

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

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

1. What causes musculoskeletal pain?

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago

Question

Is how things are said consistent with what is said?

Answered: 1 week ago