Hello,
I developed simple code to simulate values of Non Linear Least Squares NLS estimation coefficients.
Basically different range of starting values are defined for 5 coefficients, and both these values and the converged NLS coefficients estimates are recorded in matrix "results" row for each simulation value set.
My problem is to assign starting values into coefficient vector before each NLS estimation. The code I wrote for this starts with the text
"assign starting values to coefficient vector." but Eviews displays following error :
SHEET.(2,1)=0.1 is not a valid view for C in "DO_ C.SHEET.(2,1)=0.1".
Would very much appreciate any clues on this.
Many thanks in advance
acemi
How to assign starting values to coefficient vector via Eviews Program command
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
How to assign starting values to coefficient vector via Eviews Program command
- Attachments
-
- fi_simul.prg
- (1.39 KiB) Downloaded 293 times
-
- simulasyon_eviews deneme data_fi.wf1
- (7.67 MiB) Downloaded 246 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to assign starting values to coefficient vector via Eviews Program command
Thank you and silly me.
Now that I fixed this issue I run the program by setting "max number of errors before halting" = 20 from run prg dialog box.
But eviews stops way before at 2 iterations. How can I instruct it to run until it reaches prespecified error number ?
Thank you in advance again.
acemi
PS. updated prg file is attached.
Now that I fixed this issue I run the program by setting "max number of errors before halting" = 20 from run prg dialog box.
But eviews stops way before at 2 iterations. How can I instruct it to run until it reaches prespecified error number ?
Thank you in advance again.
acemi
PS. updated prg file is attached.
- Attachments
-
- simulasyon_eviews deneme data_fi.wf1
- (38.41 KiB) Downloaded 255 times
-
- fi_simul.prg
- (1.35 KiB) Downloaded 316 times
Re: How to assign starting values to coefficient vector via Eviews Program command
Hello again, fixed this issue via a if then else loop inspired from command and object user reference.
Thank you.
Thank you.
Who is online
Users browsing this forum: No registered users and 2 guests
