We cannot tell without seeing how your study is setup.
Normally if you are asking the same questions the values should be stored into the same variable. If the question is different then it will require a different variable. For example if you ask their weight in the first wave/year and again in the follow-up years then you should store that into the same variable and have different observations for the separate wave/year. But if you asked their change from baseline weight that would be a different variable and only apply to the the follow-up waves and not the initial wave. So the variable will have a missing value for the observation that represents the wave where it does not apply.
@Sudeep_Neupane wrote:
Makes sense. It seems like I will have to SET then as it matches your first scenario. Well basically, I have four waves, and within those waves, the same variable is calculated 5 to 6 times at different periods of time.
Depending on how it is stored you might have a series of variables. X1 - X6 for example. Or you might have multiple observations per wave with the time period as a secondary key variables. But that is probably not how it is currently setup based on the observation counts you provided before.
You can always convert from one structure to another structure depending on your reporting/analysis needs.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
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.
Ready to level-up your skills? Choose your own adventure.