## Calculate variance of month-to-month change using surveyfreq or surveymeans and bootstrap weights

Frequent Contributor
Posts: 79

# Calculate variance of month-to-month change using surveyfreq or surveymeans and bootstrap weights

[ Edited ]

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?

Super User
Posts: 12,316

## Re: Calculate variance of month-to-month change using surveyfreq or surveymeans and bootstrap weight

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.

Discussion stats