Hi there,
I'm trying to first difference my variable on industrial production, but all I get are missing values. What am I doing wrong?
clear
input int DATE double INDPRO
6940 53.2837
6971 53.5675
6999 53.7364
7030 53.1571
7060 53.5566
7091 53.5534
7121 53.4808
7152 53.1195
7183 53.1786
7213 53.4617
7244 53.409
7274 53.4536
7305 53.7071
7336 53.7262
7365 53.5481
tset DATE, monthly
gen IP = L.INDPRO
Why is this yielding noting but missing values?
Related Posts with First Differencing Error
Error termsI have generated a dataset with 3 normally distributed random variables. I now want to introduce a f…
How can I Make these code to loop code ?Hi. I want to make loop code of below. Code: gen A01_GLU0_new =. replace A01_GLU0_new = A01_GLU0_…
Set of error termsIf I want to create a set of error terms in a dataset. Can I just use the variable gen error = rnorm…
Loop, sequence, and save with new name each timeLet me see how best i can explain my situation: I have a program that I want to loop I want the loo…
Controlling for confounders in t-testsHi all, I'm a little stuck on a paper looking at differences in fasting glucose levels between diff…
Subscribe to:
Post Comments (Atom)
0 Response to First Differencing Error
Post a Comment