Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Re: Is score data as count vs continuous

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** and **locked**.
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-17-2017 11:24 AM
(1538 views)

I've done a bit of reading and gathered I need to run a Poisson regression. I transformed the data into long and ran this:

proc genmod data=long;

class time eid;

model score= time / dist = poisson

link = log;

repeated subject=eid / corr=exch corrw;

run;

The repeated subject line takes into account the paired data, correct? Do I include time in the class statement because I've seen it both ways? I used exchanged since I saw that in an example, but I know there is much more to it.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

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

3 REPLIES 3

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

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

If I have three repeated observations per subject, what CORR can I use?

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

You can use any of the available correlation structures. Choose the one that matches the pattern of correlations that you suspect exist among your repeated measures. The exchangeable (TYPE=EXCH) structure assumes that all pairs of repeated measures have the same correlation. The unstructured correlation matrix (TYPE=UN) allows all pairs of repeated measures to have different correlations. This is the most general structure but also requires the most correlations to be estimated and can therefore result in model fitting errors. Other structures (like TYPE=AR) allow for degradation of the correlation for pairs of repeated measures farther apart (such as when measures are done over time).

For more, see this note.

**SAS Innovate 2025** is scheduled for May 6-9 in Orlando, FL. Sign up to be **first to learn** about the agenda and registration!

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.