estimates store m1 /* store regression results for later computations */ The first method uses testparm with the equal option. These are just two of the easier methods. We need to make clear that there are more than two methods of obtaining the We will demonstrate two methods for computing the main effects for thisĮxample. Testparm a#b /* test of a#b interaction */Įven though the interaction is statistically significant we will go ahead and check out the The regression model will be followed by a test of the interaction, the margins command and the test of the two main effects using the testparm command. Here is how the above analyses would look using Stata 15’s factor variables with the regress command. Let’s begin by showing the normal anova using a dataset called crf24 to useĪs a comparison. Will show you how to get those main-effects. It confusing when they don’t get the same main-effects as in anova. Many researchers like to do their anova using regression with dummy coding but find
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |