Month: May 2024

M11 Workshop STAT674

No Picture

for this workshop, we are going to use the CITIDAY dataset from SASHELP library.     check the dataset and have a general understanding of the data structure before proceed; *Q1 (10 pts);*     Print the value of STOCK MKT INDEX:NY…

Read More »

Assignment 10 Stat674

No Picture

Module 10 focuses on the use of macro variables, which can add a lot of flexibility to your SAS coding.   The first step is to calculate the mean for all the variables. Use a PROC MEANS to…

Read More »

M10 Workshop STAT674

No Picture

*** M10 workshop ***; *Q1 will be based on these two datasets; data models;input Model $ 1-12 Type $ @23 Price DOLLAR9.2 @33 Frame $;format  price DOLLAR9.2;datalines;Black Bora   Track    $796.00   AluminumDelta Breeze Road     $399.00   CroMolyJet Stream   Track    $1,130.00…

Read More »

M9 Assignment STAT674

No Picture

1. (80 pts) Continue to work with the 6 datasets of a bookstore: customers, items, list, orders, prices, and salesrep.  Use PROC SQL only for this question. No data steps or other PROCs are allowed. 6. (20 pts)…

Read More »

M9 Workshop STAT674

No Picture

*********************************************************************;*Question 1 (20 pts);**** For the two datasets below,     1a. use a data step to merge, and     1b. use a PROC sql to join.     1c. Do you get the same results? If no, update your proc sql to…

Read More »

Assignment 8 STAT674

No Picture

In order to get full credit, you need show all necessary code and output wherever necessary. – a new variable rev2 that will have the same value as revenue, but formatted to have no dollar sign, – a…

Read More »

M8 Workshop Stat674

No Picture

data vitals;   input OBS PATIENT DATE DATE7. PULSE TEMP BPS BPD;cards;1 101 25MAY01 72 98.5 130 882 101 01JUN01 75 98.6 133 923 101 08JUN01 74 98.5 136 904 102 30JUL01 81 99.0 141 935 102 06AUG01 77…

Read More »

M7 Assignment STAT674

No Picture

/*Q1: Customer information in a bank is separated in two datasets as below.*/ data customer_demo;length ID 3 Gender $1 income $5;input ID Gender $ income $;datalines;123 F 10k234 M 15K345 F 20K678 F 21K987 M 25K;run; data customer_balance;length…

Read More »

M7 Workshop STAT674

No Picture

* Total 80 points for this workshop;/*The local school district has a SAS data set called DISTRICT that contains the rubric used for classifying teachers’sannual evaluations. The evaluation rating is based on two components: a teacher score and…

Read More »

M6 Assignment STAT674

No Picture

Now that you have learned SAS data steps and basic procedures, you can start to use simulation to better understand some basic statistics. In this assignment, you will try and simulate the sample mean of a variable.  Follow…

Read More »