Search found 25 matches

by quynh_nguyennz
Wed Sep 05, 2012 3:28 am
Forum: Estimation
Topic: Panel Data with fixed effect
Replies: 8
Views: 9516

Re: Panel Data with fixed effect

Hi Glenn, I try to create another dummy variable today Dum1=1 if the countries are greece, ireland, portugal, spain, france, germany otherwise denote eu countries dum3=1 if the countries are uk,us, denmark, sweden, australia, canada. denote non eu countries and dum2=1 if countries are greece, irelan...
by quynh_nguyennz
Tue Aug 28, 2012 5:08 pm
Forum: Estimation
Topic: Panel Data with fixed effect
Replies: 8
Views: 9516

Re: Panel Data with fixed effect

Thank You Glenn, so the others dummy can use for fixed effect, except the dummy3
regards
by quynh_nguyennz
Tue Aug 28, 2012 5:01 am
Forum: Estimation
Topic: Panel Data with fixed effect
Replies: 8
Views: 9516

Re: Panel Data with fixed effect

Dum3 is for the countries in EU region
by quynh_nguyennz
Tue Aug 28, 2012 12:29 am
Forum: Estimation
Topic: Panel Data with fixed effect
Replies: 8
Views: 9516

Re: Panel Data with fixed effect

Could you please specify it? Because I want to test whether the 5 dummy effect my resull
How can I fixed the problem
Thank you so much
by quynh_nguyennz
Fri Aug 24, 2012 6:28 pm
Forum: Estimation
Topic: Panel Data with fixed effect
Replies: 8
Views: 9516

Panel Data with fixed effect

Hi,
Sorry to bother you again. I already have the panel data and my supervisor asked me to choose the fixed effect . however when I choose fixed effect, it said near singular matrix. The attached below is my file
Thank you so much.
by quynh_nguyennz
Sun Aug 19, 2012 12:52 am
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

Hi,
I read the other topic about the principal component. They calculate the principal component base on those steps:
1 covariance matrix
2Calculate the eigenvectors and eigenvalues of the covariance
matrix
and last step is PC
Is it different from our syntax makepcomp?
by quynh_nguyennz
Sat Aug 18, 2012 7:23 pm
Forum: Estimation
Topic: Dummy variable
Replies: 3
Views: 5130

Re: Dummy variable

could you please help me to create dummy for the financial crisis and debt crisis as well
if year 2008 and year 2009 is financial crisis
if year 2010 and year 2011 is debt crisis
Thank you
by quynh_nguyennz
Thu Aug 16, 2012 4:28 am
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

Hi,
I have just tried your command. I think it is the same because I got the same result when I use this command:
makepcome (cov) comp1 comp2 comp3 comp4
Thank you very much for your kind advice and your patient to explain to me.
Thank you Thank you
I love you
Best regards
by quynh_nguyennz
Thu Aug 16, 2012 4:15 am
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

I see the command in the reference: group g1 x1 x2 x3 x4 freeze(tab1) g1.pcomp(cor, eigval=v1, eigvec=m1) pc1 pc2 The first line creates a group named G1 containing the four series X1, X2, X3, X4. The second line stores the first two principal components of the sample correlation matrix in series na...
by quynh_nguyennz
Tue Aug 14, 2012 7:48 pm
Forum: Estimation
Topic: Dummy variable
Replies: 3
Views: 5130

Re: Dummy variable

Thank you very much
by quynh_nguyennz
Tue Aug 14, 2012 5:23 pm
Forum: Estimation
Topic: Dummy variable
Replies: 3
Views: 5130

Dummy variable

Hi, I have one panel data, and I want to create dummy variable 1)Eu include Greece, Portugal, spain, ireland, france, germany, 2) non Eu US, Uk, canada, australia 3 debt countries: greece, portugal, ireland, spain, ireland 4 debt crisis period from 2010- 2011 5 financial crisis from 2008- 2009 I try...
by quynh_nguyennz
Tue Aug 14, 2012 4:42 pm
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

Hi, i use this command to make principal components: freeze(tab1) aus2005.pcomp(cov, eigval=v1, eigvec=m1) pc1 pc2 pc3 pc4 because I need only the first four PC so I stored the first four PCs so that i can run the OLS regression Is it right? and this is my model for ols: Rj,t = ∑i=1 10 βj,t PCi,t + ...
by quynh_nguyennz
Mon Aug 13, 2012 2:43 am
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

Hi,
I used this command to make the principal component:
freeze(tab1) aus2005.pcomp(cov, eigval=v1, eigvec=m1) pc1 pc2 pc3 pc4
when I got the series PC1 to PC4, I run OLS regression using this model:
Rj,t = ∑i=1 5 βj,t PCi,t + εj,t
Is it alright?
regards
by quynh_nguyennz
Sat Aug 11, 2012 4:27 pm
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

Hi, my mistake, I think I run the regression between the return index of each countries and the return of bond portfolio. therefore, i need the weight of the portfolio bond. they suggest to calculate the covariance matrix using the return index,once the eigenvectors are computed and sorted from the ...
by quynh_nguyennz
Fri Aug 10, 2012 2:33 pm
Forum: Estimation
Topic: OLS regression with PC
Replies: 16
Views: 16559

Re: OLS regression with PC

You mean I don't need the eigenvalues/eigenvectors, I just need the score?But I think I need the eigenvectors to run the OLS regression. I have 10 PC and each PC contains the others 4 figures
Regards

Go to advanced search