Search found 347 matches

by EViews Matt
Sun Mar 17, 2019 11:09 am
Forum: Data Manipulation
Topic: @strdate
Replies: 1
Views: 35

Re: @strdate

Hello,

Curious, I don't experience a problem with @strdate on a weekly or monthly workfile. Does the following produce the same issue?

Code: Select all

alpha date = @datestr(@date, "DD.MM.YYYY")
by EViews Matt
Sun Mar 17, 2019 11:03 am
Forum: Data Manipulation
Topic: String dates: the last day of x-quarters ahead
Replies: 1
Views: 32

Re: String dates: the last day of x-quarters ahead

Hello,

I believe that would be: @datestr(@dateceil(@dateadd(@date, x, "Q"), "Q"))
by EViews Matt
Thu Mar 07, 2019 2:35 pm
Forum: Programming
Topic: sample using first and last of a series
Replies: 10
Views: 160

Re: sample using first and last of a series

Hello,

Is the name of your series "variable" or "variablex"? That (unhelpful) error message can appear if you use a non-existent series name.
by EViews Matt
Wed Mar 06, 2019 11:03 am
Forum: Data Manipulation
Topic: three-dimensional panel data
Replies: 20
Views: 5015

Re: three-dimensional panel data

Hmm, it appears not.
by EViews Matt
Tue Mar 05, 2019 12:03 pm
Forum: Data Manipulation
Topic: three-dimensional panel data
Replies: 20
Views: 5015

Re: three-dimensional panel data

I still suspect that the core issue is the quantity of time/memory needed to explicitly process/store the dummy variables. While including such dummy variables is conceptually equivalent to a fixed effects model, efficiently estimating fixed effects involves selective demeaning of the data rather th...
by EViews Matt
Mon Mar 04, 2019 11:52 am
Forum: Programming
Topic: Montecarlo sim for acquiring collection of objects
Replies: 1
Views: 72

Re: Montecarlo sim for acquiring collection of objects

Hello, EViews' @uniquevals function returns a vector containing only the unique values in a series (or vector, or matrix). The length of that vector, retrievable via the @rows function, would match the number of successes for your purposes. You can therefore create your vector of random values and i...
by EViews Matt
Thu Feb 28, 2019 11:18 am
Forum: Data Manipulation
Topic: three-dimensional panel data
Replies: 20
Views: 5015

Re: three-dimensional panel data

Hello,

I assume you're running the 64-bit version of EViews. When you try to create the large group of dummies, does EViews utilize all the available memory on your system (a simple check of Windows Task Manager should be sufficient)?
by EViews Matt
Tue Feb 26, 2019 10:28 am
Forum: Estimation
Topic: Dummy variables for each holiday day?
Replies: 2
Views: 106

Re: Dummy variables for each holiday day?

Hello, I can recommend some commands for creating the dummies. For the annual holidays, series holiday1 = @holiday("jan1") > 0 For the one-time holidays, series holiday2 = @event("2016mar25") > 0 For the annual holidays with a gap, series holiday3 = @holiday("oct5") and...
by EViews Matt
Tue Feb 26, 2019 10:05 am
Forum: Data Manipulation
Topic: Drop week days?
Replies: 2
Views: 62

Re: Drop week days?

Hello,

Depending on what you're ultimately doing with your data, you could alternatively adjust the sample to exclude Saturdays and Sundays. For example,

Code: Select all

smpl if @weekday < 6
by EViews Matt
Sat Feb 23, 2019 8:16 am
Forum: Data Manipulation
Topic: Dummy Variables per year
Replies: 12
Views: 7301

Re: Dummy Variables per year

The issue likely is the dummy variable trap. Thankfully, the @expand function has an option to "drop" dummies for this very reason, e.g., @expand(country, @year, @droplast). You're correct, a country-year dummy encompasses both a country dummy and a year dummy, so you would not be able to ...
by EViews Matt
Fri Feb 22, 2019 2:07 pm
Forum: Data Manipulation
Topic: Dummy Variables per year
Replies: 12
Views: 7301

Re: Dummy Variables per year

Hello,

Assuming, for example, that you have a country series named "country", you can specify a country-year dummy as @expand(country, @year). As long as you have enough observations, mathematically you can add all three types of dummies.
by EViews Matt
Tue Feb 12, 2019 1:47 pm
Forum: Data Manipulation
Topic: data manipulation using the @holiday command
Replies: 2
Views: 89

Re: data manipulation using the @holiday command

Hello,

You can combine multiple holidays (or any dummy series) with the logical "or" operator. For example,

Code: Select all

series h = @holiday("easter") or @holiday("thanksgiving") or @holiday("christmas")
by EViews Matt
Fri Feb 08, 2019 11:07 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 251

Re: get program name or path

They do crop up from time to time (top post in the Bug Report forum is a logsave bug at the moment). What version of EViews are you running and is there a logmode statement in your program?
by EViews Matt
Fri Feb 08, 2019 10:19 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 251

Re: get program name or path

I'm not aware of a workaround for @runpath and @runname's behavior, it's a limitation of the current internal representation of programs.
by EViews Matt
Thu Feb 07, 2019 11:46 am
Forum: Programming
Topic: get program name or path
Replies: 10
Views: 251

Re: get program name or path

Hello,

See here.

Go to advanced search