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
Creating a time series that displays the minimum price for multiple offers of the same item that run for discrete time periodsHello I am currently working on a project which observes an identical product that being offered by…
Update to -estout- available from SSCAn update to the estout package is available from the SSC Archive. The update fixes a number of issu…
Panel Data Help - "Repeated Time Values"Hi STATA Community! I have a question regarding panel data [this is my first time using the command…
forvalues with counterHello, I am a PhD student and I have not been using Stata that long (about a year) so my apologies …
Backward eliminationArray Hey I have this regressive model here and need to use backwards elimination to remove non sig…
Subscribe to:
Post Comments (Atom)
0 Response to Approximating the degrees of freedom in a multilevel model
Post a Comment