Timeline for Checking consistency of answers within groups (e.g. household) in R
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2022 at 19:21 | comment | added | Jeremy Miles | Can you provide some example data? The binomial is trickier, but still possible. | |
Jun 26, 2022 at 10:15 | comment | added | Felix D. | Well, I made some progress now. The samplesize4survey package (cran.r-project.org/package=samplesize4surveys) offers an ICC function that allowed me to do what I wanted (it almost seems to easy to do it with that package, haha). However, I also want to check for a binominal factor variable ("good" / "bad") whether responses within households are more consistant than in the whole sample population, which isn't possible using the ISS function. Any ideas on how to do that? | |
Jun 26, 2022 at 9:15 | comment | added | Felix D. | Hey Jeremy, thank you very much for your answer! That's already helpful, but I still struggle to apply any of the functions in the various packages to my problem. I want to answer the following question: Is agreement on e.g. level of air pollution (rated on a one 1 to 5) higher within households than in the whole sample? Could you provide me with a small code example with any of the suitable packages (e.g. the ICC package)? I don't get where to specify the groups it should compare (household IDs) and which variable to test on (air pollution)... Thanks for your help! | |
Jun 26, 2022 at 1:56 | history | answered | Jeremy Miles | CC BY-SA 4.0 |