Hi everybody,
I'm trying to estimate a random intercept and slope model, were I estimate the degrees of freedom with "dfmethod(satterthwaite)"
the code look like this:
mixed std_xenophobia_ij std_distrust_ij std_corruption_j age_ij women_ij eduyrs_ij std_contact_ij std_div_nbh_ij std_eco_depr_ij std_relig_ij eduyrs_pj muslim_j || cntry: , reml dfmethod(satterthwaite) dftable(pvalue) noheader noretable vsquish
But when I run it, I get the following error:
Performing EM optimization:
Performing gradient-based optimization:
Iteration 0: log restricted-likelihood = -37553.39
Iteration 1: log restricted-likelihood = -37553.39
Computing standard errors:
Computing degrees of freedom:
st_select(): 3200 conformability error
_mixed_ddf_get_X_matrix(): - function returned error
<istmt>: - function returned error
r(3200);
I have no problem using "dfmethod(satterthwaite)" in a more simple random intercept model that only include the main predictors (and no problem running the model without the dfmethod):
mixed std_xenophobia_ij std_distrust_ij std_corruption_j || cntry: , reml dfmethod(satterthwaite) dftable(pvalue) noheader noretable vsquish
Has anybody any idea of what is going wrong?
Best regards Anders
Related Posts with Approximating the degrees of freedom in a multilevel model
Question about spregdpdDear all, After we use xtabond or xtabond2, we can use "estat serial" to get AR(1) and AR(2) .But if…
Loop command to generate 100 variables with mean 0 and standard deviations which increase from 1 to 100 How i can use the loop command to generate 100 variables var_1 to var_100, which are normally dist…
Lagged Dependent Variable (Panel)Is it appropriate to include the dependent variable as a control in an FE panel regression. Previous…
Selecting a subset from a balanced panel data under certain conditionsDear all, I need some help. Well, I have a database in the structure of a balanced panel. I have to…
A few questions about my analysis in StataDear all, I am new on this forum, so I hope I'm posting these questions on the right place. I am n…
Subscribe to:
Post Comments (Atom)
0 Response to Approximating the degrees of freedom in a multilevel model
Post a Comment