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

  Show that state i is also recurrent

By summing over n, show that state i is also recurrent. Hint: Use Theorem 6.2.6. Explain why this shows that all states in a class are recurrent or all are transient.

  Create a scatterplot for the natural logarithm

Fit a linear regression equation to the data, regressing price on the rating. Does this fitted model make substantive sense and create a scatterplot for the natural logarithm of the price on the rating. Does the relationship seem more suited to regr..

  Compare spatial and temporal patterns in air quality

Given 4 datasets regarding (compare spatial & temporal patterns in air quality and ground waters at two different locations) to be programmed separately using R

  What conclusions can be drawn from the f-ratios

What conclusions can be drawn from the F-ratios and what is the effect size, and what does this mean

  Construct a research question that can be answered

Construct a research question that can be answered with a multiple regression analysis - provide an explanation of what the implications of social change might be.

  Examine correlation and bivariate regression testing

Based on the dataset you chose, construct a research question that can be answered with a Pearson correlation and bivariate regression.

  Explain the variation in starting salaries

Explain the variation in starting salaries for college graduates based on the college GPA. The following data were collected through a random sample of the clients with which this company has been associated.

  What are the null and alternative hypotheses?

What is the conclusion based on your test statistic - What is the expected value of those with a present diagnosis of gonorrhea having a previous episode of urethritis?

  Find the fraction of time that the server is busy

Apply Little's theorem, not to the system as a whole, but to the number of customers in the server (i.e., 0 or 1). Use this to find the fraction of time that the server is busy.

  Difference between average age of nfc and afc players

Is there a significant difference between the average age of NFC players and AFC players? (by "significant" we mean statistically significant)

  Show that every markov chain states contains set of states

Show that every Markov chain with M ∞ states contains at least one recurrent set of states. Explaining each of the following statements is sufficient.

  Show that for an arbitrary renewal process number of renewal

The purpose of this exercise is to show that for an arbitrary renewal process, N(t), the number of renewals in (0, t] is a (non-defective) rv.

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