1.4 You inherited the following SAS program. Add the necessary statements to: (a) Create two new variables. Call one OVERALL, computed as the average of the IQ score, the MATH score, and the SCIENCE score divided by 500. Call the other GROUP, defined as 1 for IQ scores between 0 and 100 (inclusive), 2 for IQ scores be- tween 101 and 140 (inclusive), and 3 for IQ scores greater than 140. (b) Provide a listing of this data set in IQ order. (c) Compute the frequencies for GROUP. *Program to read in IQ and other test scores; DATA IQ_AND_TEST_SCORES; INPUT ID IQ 1-3 4-6 MATH 7-9 SCIENCE 10-12; DATALINES: 001128550590 002102490501 003140670690 004115510510;

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.5: Comparing Sets Of Data
Problem 26PFA
icon
Related questions
Question
1.4 You inherited the following SAS program. Add the necessary statements to:
(a) Create two new variables. Call one OVERALL, computed as the average of the IQ
score, the MATH score, and the SCIENCE score divided by 500. Call the other
GROUP, defined as 1 for IQ scores between 0 and 100 (inclusive), 2 for IQ scores be-
tween 101 and 140 (inclusive), and 3 for IQ scores greater than 140.
(b) Provide a listing of this data set in IQ order.
(c) Compute the frequencies for GROUP.
*Program to read in IQ and other test scores;
DATA IQ_AND_TEST_SCORES;
INPUT ID
IQ
1-3
4-6
MATH
7-9
SCIENCE 10-12;
DATALINES:
001128550590
002102490501
003140670690
004115510510;
Transcribed Image Text:1.4 You inherited the following SAS program. Add the necessary statements to: (a) Create two new variables. Call one OVERALL, computed as the average of the IQ score, the MATH score, and the SCIENCE score divided by 500. Call the other GROUP, defined as 1 for IQ scores between 0 and 100 (inclusive), 2 for IQ scores be- tween 101 and 140 (inclusive), and 3 for IQ scores greater than 140. (b) Provide a listing of this data set in IQ order. (c) Compute the frequencies for GROUP. *Program to read in IQ and other test scores; DATA IQ_AND_TEST_SCORES; INPUT ID IQ 1-3 4-6 MATH 7-9 SCIENCE 10-12; DATALINES: 001128550590 002102490501 003140670690 004115510510;
Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Similar questions
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,