Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Experimental Design for Chi-Squared of Independence

    Project goal of analyzing how percentage of questions on standardized literacy exams varies in high schools based on socioeconomic status. Plan on using the Chi-squared test for independence where I will be summing the total counts for correct and incorrect responses of total respondents.

    Assuming there is a relationship, plan on breaking it down further to see if there are differences among grade level (i.e 9th vs 12th) to see if high school classes improve the count of correct responses, ethnicity, or other factors. Plan on using chi-square test to check for a differences.


    Given chi-square is the best as it is non-parametric and can take on unequal sample sizes, is there a way to run a nested test to examine how literacy exam scores in high school vary by socioeconomic status of the high school, and then possibly break the difference down further into grade level, ethnicity, parent education, etc.? Please see attached screenshot.
    Attached Files

  • #2
    if I understand you correctly, you can use "subpop" option if your data are subset or use "if" otherwise; see
    Code:
    h svy
    h if

    Comment

    Working...
    X