BookmarkSubscribeRSS Feed
PHodges
Calcite | Level 5

I need assistance fitting a weighted generalized estimating equation to my data.  Please see attachment.

Pernell

7 REPLIES 7
FriedEgg
SAS Employee

Can you provide an example of your data?  What is the problem you are experiencing exactly?  In your code you call two macros: %dropout, %dropwgt, what is their purpose?

PHodges
Calcite | Level 5

I'm trying to fit a weighted generalized estimation equation to my data.  I'm getting error messages.  I got the macros from a book on longitudinal data analysis by Molenberghs.  The DROPOUT macro is used to construct the the variables 'dropout' and 'prev.'  The 'dropout' term is important and indicates if participants have dropped out of the study before its completion.  The 'prev' term refers to the outcome at previous occasions.  The DROPWGT macro creates weights that are equal to the product of the probability of either dropping out at that time or continuing in a study. 

art297
Opal | Level 21

Where does the file armd111 come from?

PHodges
Calcite | Level 5

I'm not sure.  I got it from a book on missing data.  Could that be a problem?  If so, what can I do about it?

Pernell

art297
Opal | Level 21

I can only suggest that you read Professor Molenberghs' book a little more thoroughly.  He does use a file called armd111 as an input to that particular analysis, but you would have to read the book to see exactly what he is doing and why.

But, yes, not having the input file on which the analysis is to be based would definitely pose a rather major problem.

PHodges
Calcite | Level 5

What can I do about the input file?  What can I replace it with?

art297
Opal | Level 21

I have to think that the book explains what the file is and how it is applied.  If not, why not write directly to Professor Molenbergh?

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 1416 views
  • 0 likes
  • 3 in conversation