Hi everyone,
I am interested in tabulating the mean level 1 explained variance Array and mean total R2 Array across imputed datasets. (formulas derived from LaHuis et al., 2014)
I found that there is a way to tabulate R2 using the mltrsq command in xtmixed, but also know that xtmixed has been renamed to mixed, and was not able to find further information on using mltrsq with mixed. (https://www.statalist.org/forums/for...evel-modelling)
Additionally I need to get the average R2 across the imputed datasets (I have 25 imputed datasets).
I was advised to refer to this (https://www.stata.com/support/faqs/statistics/combine-results-with-multiply-imputed-data/) to come up with my own code, but after reviewing it, I wasn't sure how I can draw estimates across different models (null and full models).
I am very new to Stata, and would very much appreciate any insights on this! Thank you!
Related Posts with Deriving R2 with mi estimate: mixed
Industry fixed effect in an ols regressionDear Statlist, I am conducting an event study for a sample of 153 companies announcing layoffs betw…
egen command related to count based on a conditionDear All Code: input str1 firm float(sales) int year "a" . 2010 "a" . 2011 "a" 5 2012 "b" 6 2010 "b…
Factor calculation based on dual variable namesHi, I am trying to calculate a currency value factor based on currency spot and lagged exchange rat…
GLM - Offset termHi, I am running a GLM - Poisson Family Identity Link model to show the impact of various predictor …
UPDATES error_3499: coefficient table function not foundHello, I am using Stata 16.1 and encountered the following error message when running even simple r…
Subscribe to:
Post Comments (Atom)
0 Response to Deriving R2 with mi estimate: mixed
Post a Comment