Reference no: EM132206089
You will need to sign into sas studio to complete the homework.
Examine the SAS Log - click on the Log tab - and see that the Print procedure executed
Create a scatter diagram with "height" on the horizontal axis and "weight" on the vertical axis
Creating or modifying data sets
To create a new SAS data set from an existing one, or to modify an existing data set, use the SET statement.
Assume that the data set HTWT exists.
To create a new data set called HTWT2 use
Create a new data set from HTWT including only name and sex
Create a new data set called ARITH from HTWT and carry out some operations
data arith; *new data set;
set htwt; *read HTWT;
sum = height + weight; *sum;
diff = height - weight; *difference;
prod = height * weight; *product;
div = height / weight; *division;
power = age**2; *age squared;
sqrt = age**.5; *power 1/2;
recip=age**-1; *power -1;
negage = -age; *minus age;
negage2=-age*2; *minus age times 2;
complex=((height+weight)/age)**2; *inner paren first;
run;
proc print data=arith;
var name age height weight sum diff prod div power sqrt recip
negage negage2 complex;
run;
Create a new data set COMPARE from HTWT
Create a new data set called LOGICAL from COMPARE.
Create a SAS data set FUNCTION from ARITH.
Create a data set containing just males from HTWT.
Create a data set for females.
Combine the data sets MALE and FEMALE into a new data set including all the observations
Create a data set from HTWT and create a new variable ID that is equal to the observation number
Assume the students have been given a test and their ID number and test score have been recorded. Create a data set with these two variables.
Before margining this new data set with HTWT we must sort it according to the matching variable ID
Create a new data set, or modify an existing one, by merging the two data sets using the BY statement to identify the matching variable.
Attachment:- Introducing SAS.rar
Pseudocode-provide a wgram
: Provide a Wgram that will take an infinite amount of inputs and output the minimum value, maximum value, sum and average.
|
Return the n-th number in the fibonacci sequence
: Write a MATLAB script that prompts the user for a positive integer, N and returns the N-th number in the Fibonacci Sequence.
|
Prompt for user input of an array xin
: Write a Matlab script file Check2 that prompts for user input of an array Xin and displays the output array Xout .
|
Write a method that accepts an array of integers
: Write a method called percent Even that accepts an array of integers as a parameter and returns the percentage of even numbers in the array.
|
Create a new data set
: MFE 6390 - Statistics and Econometrics: Theory and Application - Create a new data set, or modify an existing one, by merging the two data sets
|
Write a matlab script that creates an array with values
: Write a Matlab script that creates an array with values -123, -4, 5, 67, 890, and 12345. Print out the array in several formatted ways.
|
Write a matlab script utilizing an if-else statement
: Write a MATLAB script utilizing an IF-ELSE statement that asks for the user to enter a whole number.
|
Write a matlab script file to perform the task
: Name your file Midterm.m and submit to the Midterm dropbox on E360 when complete. Define a vector V=rand(1, 100).
|
Calculate and print out the squares of all the even integers
: Write the MATLAB program using loops required to calculate and print out the squares of all the even integers between 0 and 50.
|