Search found 191 matches

by maxchen
Thu Sep 02, 2010 5:27 pm
Forum: Data Manipulation
Topic: hist vs distplot
Replies: 4
Views: 4349

hist vs distplot

see the following code %ex7 = "\Example Files\EV7 Manual Data" %ch13 = "\Chapter 13 - Graphing Data" %wf = @evpath + %ex7 +%ch13 +"\geyser" wfopen %wf freeze(gf00) length.hist freeze(gf10) length.distplot hist freeze(gf11) length.distplot hist(rightclosed) %wf = @evpath...
by maxchen
Tue Aug 31, 2010 7:38 pm
Forum: Estimation
Topic: gmm option, V5 vs V7
Replies: 3
Views: 3021

Re: gmm option, V5 vs V7

Thanks so much!
For equation object, the gmm is totally updated. However, for system object, the options are unchanged . Besides, the j-stat in system output is still J/T, not J. For equations (non-panel), it is change from J/T to J.
by maxchen
Tue Aug 31, 2010 7:19 am
Forum: Estimation
Topic: gmm option, V5 vs V7
Replies: 3
Views: 3021

gmm option, V5 vs V7

Hi
the gmm method of equation: options the iteration methods

V5 V7
c method=oneplusone
i method=simul
o method=nstep, gmmiter=1
s method=converge

Are they correct? I try to find a way to update old code in EViews 5.1 to EViews 7.1
by maxchen
Mon Aug 30, 2010 4:21 pm
Forum: Econometric Discussions
Topic: GMM, prewhitening
Replies: 9
Views: 6752

Re: GMM, prewhitening

Thanks for your explanation. In the context of GMM, E(V)=0 is the moment condition. How to estimate V hat to be used in computing the auto-covariance matrix Gamma? which is the component of long-run cov matrix Omega. hmm, P70, the Wighting matrix iteration gives the procedure, using the TSLS coef. S...
by maxchen
Mon Aug 30, 2010 1:04 am
Forum: Econometric Discussions
Topic: GMM, prewhitening
Replies: 9
Views: 6752

Re: GMM, prewhitening

the paragraph above Eq (E.1). V depend on K-vector parameters theta.
by maxchen
Sun Aug 29, 2010 7:17 pm
Forum: Econometric Discussions
Topic: GMM, prewhitening
Replies: 9
Views: 6752

Re: GMM, prewhitening

Thanks, I've read Appendix E.
But which theta is used in computing V hat ?
by maxchen
Sun Aug 29, 2010 5:31 pm
Forum: Econometric Discussions
Topic: GMM, prewhitening
Replies: 9
Views: 6752

Re: GMM, prewhitening

Do you mean P453 of User guide II?
In Eq31.46, coefficients in matrix A is by VAR, that is no problem. My question is how to know m (sample moment)? Since sample moments are functions of GMM parameters, how to determine the value of GMM parameters to compute m for pre-whitening.
by maxchen
Sun Aug 29, 2010 7:16 am
Forum: Econometric Discussions
Topic: GMM, prewhitening
Replies: 9
Views: 6752

GMM, prewhitening

When EViews performs the pre-whitening in GMM estimation, what is the value of parameters used?
by maxchen
Fri Aug 27, 2010 6:13 pm
Forum: Econometric Discussions
Topic: logl::makegrads, LM test
Replies: 3
Views: 3621

Re: logl::makegrads, LM test

Thanks!
If I have known the unrestricted (U) and restricted (R) model. Then makegrads from both U and R are improper for LM test. For they are grads from U at estimated value of U, and grads from R at estimated value of R, respectively. Not grads from U at estimated value of R. Right?
by maxchen
Fri Aug 27, 2010 5:26 am
Forum: Econometric Discussions
Topic: logl::makegrads, LM test
Replies: 3
Views: 3621

logl::makegrads, LM test

logl::makegrads, creates a group of the gradients (first derivatives) of the log likelihood at the estimated parameter values. These gradients are often used in constructing Lagrange multiplier tests. I am puzzled. Textbooks say, for LM test, the gradients are computed from the unrestricted model at...
by maxchen
Thu Aug 26, 2010 5:04 pm
Forum: Bug Reports
Topic: [doc bug] logl::ml
Replies: 1
Views: 2561

[doc bug] logl::ml

options for derivative method

Code: Select all

deriv=keyword

is left out.

Besides, logl::append should be a Proc, not a View as the object ref documents. (sorry my typo last time)
by maxchen
Wed Aug 25, 2010 5:08 am
Forum: Estimation
Topic: One-sided accurate numeric derivatives
Replies: 4
Views: 3589

Re: One-sided accurate numeric derivatives

hmm, but [f(x+h)-f(x)]/h is called one-sided, and [f(x+h)-f(x-h)]/(2h) is called two-sided
by maxchen
Tue Aug 24, 2010 1:18 am
Forum: Estimation
Topic: One-sided accurate numeric derivatives
Replies: 4
Views: 3589

One-sided accurate numeric derivatives

Should it be "One-sided fast numeric derivatives"? !N = 1000 wfcreate(page=gm) u 1 !N rndseed(type=mt) 12357 coef b = 1 coef r = 2 genr y = @rgamma(b(1),r(1)) 'random of Gamma dist logl L_g L_g.append @logl L L_g.append L = @log( @dgamma(y,b(1),r(1)) ) L_g.append @derivstep(1) @all 1.49e-8...
by maxchen
Wed Aug 04, 2010 1:01 am
Forum: Econometric Discussions
Topic: GMM
Replies: 2
Views: 3756

GMM

In EV7, the "Estimation weighting matrix" and "Standard errors & covariance computation" can now be separated (In EV5, only allow in panel equations objects). What are the advantages? some textbooks say that the optimal one is W=C^(-1) where W is the gmm weighting and C is th...
by maxchen
Wed Jul 28, 2010 5:13 pm
Forum: Data Manipulation
Topic: save data from linefit
Replies: 1
Views: 2820

save data from linefit

In Eviews 5 %wf = @evpath + "\Example Files\data\demo" wfopen %wf group g m1 gdp g.linefit(yl,xb=-0.5,s=s1) then the fitted series is saved in series s1. In Eviews 7 %wf = @evpath + "\Example Files\Sample Programs\stats\demo" wfopen %wf group g m1 gdp g.scat linefit(yl,xb=-0.5) '...

Go to advanced search