The following components make up your total grade: CRITERIA PERCENTAGE Homework 20% Labs 5% Midterm exams 35% Final exam 35% Online participation 5% ID Homework Labs Midterm exams Data set EVALUATION has the following contents: Final exam Online participation Final exam 12345 98 91 81 88 86 85 81 85 98 94 80 95 99 96 90 92 73 87 69 69 PARKK 90 70 84 91 85 (a) Write a program to create a new variable, SCORE, by calculating weighted mean for each ID. Hint: The weighted mean of data (1, 2,...,xn), with corresponding weights (w1, w2,, wn) is C = ΣΕ Σω (b) Your overall grade will be rounded to the nearest whole number (Ex: 79.5 rounds up to 80 and 79.4 rounds down to 79) and assigned a letter grade according to the scale below: SCORE Range ≥ 90 GRADE A > 80 and < 90 > 70 and < 80 B C > 60 and <70 < 60 D F Write a program to create a new variable, GRADE, by recoding the values of the variable SCORE into groups. Here is the data: ID Homework Labs Midterm exams Final exam Online participation 12345 98 91 81 88 90 86 85 81 85 70 98 94 80 95 84 99 96 90 92 91 73 87 69 69 85

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%

Using SAS

The following components make up your total grade:
CRITERIA
PERCENTAGE
Homework
20%
Labs
5%
Midterm exams
35%
Final exam
35%
Online participation
5%
ID Homework Labs Midterm exams
Data set EVALUATION has the following contents:
Final exam Online participation
Final exam
12345
98
91
81
88
86
85
81
85
98
94
80
95
99
96
90
92
73
87
69
69
PARKK
90
70
84
91
85
(a) Write a program to create a new variable, SCORE, by calculating weighted mean for
each ID. Hint: The weighted mean of data (1, 2,...,xn), with corresponding weights
(w1, w2,, wn) is
C =
ΣΕ
Σω
(b) Your overall grade will be rounded to the nearest whole number (Ex: 79.5 rounds up
to 80 and 79.4 rounds down to 79) and assigned a letter grade according to the scale
below:
SCORE Range
≥ 90
GRADE
A
> 80 and < 90
> 70 and < 80
B
C
> 60 and <70
< 60
D
F
Write a program to create a new variable, GRADE, by recoding the values of the
variable SCORE into groups.
Here is the data:
ID Homework Labs Midterm exams Final exam
Online
participation
12345
98
91
81
88
90
86
85
81
85
70
98
94
80
95
84
99
96
90
92
91
73
87
69
69
85
Transcribed Image Text:The following components make up your total grade: CRITERIA PERCENTAGE Homework 20% Labs 5% Midterm exams 35% Final exam 35% Online participation 5% ID Homework Labs Midterm exams Data set EVALUATION has the following contents: Final exam Online participation Final exam 12345 98 91 81 88 86 85 81 85 98 94 80 95 99 96 90 92 73 87 69 69 PARKK 90 70 84 91 85 (a) Write a program to create a new variable, SCORE, by calculating weighted mean for each ID. Hint: The weighted mean of data (1, 2,...,xn), with corresponding weights (w1, w2,, wn) is C = ΣΕ Σω (b) Your overall grade will be rounded to the nearest whole number (Ex: 79.5 rounds up to 80 and 79.4 rounds down to 79) and assigned a letter grade according to the scale below: SCORE Range ≥ 90 GRADE A > 80 and < 90 > 70 and < 80 B C > 60 and <70 < 60 D F Write a program to create a new variable, GRADE, by recoding the values of the variable SCORE into groups. Here is the data: ID Homework Labs Midterm exams Final exam Online participation 12345 98 91 81 88 90 86 85 81 85 70 98 94 80 95 84 99 96 90 92 91 73 87 69 69 85
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman