Hello
I have been trying to get the Descriptive Statistics and Correlation Table for my data set panel.
The descriptive statistics using the command: summarize comes out perfectly
My main issue is with the command correlate and/or pwcorr (i have used both) with one variable in particular: democracy
The democracy variable is either 1 or 0 signifying if a country has been classified as a democratic country or not in a particular year.
The variable has 3 more subsets:
dhigh - High Level Democracy
dmid - Mid Level Democracy
dlow - Low Level Democracy
The levels are based on the Freedom House Index.
Like the democracy variable the others are also either 1 or 0 signify the democratic level of the country in a particular year.
My problem is that when run correlation with other variables democracy and its subsets always have "."
Ex.
code: correlate loggdp logtrade polrisk popgrow govsp democracy ***pwcorr was used also
Result:
loggdp logtrade polrisk popgrow govsp democr~y
loggdp 1.0000
logtrade -0.4361 1.0000
polrisk 0.0796 0.1502 1.0000
popgrow -0.2165 -0.1561 -0.1381 1.0000
govsp -0.2327 0.2970 0.0588 -0.0700 1.0000
democracy . . . . . .
So the same thing happens for the aforementioned subsets (dhigh, dmid, dlow) when I want to find their own correlation.
Something of note I should mention. When I run the correlation of democracy with its subsets, the stata program returns values for the subsets,
but not for the democracy variable. Any help will be much appreciated.
Thank you
Related Posts with Help with Correlation
note: index_msa omitted because of collinearityhi friends. i have faced a problem. in my regression , this notification confused me. my regression:…
Generate time value with year and quarter and xtsetI have 3 variable variable year with value from 2000-2010 variable quarter with value from 1-4 varia…
note: index_msa omitted because of collinearityhi friends. i have faced a problem. in my regression , this notification confused me. my regression:…
Oaxaca_rif erroranalyzing wage discrimination using oaxaca_rif However, Some problem have occur. I did the followin…
Too large R SquaredI regressed the loan rate on firm variables and loan characteristics and yield a way too high r squa…
Subscribe to:
Post Comments (Atom)
0 Response to Help with Correlation
Post a Comment