[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-mixed-models
Subject:    [R-sig-ME] Detecting Group Size Differences in Clusters
From:       Simon Harmel <sim.harmel () gmail ! com>
Date:       2022-11-29 16:43:41
Message-ID: CACgv6yUK_tgyg34GRnEge61iwafZ-sEyPgxFyjfdf7WdY+aZeA () mail ! gmail ! com
[Download RAW message or body]

Hello All,

Imagine we have two groups of students in a school: group A and group B.

The distribution of these two groups of students in each class (CLASS)
nested in each course (COURSE) is shown below (*the actual data is larger*).

**QUESTION: I was wondering if there is a mixed method technique to answer
the following questions:

1- Overall, is a significantly larger group A vs. B students found in the
data?

2- For each course, is a significantly larger group A vs. B students found
in data?

Warm Regards,
Simon

dat <- read.table(text="
COURSE          CLASS  GROUP_A   GROUP_B
algebra         1         25        8
algebra         2         35        9
number_theory   3         18        7
number_theory   4         14        11
math_games      5         12        5
math_games      6         19        4
",header=TRUE)

	[[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic