Quiz 8 Question 4 of 20

A data scientist uses the following SAS code: DATA scored; SET new_customers; ARRAY wts{5} w1-w5; pred = 0; DO i = 1 TO 5; pred + wts{i} * input{i}; END; DROP i; RUN; What is this DATA step implementing?

Select an answer to reveal the explanation.

Motivation