I am very new to stata so bear with me..
I have conducted an experiment where we measure a hormone in the blood and because of large interpersonal variation, I have defined a new variable, “Change”, which is the difference in hormone concentration in a given person between 2 treatments. I total I have 3 treatments (control, diet 1, diet 2). Some patients received the control and diet 1, others control and diet 2, or diet 1 and diet 2.
Now I want to see if there is significant difference between the different diets, using my variable “Change”. A statistician recommended to find the 2-sided p-value for pair equal to 0, using ANOVA.
Can anyone help with a command for that? I want to know the p-value for each group of “double-treatments”, e.g. control and diet 1, control and diet 2, and diet 1 and diet 2.
I tried:
oneway Difference Difname, tabulate bonferroni
But it doesn’t seem right.
Anyone who can help?
Related Posts with New to this - anova test
Multilevel model error with covariance (unstructured) - Hessian is not negative semidefinite conformability errorI'm testing a multilevel model with random slopes and a covariance structure for the error and reml …
Value labels: re-coding, assigning multiple labels to one value and differentiation in variablesHi all, I want to recode two of my value labels, which are used for multiple variables. The first …
Regressions with lagged structure using loop commandHi everyone, I have run the following regressions using the loop command which works just fine: C…
Using mrobust with polynomial independent variableDear community, I'd like to use the "mrobust" command by Young & Holsteen (2017) for estimating…
Star option (for significance) for Pearson / Spearman correlation matrix (corsp)Dear Statalist members, I want to display the Pearson correlation coefficients and the Spearman ran…
Subscribe to:
Post Comments (Atom)
0 Response to New to this - anova test
Post a Comment