proc sort with nodupkey based on the value of a variable
suppose to have the following dataset:
How to determine number of rows in a dataset in the do loop
I have below SAS
code
Error in downloading data directly from internet
I want to download some data in CSV format from internet as used below code
How to add all the columns at once in a CATS function instead of writing them one by one
I have the following data:
Format dates as sas dates
I’m in a really frustrating situation.
I received a dataset to be analyzed. It contains dates as follows:
Reorder columns in a SAS dataset
I have the following dataset:
Weekly time lags
suppose to have the following dataset:
How do I create a chart that shows influence diagonistics like the image attached below?
I am analyzing set of datas, consisting of 5 independent variables(x1,x2,x3,x4,x5) and a dependent variable(y), with each variable having 60 data.
When I try to run code below to identify the outliers and influential points, but does not present a graph, and dev and c are not calculated properly. How can I fix the code below to show influence diagnostics like the attached screenshot. Thank you.
Change the order of many variables in sas
I have a number of files I merged to have a single final dataset.
While doing this, sas ordered the variables as follows: n_myvar1_NUM, n_myvar10_NUM, n_myvar11_NUM, ….. I tried to order the dataset with retain function to get the following corrected order: n_myvar1_NUM, n_myvar2_NUM, n_myvar3_NUM etc, but without success.
Run a macro on many files
I have a number of files on which to run a macro. They are approximately 300.
I have to do something like this: