Search found 7 matches

by jaghetermattis
Tue Jun 02, 2015 2:36 am
Forum: Estimation
Topic: PCA in regression
Replies: 0
Views: 2077

PCA in regression

Hello, Some help on PCA regression procedures would be highly appreciated. I have a problem with multicollinearity between a few variables that I like to keep in the regression. I've searched extensively on the forum and documentation, but I am not able to find any help. An excerpt of my program: 'O...
by jaghetermattis
Tue May 05, 2015 3:12 am
Forum: Programming
Topic: Merging cross sectional data
Replies: 3
Views: 3140

Re: Merging cross sectional data

Nevermind - I used "pageappend wfallblu\2012" and it worked!

Not sure why
%wf = "path\wfallblu.wf1"
%wf2012= %wf + "\2012"
pageappend %wf2012
does not work, but it doesn't really matter.
by jaghetermattis
Tue May 05, 2015 2:59 am
Forum: Programming
Topic: Merging cross sectional data
Replies: 3
Views: 3140

Re: Merging cross sectional data

Great, that's exactly what I wanted to do. As always, you're a lifesaver Gareth - thank you! I did however only get it to work by going through the menu. When using the code: %wf = "path\Workfiles\wfallblu.wf1" %wf2011= %wf + "\2011" %wf2012= %wf + "\2012" %wf2013= %wf ...
by jaghetermattis
Mon May 04, 2015 6:24 am
Forum: Programming
Topic: Merging cross sectional data
Replies: 3
Views: 3140

Merging cross sectional data

I would be most grateful for some help on merging cross sectional data. I want to merge 4 data sets for the years 2011-2014, for a pooled regression. The datasets are each in a respective page in a wf. The problem is that if I use the copy command to merge the four years the observations gets replac...
by jaghetermattis
Thu Apr 23, 2015 2:24 am
Forum: Programming
Topic: @fileexist in if loop
Replies: 4
Views: 3413

Re: @fileexist in if loop

Worked like a charm - thank you so much Gareth.
by jaghetermattis
Wed Apr 22, 2015 2:09 am
Forum: Programming
Topic: @fileexist in if loop
Replies: 4
Views: 3413

Re: @fileexist in if loop

Thank you Gareth, much appreciated. However that gives me a "Syntax error in control statement". Does that give you any leads?
I'm using Eviews 8 btw.
by jaghetermattis
Tue Apr 21, 2015 6:10 am
Forum: Programming
Topic: @fileexist in if loop
Replies: 4
Views: 3413

@fileexist in if loop

Hello, First time poster. I have an issue with the support command @fileexist in a loop. I need to check if a database exists before I (re)create it, but it seems like my code interprets @fileexist as = 0 and overwrites existing databases at all times. My code: %blu2011 = "path\blu2011.edb"...

Go to advanced search