Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read the data contained in the final.dat file directly from the data file into a permanent SAS data set called final knowing that:columns 1-2 contain

Read the data contained in the final.dat file directly from the data file into a permanent SAS data set called final knowing that:columns 1-2 contain student number (subj)column 3 contains the gender of the student (gender)columns 4-8 contain the name of the teacher (teacher)columns 9-10 contain the age of the teacher (age)columns 11-12 contain the student's pretest score (pretest)columns 13-14 contain the student's posttest score (posttest)Use the variable names given in the parenthesis. When doing so, create a new variable called change that contains the difference in the student's pretest and posttest scores.In addition, create another new variable, improved defined as follows:if change is less than or equal to 0, then improved is 'No'if change is greater than 0, then improved is 'Yes' Use the PRINT procedure to print the final data set so that your output looks (exactly) like this:final1.png Note that you will also have to do the following to get the same output:Create a format for the gender variable.Use label to display the same column headings.

image text in transcribed
1MJones356781 2FJones359886 3MJones355292 4MBlack424174 5FBlack424676 6MSmith683880 7MSmith684971 8FSmith683863 9MHayes237172 10FHayes234692 11MHayes237090 12FWong 474964 13MWong 475063

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

Elementary Differential Equations And Boundary Value Problems

Authors: William E Boyce, Richard C DiPrima

10th Edition

1118475739, 9781118475737

More Books

Students also viewed these Mathematics questions

Question

6.57 Find a zo such that a. P(zzo) 0.9750 b. P(zzo) 0.3594

Answered: 1 week ago