Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Principal Components Analysis with Multiple Imputation
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: Principal Components Analysis with Multiple Imputation
Date
Wed, 4 Sep 2013 15:12:51 +0200
You can find a list of supported commands in -help mi_estimation- and
-pca- is not in there, so I am not surprised you have trouble. In this
case the problem is that -mi estimate- looks for the vector of
coefficients and variance covariance matrix to combine in the matrices
e(b) and e(V), and -pca- does not return such matrices.
-- Maarten
On Wed, Sep 4, 2013 at 2:21 PM, Tyler Boone <[email protected]> wrote:
> Hello Statalist:
> I am attempting to do principal components analysis on a dataset with
> multiple imputation but am getting frustrated through a series of
> error messages. The imputations go through but then I get that the
> specific matrices are not defined, the errors are below at the end of
> the code. Can anyone offer some assistance?
>
> Thanks!
> TB
>
> mi set wide
>
> mi register imputed CO2_t_pc_ln DPT_Immunization_WDI_07
> Electric_Capacity_C98 Electric_Power_Cons_WDI_07 energykgpcbanks
> Ext_Neg_Growth FDI_percentGDP_WDI_07 fertilityrate07ipolate
> GDP_growth_impute IMR_ln Illiteracy_imputed Life_Expectancy_WDI_07
> Life_Expectancy_f_m measleswdi07_100ln NOSCHO25_Cohen_ipolate
> Openness_K_PWT PRIM25_Cohen_ipo_cent_100_ln Risk_Euromoney
> SEC25C_Cohen_ipolate Schooling_total_ipolate Sulfur_emission_pc_ln
> TY25_Cohen_ipolate Telephone_Mainlines_WDI_07 Trade_WDI_07
> Volatility_growth Volatility_regime female_male_ratio
>
> mi impute mvn CO2_t_pc_ln DPT_Immunization_WDI_07
> Electric_Capacity_C98 Electric_Power_Cons_WDI_07 energykgpcbanks
> Ext_Neg_Growth FDI_percentGDP_WDI_07 fertilityrate07ipolate
> GDP_growth_impute IMR_ln Illiteracy_imputed Life_Expectancy_WDI_07
> Life_Expectancy_f_m measleswdi07_100ln NOSCHO25_Cohen_ipolate
> Openness_K_PWT PRIM25_Cohen_ipo_cent_100_ln Risk_Euromoney
> SEC25C_Cohen_ipolate Schooling_total_ipolate Sulfur_emission_pc_ln
> TY25_Cohen_ipolate Telephone_Mainlines_WDI_07 Trade_WDI_07
> Volatility_growth Volatility_regime female_male_ratio , add (5)
>
>
> . mi estimate, cmdok: pca CO2_t_pc_ln DPT_Immunization_WDI_07
> Electric_Capacity_C98 Electric_Power_Cons_WD
>> I_07 energykgpcbanks Ext_Neg_Growth FDI_percentGDP_WDI_07 fertilityrate07ipolate GDP_growth_impute IMR_l
>> n Illiteracy_imputed Life_Expectancy_WDI_07 Life_Expectancy_f_m measleswdi07_100ln NOSCHO25_Cohen_ipolat
>> e Openness_K_PWT PRIM25_Cohen_ipo_cent_100_ln Risk_Euromoney SEC25C_Cohen_ipolate Schooling_total_ipolat
>> e Sulfur_emission_pc_ln TY25_Cohen_ipolate Telephone_Mainlines_WDI_07 Trade_WDI_07 Volatility_growth Vol
>> atility_regime female_male_ratio
> matrix e(b) is not set
> matrix e(V) is not set
> r(301);
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
--
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/