![]() Always carefully check if the plot that is generated matches your expectations. ANOVA_design outputs a plot so you can check if you entered all means as you intended. Means need to be entered in the correct order. Thus, for a "2b*3w" design, 6 means need to be entered. Note that for each cell in the design, a mean must be provided. If there are multiple factors (the functions take up to three different factors) seperate factors with a * (asterisk).Īn example of a 2b*3w design is a group of people in one condition who get a drug, and a group of people in another condition who get a placebo, and we measure their health before they take the pill, one day after they take the pill, and a week after they take the pill. A final optional setting is to specify if you want to output a plot or not (plot = TRUE or FALSE)Įvery factor is specified with a number, indicating the numner of levels of the factor, and a letter, b or w, to indicate whether the factor is manipulated between or within participants.įor example, a 2b design has two between-participant groups.Ī 12w design has one factor with 12 levels, all manipulated within-participants.Ī "2b*3w" is a design with two factors (a 2b factor and a 3w factor), the first of which has 2 between participant levels (2b), and the second of which has 3 within participants levels (3w).labelnames: This is an optonal vector of words that indicates factor names and level names (see below).r: the correlation for within designs (or 0 for between designs).Assumes homogeneity of variances (only one standard deviation can be provided). sd: the population standard deviation.mu: a vector with the means for each condition.n: the sample size for each between subject condition.design: string that specifies the design (see below). ![]() It requires the following input: design, n, mu, sd, r, and optionally allows you to set labelnames. Devtools :: install_github( "Lakens/ANOVApower")Ĭurrently the ANOVA_design function can create designs up three factors, for both within, between, and mixed designs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |