SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PSZ
Calcite | Level 5 PSZ
Calcite | Level 5

If I want to adjusted my model by baseline age, do I need to add baseline age to all the follow up visits?

 

For example,

 

 

person    visit                    group             Age                                                  bloodpressure

1             baseline             a                    baseline age                                          100

2             baseline             b                    baseline age                                           101

1             visit1                  a                    baseline age  or visit1 age?                    101

2             visit1                   b                   baseline age or visit1 age?                      102

 

Thank you very much!

1 ACCEPTED SOLUTION

Accepted Solutions
rbikes
Obsidian | Level 7
Yes, you would need to have a column that just has baseline age per person.

View solution in original post

2 REPLIES 2
rbikes
Obsidian | Level 7
Yes, you would need to have a column that just has baseline age per person.

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1047 views
  • 0 likes
  • 2 in conversation