I hope to use statistical procedure to partition a variable of a panel dataset into cross-sectional variation and time-series variation (within and between variation). Suppose my data looks like:
Y X ID DATE
I hope to know how Y varies cross-sectionally according to ID holding DATE fixed. I also hope to know how Y varies according to DATE time-series, holding ID fixed. My description may not conform to statistical lingo, could you offer me some advice on how to do so? Thank you –
Here is how you request the variance decomposition from the procedure. It gives you the within and between variation for the VC model. You can grab this example and run it in SAS. Also, to get the full output from the procedure, simply delete the line "ods select VarianceComponents". I included it to keep your output as small as possible.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.