Search found 13063 matches

by EViews Gareth
Thu May 19, 2022 8:04 am
Forum: Estimation
Topic: How do I set an initial coefficient value in a State Space object from a previously calculated scalar?
Replies: 6
Views: 140

Re: How do I set an initial coefficient value in a State Space object from a previously calculated scalar?

This program seems to run just fine for me: wfcreate(wf=annual, page=myproject) a 1950 2005 genr series1=nrnd genr series2= 0.9*series1(-1)+ 0.1*nrnd ' Working state space statespace locallevel ' Create and estimate the state space with initial values locallevel.append @signal series2=mu +[ename = e...
by EViews Gareth
Thu May 19, 2022 7:43 am
Forum: Programming
Topic: How to use temporary variables in state space?
Replies: 1
Views: 49

Re: How to use temporary variables in state space?

I'm not sure I follow what you're doing. The first element in longnames will be equal to: "series1gdp" Then, inside your for loop, you store that value into %stringtemp2, then create a series with a name of whatever is inside %stringtemp2, followed by "gdp". Thus, the first time ...
by EViews Gareth
Thu May 19, 2022 7:36 am
Forum: Estimation
Topic: How do I set an initial coefficient value in a State Space object from a previously calculated scalar?
Replies: 6
Views: 140

Re: How do I set an initial coefficient value in a State Space object from a previously calculated scalar?

My bad, try it without the braces. ' Not working state space equation leastsquare ' estimate mock regression leastsquare.ls series2 c series2(-1) !coef1=leastsquare.@coefs(1) statespace locallevelbis ' Create the state space locallevelbis.append @signal series2=mu +[ename = e1, var = exp(c(1))] loca...
by EViews Gareth
Wed May 18, 2022 4:41 pm
Forum: Models
Topic: Adding @stochastic to a model text file
Replies: 4
Views: 128

Re: Adding @stochastic to a model text file

ah, not really. Just the long way of removing the equation, then re-adding it with the @identity at the start.
by EViews Gareth
Wed May 18, 2022 12:32 pm
Forum: Models
Topic: Adding @stochastic to a model text file
Replies: 4
Views: 128

Re: Adding @stochastic to a model text file

Not sure I understand the question.
by EViews Gareth
Wed May 18, 2022 12:31 pm
Forum: Estimation
Topic: How do I set an initial coefficient value in a State Space object from a previously calculated scalar?
Replies: 6
Views: 140

Re: How do I set an initial coefficient value in a State Space object from a previously calculated scalar?

' Not working state space equation leastsquare ' estimate mock regression leastsquare.ls series2 c series2(-1) !coef1=leastsquare.@coefs(1) statespace locallevelbis ' Create the state space locallevelbis.append @signal series2=mu +[ename = e1, var = exp(c(1))] locallevelbis.append @state mu=mu(-1) ...
by EViews Gareth
Fri May 13, 2022 9:01 am
Forum: Programming
Topic: Handle two temporary control variables in nested loops
Replies: 2
Views: 126

Re: Handle two temporary control variables in nested loops

Not sure I follow. If I run your code I get this:
2022-05-13_090044.png
2022-05-13_090044.png (113.51 KiB) Viewed 107 times


Which seems to be what you think should happen?


As an aside, you should probably be using svectors rather than alphas.
by EViews Gareth
Fri May 13, 2022 8:55 am
Forum: Data Manipulation
Topic: Stacked bar graph
Replies: 5
Views: 4228

Re: Stacked bar graph

Code: Select all

mygraph.options stackposneg
by EViews Gareth
Wed May 11, 2022 3:38 pm
Forum: Data Manipulation
Topic: X13 returns NAs
Replies: 1
Views: 132

Re: X13 returns NAs

Fix next patch.
by EViews Gareth
Wed May 11, 2022 12:24 pm
Forum: Data Manipulation
Topic: EViews12 University Edition
Replies: 3
Views: 461

Re: EViews12 University Edition

I’m not sure I understand what you are asking.
by EViews Gareth
Mon May 09, 2022 2:20 pm
Forum: Estimation
Topic: Equation System
Replies: 1
Views: 169

Re: Equation System

Just write out the equations in coefficient form:

Code: Select all

Y=c(1)+c(2)*x
Z=c(3)+c(4)*w
by EViews Gareth
Sat Apr 30, 2022 6:17 pm
Forum: Estimation
Topic: Dependent variable has no variance - Logit regression
Replies: 7
Views: 344

Re: Dependent variable has no variance - Logit regression

Perhaps. I’m just trying to figure out if it is a calculation issue or a data issue
by EViews Gareth
Sat Apr 30, 2022 5:20 pm
Forum: Estimation
Topic: Dependent variable has no variance - Logit regression
Replies: 7
Views: 344

Re: Dependent variable has no variance - Logit regression

Just choose the first 1500 observations plus any observations where y=1.

Code: Select all

smpl @all if @trend<1500 or y=1
by EViews Gareth
Sat Apr 30, 2022 3:50 pm
Forum: Estimation
Topic: Dependent variable has no variance - Logit regression
Replies: 7
Views: 344

Re: Dependent variable has no variance - Logit regression

What happens if you reduce the sample dramatically, keeping the 115 1s, but only including, say, 1500 0s?
by EViews Gareth
Fri Apr 29, 2022 6:01 am
Forum: Bug Reports
Topic: Auto-Updating Series do not update
Replies: 4
Views: 593

Re: Auto-Updating Series do not update

Could you provide the workfile?

Go to advanced search