BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

dear all, 

i have to run EGARCH by using  Nelson(1991) model on the returns of 100 stocks and to save the parameter values in a separate file. 

How to do it in SAS. 

 

 

The input format is as follows 

DateX1X2X3………..X100
1-Jan-180.27-1.33-1.77………..-0.33
2-Jan-18-1.060.17-0.06………..-2.15
3-Jan-180.17-1.63-0.54………..0.32
4-Jan-18-0.10.722.26………..0.93
5-Jan-180.60.473.45………..3.25
8-Jan-180.39-0.131.23………..-4.38
9-Jan-18-0.03-0.98-0.94………..-1.27
10-Jan-18-0.44-1.11-0.95………..-0.67
11-Jan-18-0.72-0.44-1.21………..1.65
12-Jan-18-0.65-0.57-0.58………..-1.01
15-Jan-180.98-0.29-1.8………..-0.99
16-Jan-180.47-0.19-2.92………..-1.44
17-Jan-183.911.080.82………..0.53
18-Jan-18-0.070.22-2.38………..-0.98
19-Jan-180.930.292.48………..0.59
22-Jan-183.6120.26………..-1.45
23-Jan-181.40.660.14………..0.29
24-Jan-18-1.961.381.78………..-6.62
25-Jan-181.34-0.89-1.66………..-1.48
29-Jan-18-1.711.580.29………..-2.67
30-Jan-18-1.95-0.17-2.15………..0.64
31-Jan-18-0.03-0.63-0.03………..-0.17

 

the output should be as follows 

Stock Constantparameter1parameter2parameter3
X1    
X2    
X3    
    
    
    
    
    
    
X100    
1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

Better Post it at Forecast forum ,since it is about SAS/ETS .

View solution in original post

3 REPLIES 3
srikanthyadav44
Quartz | Level 8

dear Mr.VDD 

though the data is same, the analysis to be done is different. in the previous,one had to compute skewness, kurtosis and Standard Deviation. In this query, i am asking about how to compute EGARCH(i.e, Exponential Generalized autoregressive conditional heteroskedasticity). 

 

thanking you 

Ksharp
Super User

Better Post it at Forecast forum ,since it is about SAS/ETS .

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1208 views
  • 1 like
  • 3 in conversation