Hello Nick Sir... need some help on pca to form an index... the commands are somehwat like this..
global xlist savingacc fd recurringdeposits chitty ProvidentFund microfinance others landinvest buildings construction businessenterprise share mutualfunds humancapital bonds gold otherspecify
describe $xlist
summarize $xlist
corr $xlist
pca $xlist,mineigen(1)
screeplot, yline(1)
pca $xlist,comp(7)blanks(.3)
rotate, varimax
rotate, varimax blanks(.3)
rotate,clear
rotate,promax
rotate,promax blanks(.3)
rotate,clear
loadingplot
scoreplot
estat loadings
predict assetindex
br assetindex
tab assetindex
estat kmo
...is this correct
Related Posts with Princiapl component analysis
Creating a dummy based on groupI am having some data by group and would want to create a dummy of whether there’s at least one case…
Computing Partial Effect and Average Partial Effect of Binary VariablesI tried to compute the PE and the APE of a dummy using the usual Code: margins command. However, I …
Three and five year averagesDear Statalist forum, I would like to construct a three-year average as the data is available in th…
using function condhello ! i want to create a new variable that's equal to value of year 1960 for all countries and ye…
panel data with 2 different kinds of time unitsHello! I have an issue with some data I want to work with. I like to use panel data to execute a dif…
Subscribe to:
Post Comments (Atom)
0 Response to Princiapl component analysis
Post a Comment