Search found 61 matches

by tho_mi
Fri Apr 20, 2018 4:48 am
Forum: Programming
Topic: Get axis range from graph object
Replies: 3
Views: 3361

Re: Get axis range from graph object

Thanks! Could you also tell me how the ranges are calculated? I'd like to know them before I plot the data.
by tho_mi
Thu Apr 19, 2018 4:46 am
Forum: Programming
Topic: Get axis range from graph object
Replies: 3
Views: 3361

Get axis range from graph object

Hey, I'd like to find out which ranges EViews uses for a certain graph. Is there a way to do that? Setting the range is straightforward, but I'd like to get the ranges EViews uses. If it's not possible to get the ranges from an object, how does EViews calculate min and max? Usually it's some "n...
by tho_mi
Thu Mar 29, 2018 11:04 am
Forum: Add-in Writing area
Topic: Get object from which a program has been called
Replies: 4
Views: 21276

Re: Get object from which a program has been called

I've already done that to get some info about the UI/dialogs. Thanks :)
by tho_mi
Thu Mar 29, 2018 8:20 am
Forum: Add-in Writing area
Topic: Get object from which a program has been called
Replies: 4
Views: 21276

Get object from which a program has been called

Hey, is there a way to find out which from which object a specific program/add-in was called? E.g. a procedure for matrices and vectors can be called via Proc -> Add-Ins when a matrix/vector has been opened. Is there a way to get the corresponding object without asking the user to specify it via a d...
by tho_mi
Wed Mar 28, 2018 8:08 am
Forum: Bug Reports
Topic: EViews seems to crash randomly (when doing a quantile regression)
Replies: 3
Views: 4744

Re: EViews seems to crash randomly (when doing a quantile regression)

Best thing is to email support@eviews.com with the program and data. It's urgent and I'm not sure whether I'm allowed to give the data to someone. Do you have any idea what I could try? edit: I ran the script on a different computer. Once I change the bootstrap method to "mcmb" instead of...
by tho_mi
Wed Mar 28, 2018 7:57 am
Forum: Bug Reports
Topic: EViews seems to crash randomly (when doing a quantile regression)
Replies: 3
Views: 4744

EViews seems to crash randomly (when doing a quantile regression)

Hey, I'm not sure whether this is the correct "area" to post this, but it seems most suitable. Colleagues of mine have problems with a script and asked me to fix it because EViews crashed when they ran it. I tried to figure out where the problem is. The first few times I ran the script EVi...
by tho_mi
Tue Mar 27, 2018 10:09 am
Forum: Programming
Topic: Residuals and predicted/fitted values of logit do not coincide
Replies: 4
Views: 3671

Re: Residuals and predicted/fitted values of logit do not coincide

So one has to subsample the valid observations first. Thanks!
by tho_mi
Tue Mar 27, 2018 9:51 am
Forum: Programming
Topic: Residuals and predicted/fitted values of logit do not coincide
Replies: 4
Views: 3671

Re: Residuals and predicted/fitted values of logit do not coincide

Workfile attached. Thanks, I just found out where the problem lies (and that I forgot some things, but these are not related to the example). I have an additional variable that indicates the "valid" observations and only these are used to estimate the model. The fitted values are calculate...
by tho_mi
Tue Mar 27, 2018 9:29 am
Forum: Programming
Topic: Find rows of matrix containing na values
Replies: 10
Views: 7310

Re: Find rows of matrix containing na values

Thanks! In my case the matrix has to be sorted anyway (and the NAs are only in one column), so it doesn't have to be that general (but I'm sure it's helpful for other people) :)
by tho_mi
Tue Mar 27, 2018 9:22 am
Forum: Programming
Topic: Residuals and predicted/fitted values of logit do not coincide
Replies: 4
Views: 3671

Residuals and predicted/fitted values of logit do not coincide

Hey, I calculate residuals and predicted/fitted values from a logit equation. I saw that the observations do not coincide, i.e. some observations have NA as residual, but a non-NA predicted value. What's the reason behind this behaviour? Shouldn't be both values either NA or non-NA? My question kind...
by tho_mi
Tue Mar 27, 2018 8:44 am
Forum: Programming
Topic: Find rows of matrix containing na values
Replies: 10
Views: 7310

Re: Find rows of matrix containing na values

If the NAs are only present in one column (column 3 here) the following does the job: vector m_ranks = @ranks(@columnextract(m, 3), "a", "i") m = @capplyranks(m, m_ranks) vector column_with_nas = @columnextract(m, 3) !current_value = column_with_nas(1) !i = 1 while @isna(!current...
by tho_mi
Tue Mar 27, 2018 8:14 am
Forum: Programming
Topic: Find rows of matrix containing na values
Replies: 10
Views: 7310

Re: Find rows of matrix containing na values

@droprow: I assumed that such a basic operation would've been available "earlier". @zeros: Ok, so that means the second argument is the number of columns. @nan: So I guess the first argument is the "source" matrix/vector and the second argument the value the NAs are changed to? S...
by tho_mi
Tue Mar 27, 2018 7:54 am
Forum: Programming
Topic: Find rows of matrix containing na values
Replies: 10
Views: 7310

Re: Find rows of matrix containing na values

9.5
by tho_mi
Tue Mar 27, 2018 6:52 am
Forum: Programming
Topic: Find rows of matrix containing na values
Replies: 10
Views: 7310

Re: Find rows of matrix containing na values

Unfortunately this doesn't work.

"@DROPROW is not a member or procedure of M in ..."

Additional question:
What do "@nan" and "@zeros" do? Both are missing in the documentation.

Go to advanced search