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
Identify observations in >1 variableHello, I wonder if anyone could help with the following: I have 2 variables with unique identifica…
String variable in Do-fileNoob question: I need to use a string variable in the name of other variables. I thought of somethi…
Dividing the dataset into tertilesDear Statalist members, My actual dataset is large so i am posting an example here. Code: * Exam…
Baseline Gravity Equation EstimationHi, I am currently working on my thesis. I have a dataset of approximetely 120 reporting and partner…
Splitting commandHe Everyone, Hope the dataex command is used correctly here! I need to split the county name. I on…
Subscribe to:
Post Comments (Atom)
0 Response to Approximating the degrees of freedom in a multilevel model
Post a Comment