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-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 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
  • 1401 views
  • 0 likes
  • 2 in conversation