Create a new data set

Assignment Help Advanced Statistics
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

1610_procedure.jpg

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

Verified Expert

Sas studio has been logged in to study the exercise which needs to be made in the power point where heading has been written as “Introducing SAS”. It requires to present how a SAS program and its structure is created and by showing the process in the ppt along with the running process of SAS program.

Reference no: EM132206089

Questions Cloud

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.

Reviews

len2206089

1/2/2019 5:01:05 AM

you will need to sign into sas studio to complete the homework. username is password is Beautiful8.Watch and repeat the same exercises as in the PowerPoint lecture "Introducing SAS" located on Blackboard (Learning Modules folder/Introduction to SAS). 3. Save your exercise outputs from point 2 above and submit as a single document (This is your homework for Week 1).

Write a Review

Advanced Statistics Questions & Answers

  Relationship between speed, flow and geometry

Write a project proposal on relationship between speed, flow and geometry on single carriageway roads.

  Logistic regression model

Compute the log-odds ratio for each group in Logistic regression model.

  Logistic regression

Foundations of Logistic Regression

  Probability and statistics

The tubes produced by a machine are defective. If six tubes are inspected at random , determine the probability that.

  Solve the linear model

o This is a linear model. If your model needs a different engine, then you need to rethink your approach to the model. Remember, there are no IF, Max, or MIN statements in linear models.

  Plan the analysis

Plan the analysis

  Quantitative analysis

State the hypotheses that you are going to test.

  Modelise as a markov chain

modelise as a markov chain

  Correlation and regression

What are the degrees of freedom for regression

  Construct a frequency distribution for payment method

Construct a frequency distribution for Payment method

  Perform simple linear regression

Perform simple linear regression

  Quality control analysis

Determining the root causes

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd