Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Data generating


From   "Torben Mideksa" <torben.mideksa@cicero.uio.no>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Data generating
Date   Thu, 20 Nov 2008 09:18:00 +0100

Dear Statalist participants,

I have a list of annual data like

Year		variable_X		variable_Y ...
1900		a			b
.		.			.
.		.			.
.		.			.
1950		c			d

For some reasons, based on annual data alone, I am interested in generating
monthly data for the two or more variables, assuming the monthly data has
zero variance with the average value for each month amounting to annual
value divided by 12. That is, I need 

Year		variable_X		variable_Y ...
1900M1		a/12			b/12
1900M2		a/12			b/12
1900M3		a/12			b/12
.		.			.
.		.			.
.		.			.
1900M12		a/12			b/12
.		.			.
.		.			.
.		.			.
1950M12		c/12			d/12

Question nr 1: How do I do this in stata?
Question nr 2: How do I do it in stata if I want to assume a non-zero
variance still maintaining the sum of the monthly data equals the annual
data?

Thanks in advance for your help.




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index