BookmarkSubscribeRSS Feed
fieldsa83
Quartz | Level 8

Using longtidunal monthly sample data. I can get the coefficient for total frequency in Month1 and Month2, but the change of the frequency between the two months has high correlation and therefore the variance of the CHANGE is not equal to the upper and lower bounds of the monthly estimates.

 

How can I calculate the variance of the month-to-month change using bootstraps and proc surveyfreq or surveymeans?

1 REPLY 1
ballardw
Super User

Are you using variance to mean something other than the normal statistical definition of variance as sigma-squared?

 

This almost sounds more like a time-series question. If so then the survey procs can only possibly be a part of the solution.

 

You may have to provide a little more concrete example, such as some data and the desired result along with what code you have been running to illustrate your situation.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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