Dear Listers,
Using -contrast- after the -mixed- command allows you to test the main and interaction effects:
mixed y a##b || id:, contrast a##b The -contrast- command estimates a chi-square test - is this a Wald test? I have seen online references suggesting the chi-square test can also be converted into ANOVA- style F-ratio tests (chi-square/df) and in this resource it shows how for repeated measures, F-ratio tests can be directly obtained by specifying repeated methods and small samples: https://www.stata.com/stata-news/new...ing-contrasts/ mixed y a##b || id:, dfmethods(repeated) contrast a##b, small How small would the sample really need to be for one to be able to use such an approach? Most readers are familiar with the F-ratio so it may be helpful to report it over the chi-square. I would also welcome some more information on the relationship between the chi-square and F-ratio tests calculated by the -contrast- command following -mixed- Any resource welcome. Thanks in advance,
Laura
Related Posts with Mixed regression contrasts
Test for heteroscedasticity and autocorrelation after SUREG command (seemingly unrelated regression)Dear community, I have run a SUREG model and wanted to get some diagnositic tests such as test of h…
Loops to switch between different sub-foldersWhat is wrong with commands in this Stata do-file? I am trying to open all batch files that are in s…
When to divide in subpopulations, using the margins command (AME) in a logit model?My goal is to compare the AMEs between two subpopulations of my sample in a logit model. However, th…
sfcross commandhi i am using stata and "sfcross command" for calculating profit efficiency with cross sectional dat…
sfcross commandhi i am using stata and "sfcross command" for calculating profit efficiency with cross sectional dat…
Subscribe to:
Post Comments (Atom)
0 Response to Mixed regression contrasts
Post a Comment