BookmarkSubscribeRSS Feed
cvl
Calcite | Level 5 cvl
Calcite | Level 5
Can unequally space time interval be specified by models such as AR, ARMA or TOEP?
or I need to use SP(Pow)? If so, could anyone show me how to do it.

Another more fundamental question , is it necessary to include time effects anytime conducting longitudinal or time series data if time is not the interest.

Thank you
1 REPLY 1
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
If you collect data over time on the same experimental units, you need to account for the repeated measure in the statistical model, whether you care about time or not. If times are not equally spaced, you should normally use one of the of the "SP()()" structures in the repeated statement. You need a variable for time (let's call it time). Then, you could use
repeated / sub=subject type=sp(pow)(time);
where subject defines the experimental unit.

If the times are close to being equally spaced, it is probably a reasonable approximation to use ar(1), or one of the other ones.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

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.

Discussion stats
  • 1 reply
  • 1826 views
  • 0 likes
  • 2 in conversation