Search found 7 matches
- Tue Sep 08, 2015 1:53 am
- Forum: Programming
- Topic: How to save coefficients in a ls regression?
- Replies: 1
- Views: 4400
How to save coefficients in a ls regression?
Hello! I am running a for-loop that performs a ls regression with two series (for every date). I would like to save the coefficients for the two variables for every regression in a matrix, but do not know how to do that. Are you able to help me? The matrix will have as many rows as the vector dt and...
- Thu Sep 03, 2015 11:22 pm
- Forum: Programming
- Topic: least square regression matrices
- Replies: 4
- Views: 5616
Re: least square regression matrices
Thank you. I have realised that everything I want to do would be easier in Matlab, but unfortunately I do not have a license. Actually, what I want to do is to perform a simple regression with two vectors (not matrices) and to save the slope coeffecient and intercept in another vector. Can I use &qu...
- Thu Sep 03, 2015 11:12 pm
- Forum: Programming
- Topic: Read matrix from excel-file
- Replies: 4
- Views: 4524
Re: Read matrix from excel-file
Thanks a lot :)
- Thu Sep 03, 2015 9:43 am
- Forum: Programming
- Topic: least square regression matrices
- Replies: 4
- Views: 5616
least square regression matrices
Hello!
Is it possible to do a least square regression with matrices in eviews? I tried as below with yieldstat and loptidsak being matrices but did not get it to work. What is the best way to do?
equation eq1.ls yieldstat c loptidsak
Best regards
Is it possible to do a least square regression with matrices in eviews? I tried as below with yieldstat and loptidsak being matrices but did not get it to work. What is the best way to do?
equation eq1.ls yieldstat c loptidsak
Best regards
- Thu Sep 03, 2015 9:30 am
- Forum: Programming
- Topic: output of subroutine
- Replies: 1
- Views: 2272
output of subroutine
Hello! I have written a subroutine and have trouble getting it to work. I can run the program but I do not get any output values in my output vector interpolstat. Do I treat the output vector in the wrong way? Or is something else wrong with my program? subroutine linintp(scalar y, scalar x, rowvect...
- Thu Aug 27, 2015 6:27 am
- Forum: Programming
- Topic: Read matrix from excel-file
- Replies: 4
- Views: 4524
Re: Read matrix from excel-file
I have also tried as below. But I still don't get it to work. What do I miss? Some syntax error? matrix (4000, 4000) mat1 mat1.read (d3, s=Yield) "G:\EkAn\_Gemensam\Rapporter\Bankernas räntor och utlåning\Finansieringskostnad\Modell\Interpolering säkerställda\Räntor säkerställda storbankerna 20...
- Thu Aug 27, 2015 5:30 am
- Forum: Programming
- Topic: Read matrix from excel-file
- Replies: 4
- Views: 4524
Read matrix from excel-file
I am trying to use the command read to import a matrix from excel into eviews. The name of the matrix is mat1, the data starts in the cell d3 and is situated in the sheet Yield. Why am I not able to use the command below? Do I have to define the matrix mat1 Before using the command read? mat1.read (...
