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: Mixed effect model for complex survey data using replicate weights...

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 09-16-2020 06:45 PM
(1131 views)

Hello,

I am doing a longitudinal analysis using Population Assessment of Tobacco and Health (PATH) data, which uses 1 final weight and 100 replicate weights and Fay's method of balanced repeated replication (BRR) to account for complex survey design (example code shown in image below).

I'm not familiar with this sort of survey design, and this is my first time working with longitudinal data.

Does anyone know if there is a PROC in SAS which will allow me to incorporate both VARMETHOD, WEIGHT, and REPWEIGHTS statements in conjunction with a REPEATED statement? Or does anyone know of some other way to implement all this?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

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

There is no way to conduct this BRR method in a mixed effects model in SAS. You can manually achieve this BRR method by following these instructions from the PATH user guide:

**"Although software packages do not universally accommodate replicate weights for all analytic methods, the replication method can be applied by repetition to any analytic routine. That is, the desired analysis would first be run using the full-sample weight. Then, it would be repeated replacing the full-sample weight by each replicate weight, in turn (i.e., 100 times for PATH). The formula for BRR variance estimates (provided in equation 5.2.1) would then be used to estimate the variance of any parameter (e.g., regression coefficient) of interest."**

1 REPLY 1

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

There is no way to conduct this BRR method in a mixed effects model in SAS. You can manually achieve this BRR method by following these instructions from the PATH user guide:

**"Although software packages do not universally accommodate replicate weights for all analytic methods, the replication method can be applied by repetition to any analytic routine. That is, the desired analysis would first be run using the full-sample weight. Then, it would be repeated replacing the full-sample weight by each replicate weight, in turn (i.e., 100 times for PATH). The formula for BRR variance estimates (provided in equation 5.2.1) would then be used to estimate the variance of any parameter (e.g., regression coefficient) of interest."**

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.