- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
hii
am trying to learn sdtm programming by using the raw datasets. am trying to create a table for vital signs like this
am not able to create for vstestcd as they have shown can anyone please help me with this program
data temp;
set vs (keep= tempf tempu subjid VISITDT vstestcd vstest );
vstestcd="TEMP";
vstest="temperature"
run;
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Please follow the guidance found under the post button when starting a question:
1) Post test data in the form of a datastep into a code window (its the {i} above post). We do not have access to your machine, nor are here to type data in from a screenshot.:
2) Post what the output from that test data should be.
3) Explain in detail what the problem is, you mention errors in the log, again, as we cannot see your computer you need to post the relevant log so that we can also see it.
Your code is syntactically correct as posted, however do note that every row of the data would be set to temperature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
i want the output in this format
but am not able to get the vstestcd its showing some error in this program
data temp;
set vs (keep= tempf tempu subjid VISITDT vstestcd vstest );
vstestcd="TEMP";
vstest="temperature"
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Please follow the guidance found under the post button when starting a question:
1) Post test data in the form of a datastep into a code window (its the {i} above post). We do not have access to your machine, nor are here to type data in from a screenshot.:
2) Post what the output from that test data should be.
3) Explain in detail what the problem is, you mention errors in the log, again, as we cannot see your computer you need to post the relevant log so that we can also see it.
Your code is syntactically correct as posted, however do note that every row of the data would be set to temperature.