Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Tests for Discrete Variables?

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

☑ This topic is **solved**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 10-16-2023 11:53 PM
(436 views)

I have a basic stats question, followed by a basic SAS question 🙂

I'm working my way through analyzing data for an assignment. For my dependent variable(motor and cognitive recovery post-stroke), I have data from a questionnaire, with possible scores between 18 and 126. My independent variables (positive affect and social support) are also rated on scales of 0 to 12 and 11 to 55.

I'm struggling with what type of tests to run, because I'm not sure what to consider the data.

Are they continuous, discrete, or could they be considered ordinal since the higher the scale, the more positive the result?

I might be overthinking, but any help is appreciated.

My second question is, what tests work best for these type of data?

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

I think the variables can be considered continuous. Although the person filling out the survey will probably use integers, values like 8.5 or 12.3 make perfect sense for these data. It's a bit like measuring weights to nearest pound or kilo: most people report integer values although the scale is continuous.

As to "what tests work best," that depends on your research question. Are you trying to predict or model values of the dependent variable based on values of the indep variables? If so, consider starting with a linear model, perhaps by using PROC GLM.

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

I think the variables can be considered continuous. Although the person filling out the survey will probably use integers, values like 8.5 or 12.3 make perfect sense for these data. It's a bit like measuring weights to nearest pound or kilo: most people report integer values although the scale is continuous.

As to "what tests work best," that depends on your research question. Are you trying to predict or model values of the dependent variable based on values of the indep variables? If so, consider starting with a linear model, perhaps by using PROC GLM.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Thank you for your response! That is exactly what I'm hoping to do, so a PROC GLM it is.

Are you ready for the spotlight? We're accepting content ideas for **SAS Innovate 2025** to be held May 6-9 in Orlando, FL. The call is **open **until September 16. Read more here about **why** you should contribute and **what is in it** for you!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.