Search the Community
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
335 results
Sorted by:
05-23-2024
06:12 AM
Hello
Let's say that I want to create a data set based on sas_help.class data set.
The new data set will have only 2 columns: Var_name , Var_Value
What is the way to do it?
I e...
05-06-2020
07:58 AM
I have a dataset of fund holdings as attached. It is currently in a wide format. I would like to change it to a long format where there is one date column and one number_of_share column. Attached i...
wide_to_long.csv (376 KB)
09-11-2021
03:59 AM
Hello
What are the ways to restructure the data from wide to long structure.
Is it possible to use function VNAME here?
IF we use proc transose then is it essential to perform 2 proc tranpose o...
05-23-2024
07:23 AM
Hello
With continue to previous post,
I want to create a new data set based on sashelp.class data set .
I want that in new data set will have 2 columns; Var_name ,Var_value.
I want it to be d...
12-07-2021
10:36 PM
I have created a data set (have) using following code. Code may not work properly. The print shows as table-1 below. I would like to make the dataset wide, so it shows like table-2.
data h...
04-13-2018
03:12 PM
Hi! I need some help with a reverse transpose or bring wide to long.
i have data like this:
NUM
GR3
GR4
GR5
1
0
1
0
2
1
0
0
3
0...
10-06-2018
05:28 PM
1 Like
Hi everyone, I'm new with SAS and I am trying to transpose multiple variable from wide to long, as in the example mention below The A,B,C is the prefix followed by time (year). ID &n...
09-10-2021
07:30 AM
Hi everyone, Is there a easy way to transpost my wide data into long format? It's a pretty simple dataset which looks like this; ID_mom ID_child&n...
07-01-2020
10:59 AM
Hi All,
I have a dataset below that I would like to transpose from wide to long format. I've always struggled with getting proc transpose to do what I envision but thinking that proc transpose c...
03-24-2021
11:36 AM
I have this wide dataset structure.
data have;
input ID 7. CO2 Methane N2O HFC;
datalines;
1004377 54 28 54 30
1000112 88 40 72 1
;
And I want this long dataset structure.
d...