Search found 149 matches
- Wed Sep 26, 2012 8:31 am
- Forum: Add-in Support
- Topic: BPTest (Breusch-Pagan LM test for random effects)
- Replies: 44
- Views: 181021
Re: BPTest (Breusch-Pagan LM test for random effects)
Please reinstall this addin and do the BP-test again.
- Tue Sep 18, 2012 1:55 pm
- Forum: Estimation
- Topic: dummy variable for panel data
- Replies: 7
- Views: 10820
Re: dummy variable for panel data
Yes, I just give an example to make a dummy with (0), 1, or 2 depending on the legal origin condition.
As an example, will produce a dummy with 1 if legal = English, 0 otherwise.
As an example,
Code: Select all
series dum = 0
smpl if legal = "English"
dum = 1
- Tue Sep 18, 2012 11:29 am
- Forum: Estimation
- Topic: dummy variable for panel data
- Replies: 7
- Views: 10820
Re: dummy variable for panel data
Code: Select all
smpl @all
series dum=0
smpl if legal="French"
dum=1
smpl if legal="English"
dum=2
smpl @all
- Wed Sep 12, 2012 1:18 pm
- Forum: Program Repository
- Topic: Basic Rolling Regression
- Replies: 134
- Views: 3883337
Re: Basic Rolling Regression
This is because the storage matrix was set to be 2-by-!nrolls. Now the number of coefficients is 5 so that we need to change the storage matrix size.
- Wed Sep 12, 2012 8:34 am
- Forum: Program Repository
- Topic: Basic Rolling Regression
- Replies: 134
- Views: 3883337
Re: Basic Rolling Regression
You can make a storage vector/matrix before doing the loop (e.g. vector(!nrolls) RMSE) and store RMSE values in the loop.
- Mon Sep 10, 2012 9:48 am
- Forum: Program Repository
- Topic: Basic Rolling Regression
- Replies: 134
- Views: 3883337
Re: Basic Rolling Regression
Please change the line to
Code: Select all
if @dtoo(%end) < @dtoo(%4pere) then
Code: Select all
if @dtoo(%end) < @dtoo(%1pere) then
- Fri Sep 07, 2012 12:17 pm
- Forum: Program Repository
- Topic: Basic Rolling Regression
- Replies: 134
- Views: 3883337
Re: Basic Rolling Regression
'run rolling regression ' set window size !window = 24 ' set step size !step = 1 ' get size of workfile !length = @obsrange ' declare equation for estimation equation eq1 'calculate number of rolls !nrolls = @floor((!length-!window)/!step) 'matrix to store coefficient estimates matrix(2,!nrolls) co...
- Fri Sep 07, 2012 9:13 am
- Forum: Program Repository
- Topic: Basic Rolling Regression
- Replies: 134
- Views: 3883337
Re: Basic Rolling Regression
Do I need to have the 2001.01-2012.06 monthly data x and y ready in the workfile to start with the forecasting? What should I replace the " u 800" in your original code? The following three lines will create an undated workfile (named UNTITLED) and generate random series usdaud and usoil....
- Fri Aug 24, 2012 9:18 am
- Forum: Estimation
- Topic: x12
- Replies: 6
- Views: 6919
Re: x12
Did you see Page 349 of EViews User Guide I?
- Thu Aug 09, 2012 8:42 am
- Forum: Programming
- Topic: Help Needed to Get Program to Run Existing Workfile Data
- Replies: 9
- Views: 6916
Re: Help Needed to Get Program to Run Existing Workfile Data
Code: Select all
'create a workfile
wfcreate junb1_monthly_data.wf1 q 1930 2014
- Thu Aug 09, 2012 8:28 am
- Forum: Programming
- Topic: Help Needed to Get Program to Run Existing Workfile Data
- Replies: 9
- Views: 6916
Re: Help Needed to Get Program to Run Existing Workfile Data
Can you see your workfile with your dataset of interest?
- Wed Aug 08, 2012 9:49 am
- Forum: Programming
- Topic: Help with final adjustment of program
- Replies: 2
- Views: 5032
Re: Help with final adjustment of program
The given program seems to be a sketch of your project. Without knowing exactly what you are trying to do with your data, it is uneasy to help you. I think that I can give you one hint at this moment. As far as I understood your question correctly, you need to make the recursive procedure to be a su...
- Tue Aug 07, 2012 9:57 am
- Forum: Programming
- Topic: Deperately seeking rolling forecast help
- Replies: 22
- Views: 28224
Re: Deperately seeking rolling forecast help
' 5-period-ahead forecast %5pers = @otod(@dtoo(%start)+!i+!window-1) 'start point %5pere = @otod(@dtoo(%start)+!i+!window+4) 'end point if {%end} < {%5pere} then 'check whether the forecast end point is greater than the workfile end point return endif Please note that the string %pere should be ren...
- Tue Aug 07, 2012 8:49 am
- Forum: Programming
- Topic: Deperately seeking rolling forecast help
- Replies: 22
- Views: 28224
Re: Deperately seeking rolling forecast help
Please upload the program with your adjustment.
- Mon Aug 06, 2012 11:33 am
- Forum: Add-in Support
- Topic: Bayesian VAR
- Replies: 63
- Views: 155728
Re: Bayesian VAR
Unfortunately, the current BVAR algorithm cannot solve the singularity problem. However, I will put it on my list.