Search found 36 matches
- Tue Jan 12, 2016 5:11 am
- Forum: Programming
- Topic: Extracting observations into matrix
- Replies: 4
- Views: 5802
Re: Extracting observations into matrix
thanks! works fine!
- Mon Jan 11, 2016 10:17 am
- Forum: Programming
- Topic: Extracting observations into matrix
- Replies: 4
- Views: 5802
Re: Extracting observations into matrix
sorry that's a bad manner, that I learnt at the beginning of my programming and I still sometimes use it. correct code is
which still doesnt work :(
Code: Select all
scalar observations_{%dpv}{!eqnr} = {%dpv}{!eqnr}.@obs{%dpv}{!eqnr} - Mon Jan 11, 2016 9:24 am
- Forum: Programming
- Topic: Extracting observations into matrix
- Replies: 4
- Views: 5802
Extracting observations into matrix
Hi, I made 3x8 panel regressions. I want to put the number of the observations of each regression into a table. How does this work? My code doesnt work. I think i just need the right @obs command! matrix(3,8) observations observations.setrowlabels consumption investment gdp for %dpv c i y for !eqnr=...
- Thu Nov 19, 2015 1:45 pm
- Forum: Programming
- Topic: Pick one period of panel
- Replies: 1
- Views: 2968
Pick one period of panel
Hi! I have a panel over the period of 1990-2010. I want to plot the average gdp growth and the log(gdp)1990 . So i want to make a beta-convergence analysis. My question is, how can i plot this? My approach would have been trying to obtain a series with the logs of 1990 for each country and then simp...
- Thu Nov 19, 2015 1:38 pm
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
- Thu Nov 19, 2015 1:37 pm
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
- Thu Nov 19, 2015 8:53 am
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
Re: Panel data: sample selection, cross section and period
i use the @meansby function (but by following the clicking instructions of the eviews help)
is there a code for it?
something like this?
is there a code for it?
Code: Select all
series gdp_average = @meansby(gdp).@crossid - Wed Nov 18, 2015 1:20 pm
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
Re: Panel data: sample selection, cross section and period
the @meansby doesnt work. it gives me a weird list, where in the @crossid column, there are means I dont understand like [0,50] and [50,100]. these are definily not the means i am looking for.
isn't there a quick code for it?
best
YK
isn't there a quick code for it?
best
YK
- Wed Nov 18, 2015 12:38 pm
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
Re: Panel data: sample selection, cross section and period
unfortunately, I am not even aware of the basics. the @crossid doesn't want to work. how does it look like, if i want to run the regression equation uncon_beta.ls dlog(ypc) log(ypc) c for 28 eu countries (aut, bel, etc.) is it if @crossid=aut bel dnk equation uncon_beta.ls dlog(ypc) log(ypc) c and f...
- Wed Nov 18, 2015 5:52 am
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
Re: Panel data: sample selection, cross section and period
at first, i cannot find this option in the estimation window.
secondly, in the sample window, it doesnt work to just put the country code ("aus" is not defined)
thirdly, there must be a simple code to choose certain countries (= cross sections). i havent figured that one out.
best
YK
secondly, in the sample window, it doesnt work to just put the country code ("aus" is not defined)
thirdly, there must be a simple code to choose certain countries (= cross sections). i havent figured that one out.
best
YK
- Tue Nov 17, 2015 9:21 am
- Forum: Estimation
- Topic: Panel data: sample selection, cross section and period
- Replies: 17
- Views: 21486
Re: Panel data: sample selection, cross section and period
I would have have the exact same question and just can't find an answer. Is there somewhere an answer?
Best
YK
Best
YK
- Mon Nov 09, 2015 10:40 am
- Forum: Programming
- Topic: add coefs of lags up
- Replies: 11
- Views: 9314
Re: add coefs of lags up
this one worked finally! 'calculate the sum of the WS-coefs continuisly for %dpv c i y 'for dep var eq for !eqnr= 1 to 4 'for equation number for !h=1 to 8 scalar effect_{%dpv}{!eqnr}{!h} = {%dpv}{!eqnr}.@coef(!h) next next next for %dpv c i y 'for dep var eq for !eqnr= 1 to 4 'for equation number f...
- Mon Nov 09, 2015 10:14 am
- Forum: Programming
- Topic: how to refer to last coefficient inside string variable
- Replies: 1
- Views: 2773
how to refer to last coefficient inside string variable
Hi,
this is the code that i want to use However, the h-1 does not work. How can i come across it?
best
Yk
this is the code that i want to use
Code: Select all
scalar effect_{%dpv}{!eqnr}{!h} = effect_{%dpv}{!eqnr}{!h-1} + {%dpv}{!eqnr}.@coef(!h)
best
Yk
- Mon Nov 09, 2015 4:16 am
- Forum: Programming
- Topic: add coefs of lags up
- Replies: 11
- Views: 9314
Re: add coefs of lags up
it still doesnt work. it is again: "EFFECT_c12 is not defined or is an illegal command in
"EFFECT_{%DPV}{!EQNR}{!H} = EFFECT_{%DPV}{!EQNR}{(!H
-1)} + {%DPV}{!EQNR}.@COEF(!H)"
hmm.. i really need to make this guy work. any other suggestions?
thanks
best
YK
"EFFECT_{%DPV}{!EQNR}{!H} = EFFECT_{%DPV}{!EQNR}{(!H
-1)} + {%DPV}{!EQNR}.@COEF(!H)"
hmm.. i really need to make this guy work. any other suggestions?
thanks
best
YK
- Thu Nov 05, 2015 11:00 am
- Forum: Programming
- Topic: add coefs of lags up
- Replies: 11
- Views: 9314
Re: add coefs of lags up
hmmmm tried this, but got same error (EFFECT_c12 is not defined or is an illegal command in "EFFECT_{%DPV}{!EQNR}{!H} = EFFECT_{%DPV}{!EQNR}{(!H -1)} + {%DPV}{!EQNR}.@COEF(!H)".) matrix (70,70) lags_spec scalar effect_c11 = c1.@coef(1) for %dpv c i y 'for dep var eq for !eqnr= 1 to 4 'for ...
