Dear all,
I have a dataset of 24 variables collected for 148 countries across 6 years. All except one variable have missing values, with a maximum of 25% missing values for two of the variables.
I have successfully used multiple imputation to create 10 multiply imputed datasets using the following command in STATA13:
mi set flong
mi xtset CountryNum Year
generate CountryYear = CountryNum*Year
mi register regular Country CountryNum Year FreedomOfPress CountryYear
mi register imputed FDIPercGDP ValueChain CorruptionPRS_ICRG InwardFlowsTradeKOF RestrictionsTradeKOF ClusterDevelopment ///
AntiMonopPolicy ExtentMarketing ForeignOwn ImpactRulesFDI TradeBarriers MeanPolCapScore ///
AuditReportStandards DivertPublicFunds EfficacyCorpBoards EthicBehavFirms FavoritGovOfficials ///
InvestProtect IrregPayBribes JudicialIndep MarketDominance ProtectMinShare TradeTariffsPerc
mi impute chained (regress)FDIPercGDP ValueChain CorruptionPRS_ICRG InwardFlowsTradeKOF RestrictionsTradeKOF ClusterDevelopment ///
AntiMonopPolicy ExtentMarketing ForeignOwn ImpactRulesFDI TradeBarriers MeanPolCapScore ///
AuditReportStandards DivertPublicFunds EfficacyCorpBoards EthicBehavFirms FavoritGovOfficials ///
InvestProtect IrregPayBribes JudicialIndep MarketDominance ProtectMinShare TradeTariffsPerc, add(10) rseed(1982) force
mi convert wide, clear
The problem is that the values I obtain in the imputed datasets are severely off range. For example, the variable JudicialIndep should only take values from 0 to 7 and yet I obtain ranges of -10 to 15.
I want to be able to restrict the upper and lower limits of the values that the variables may take. Unfortunately, the information I found so far pertains only to univariate imputation
For example:
http://www.stata.com/manuals13/mimii...miimputeintreg
Could someone kindly advise on how to set ranges for all the variables to be imputed simultaneously?
Thank you very much!
Joana
I have a dataset of 24 variables collected for 148 countries across 6 years. All except one variable have missing values, with a maximum of 25% missing values for two of the variables.
I have successfully used multiple imputation to create 10 multiply imputed datasets using the following command in STATA13:
mi set flong
mi xtset CountryNum Year
generate CountryYear = CountryNum*Year
mi register regular Country CountryNum Year FreedomOfPress CountryYear
mi register imputed FDIPercGDP ValueChain CorruptionPRS_ICRG InwardFlowsTradeKOF RestrictionsTradeKOF ClusterDevelopment ///
AntiMonopPolicy ExtentMarketing ForeignOwn ImpactRulesFDI TradeBarriers MeanPolCapScore ///
AuditReportStandards DivertPublicFunds EfficacyCorpBoards EthicBehavFirms FavoritGovOfficials ///
InvestProtect IrregPayBribes JudicialIndep MarketDominance ProtectMinShare TradeTariffsPerc
mi impute chained (regress)FDIPercGDP ValueChain CorruptionPRS_ICRG InwardFlowsTradeKOF RestrictionsTradeKOF ClusterDevelopment ///
AntiMonopPolicy ExtentMarketing ForeignOwn ImpactRulesFDI TradeBarriers MeanPolCapScore ///
AuditReportStandards DivertPublicFunds EfficacyCorpBoards EthicBehavFirms FavoritGovOfficials ///
InvestProtect IrregPayBribes JudicialIndep MarketDominance ProtectMinShare TradeTariffsPerc, add(10) rseed(1982) force
mi convert wide, clear
The problem is that the values I obtain in the imputed datasets are severely off range. For example, the variable JudicialIndep should only take values from 0 to 7 and yet I obtain ranges of -10 to 15.
I want to be able to restrict the upper and lower limits of the values that the variables may take. Unfortunately, the information I found so far pertains only to univariate imputation
For example:
http://www.stata.com/manuals13/mimii...miimputeintreg
Could someone kindly advise on how to set ranges for all the variables to be imputed simultaneously?
Thank you very much!
Joana
Comment