Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Math Expert


Home >> Math

1. Save this permanent SAS data set called enrollment.sas7bdat to a convenient location on your computer. Then, use the permanent data set to create a temporary SAS data set called enrollment that contains, in addition to the six variables in the permanent data set, a new numeric variable called college defined as follows:

  • if major is Accounting or Finance, then college is 1
  • if major is Computer Science or Electrical Engineering , then college is 2
  • if major is Biology or Mathematics, then college is 3

Format the new college variable so that:

  • when it equals 1, SAS displays the word Business
  • when it equals 2, SAS displays the word Engineering
  • when it equals 3, SAS displays the word Science

Finally, use your new temporary enrollment data set and the MEANS procedure to create a report containing average SATM and the average SATV for each college and looks just like this: 

2. Read the data contained in the gpa.dat file using a DATALINES statement into a permanent SAS data set called gpa. (To do so, you'll need to copy and paste the data into your SAS program.) The data in each record are: student id (Student), gender (Gender, Male or Female), GPA (GPA), time spent on studying weekly (Weekystudy) and seating location in a classroom (Sitting, Front, Middle or Back). Then, create a new variable called performance defined as follows:

  • if gpa is greater or equal to 3.7, then performance is Good
  • if gpa is greater or equal to 3.0 and less than 3.7, then performance is Average
  • ifgpais less than 3.0, thenperformanceis Bad

Finally, use your new permanent gpa data set to create a report that looks (exactly) like this:

3. Read the data contained in the bmi.dat file directly from the data file into a permanent SAS data set called bmi knowing that:

  • columns 1-6 contain gender (gender)
  • column 8 contains diet treatment (diet)
  • columns 10-12 contain weight in pounds (weight)
  • columns 14-15 contain height in inches (height)
  • columns 17-24 contain date of birth (dob)

When doing so, also create a new variable called bmi that contains BMI for each person. BMI = ( Weight in Pounds / ( Height in inches x Height in inches ) ) x 703. Then, use only the REPORT procedure to create a report that looks (exactly) like this:

And, use only the PRINT procedure to create a report that looks (exactly) like this:

Math, Academics

  • Category:- Math
  • Reference No.:- M91760241
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Math

Maths assignment - 1 analysis of a data setusing a

Maths Assignment - 1. Analysis of a data set Using a continuous data set you are requested to collect in the types of data and gathering data section, perform a statistical analysis on your data. You have opportunities t ...

Assignment - solving the five question in the very details

Assignment - Solving the five question in the very details, thanks a lot. Question - Let a ∈ P n be a point. Show that the one-point set {a} is a projective variety, and compute explicit generators for the ideal I p ({a} ...

Instructionsthe aim of the assignment is that the

Instructions The aim of the assignment is that the student/group studies and applies numerical methods such as Euler's method, the Improved Euler's method and the Runge-Kutta method to solve first-order differential equa ...

Questions - provide solution to the following questionsq1

Questions - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3xdx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find t ...

1 suppose that n 10088821 is a product of two distinct

1. Suppose that n = 10088821 is a product of two distinct primes, and Φ(n) = 10082272. Determine the prime factors of n. 2. It is easy to show that the converse of Fermat's Theorem does not hold; i.e., the congruence a n ...

Question 1 - for the ivp of ode y t-1e-y y1 0 find an

Question 1 - For the I.V.P of ODE y' = (t-1)e -y , y(1) = 0, find an approximation to y(1.2) using the following numerical methods with Δt = 0.1. Compare the numerical solution with the exact solution and compute the err ...

Clarity succinctness writing your name and netid1

Clarity, succinctness, writing your name and Netid: 1 Indistinguishability 1. If {X n }n is computationally indistinguishable from {Y n } n , {Y n } n is computationally indistin- guishable from {Z n } n, then (select th ...

Assignment -question 1 let t and or 0 1 be a boolean

Assignment - Question 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra. Define ∗ : T × T → T and o : T × T → T as follows: x ∗ y := (x ∨ y)' x o y := (x ∧ y)' (a) Show, using the laws of Boolean Algebra, how to define x ∗ y ...

Assessment taskpractical investigation- question 1 requires

Assessment Task Practical Investigation - Question 1 requires selecting reference points from the graph. It is expected that each student will choose different reference points to other students. Take note of the criteri ...

Mathematics- algebraic geometry problemlet k denotes an

Mathematics- Algebraic Geometry Problem Let K denotes an algebraically closed field and let P 1 be constructed as in Example 5.5(a) in Gathmanns notes, i.e. P 1 is the gluing of X 1 = A 1 and X 2 = A 1 along  the open su ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As