04-10-2025
steph_
Fluorite | Level 6
Member since
08-05-2021
- 9 Posts
- 2 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by steph_
Subject Views Posted 646 02-24-2025 03:45 PM 840 11-21-2024 12:51 PM 864 11-21-2024 12:30 PM 1126 04-15-2024 09:13 AM 1140 04-15-2024 09:08 AM 884 09-21-2023 11:52 AM 903 09-21-2023 11:19 AM 894 08-09-2021 01:42 PM 1088 08-05-2021 11:24 AM -
Activity Feed for steph_
- Posted Odds Ratio Interpretation on Statistical Procedures. 02-24-2025 03:45 PM
- Liked Re: Multiple Logistic Regression Code Help for StatDave. 11-21-2024 01:00 PM
- Posted Re: Multiple Logistic Regression Code Help on Statistical Procedures. 11-21-2024 12:51 PM
- Posted Multiple Logistic Regression Code Help on Statistical Procedures. 11-21-2024 12:30 PM
- Liked Re: How to make cells with zero counts show up with proc freq statements for Ksharp. 04-16-2024 08:05 AM
- Posted Re: How to make cells with zero counts show up with proc freq statements on SAS Programming. 04-15-2024 09:13 AM
- Posted How to make cells with zero counts show up with proc freq statements on SAS Programming. 04-15-2024 09:08 AM
- Posted Re: Joining multiple datasets on SAS Programming. 09-21-2023 11:52 AM
- Posted Joining multiple datasets on SAS Programming. 09-21-2023 11:19 AM
- Posted Re: Error Code on New SAS User. 08-09-2021 01:42 PM
- Posted Error Code on New SAS User. 08-05-2021 11:24 AM
-
Posts I Liked
02-24-2025
03:45 PM
Hello! I need some help interpretating an odds ratio SAS output. Below is the code. The hot_spot variable is coded as 1= yes, its a hypertension hotspot, 0 = no, it is not a hypertension hotspot. The rural variable is coded as 0= not rural and 1=rural. proc logistic data=work.research_lr; class rural / PARAM = REF; model hot_spot (event='1') = rural; run; And this is the output: What would be the correct interpretation? Thanks in advance!
... View more
11-21-2024
12:30 PM
Hello! I am trying to write code for multiple logistic regression and cannot find what code to use. My outcome/y variable is binary (yes or no but recoded to be numeric) and explanatory/x variables are mainly continuous but there is one binary (recoded to be numeric) variable too. Could someone assist me with some basic code for a starting point? Thanks
... View more
04-15-2024
09:13 AM
Ideally, I wanted to keep the where statement so I do not have to format the data as much. Since I am only interested in Asthma cases.
... View more
04-15-2024
09:08 AM
Hello! I am trying to look at the number of asthma counts by zip code, but when I run the proc freq statement, the zip codes with zero counts of asthma do show up in the results viewer. How can I fix this? Example code below. I have already tried putting 'missing' at the end of the tables step. proc freq data=work.datarequest; tables zipcode*ASTHMA / norow nocol nopercent; where ASTHMA=1; run;
... View more
09-21-2023
11:52 AM
Example: I need to join the 2016 (made up of 100 hospitalizations), 2017 (made up of 200 hospitalizations), and 2018 (made up of 300 hospitalizations) datasets. I am looking at the diabetes, COPD, and CVD variables (which have the same variable name across the datasets). So my end product/dataset would be 2016-2018 datasets combined with a total of 600 hospitalizations. After this new dataset was created, I would be able to run a proc freq statement by whether or not any of those 600 hospitalizations between 2016-2018 were for diabetes, COPD, or CVD.
... View more
09-21-2023
11:19 AM
Hello! I am working with healthcare data and have a dataset for each year of data. So, for example, the 2019 and 2020 datasets have all the same variables/variable names for their respective year. I need to combine/aggregate the 2016-2021 datasets but am having a hard time doing so, or rather, knowing the most succinct way to do so. There are about 10 or so variables I need to let SAS know are the equal to each other across the datasets. Thanks!
... View more
08-09-2021
01:42 PM
Do you know what that specific error code generally means? I did use options mprint symbolgen;
... View more
08-05-2021
11:24 AM
Hello! I am trying to run a code that pulls in a large amount of data from a macros statement. It's not working and I keep getting these errors ERROR: CLI prepare error: Unable to retrieve error message. SQL statement: SELECT * FROM.... Any suggestion of how to fix this? My understanding of SAS is limited so basic language would be appreciated. Thanks!
... View more