Announcement

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

  • Categorical Variables



    Hi, I'm an ultra-beginner to Stata and everything related to it. Nevertheless, I have to fix this problem.
    I work on a large-scale assessment with 42,000 values. have 5 self-concept variables, one for each subject (eg: sskmat, sskdeu) and 5 grade variables, one for each subject (eg: tnotemat, tnotedeu) each with 6 grade characteristics (1 is bad; 6 very good) and the dummy variable female.

    I basically in the first step just need two grade groups (German&Math High group and one Mathhigh group) and their respective self-concept mean for female and non-female. I z-standardized the variables as well but didn’t use it for this analysis so far, cause I needed the “real” grades (due to a lack of skills).

    So far I managed it this way, but it’s not really convenient. I would also need a Cohen’s d (I guess?)

    Mean sskmat if tnotemat>=5 & tnotedeu ==4 & female

    Mean sskmat tnotemat>=5 & tnotedeu >=5 & female

    How can I do this properly?

    Thanks a million!!!
    Last edited by Kira Mitz; 28 Dec 2021, 05:17.

  • #2
    Kira:
    welcome to this forum.
    The substantive part of your post is missing.
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      Kira:
      as per your codes, you're calculating the -mean- (+ standard error and 95% CI) of the two variables imposing some conditions via an -if- qualifier.
      Remarkably, your last condition should be somethng like:

      Code:
      & female==0
      or
      Code:
      & female==1
      Be sure that you want -mean- (an inferential command) and you're not interested in descriptive statistics that you can obtain via -summarize- or -tabstat-.
      In addition, -search cohend- will take you to the instructions needed to install the community-contributed module you may be interested in.
      Kind regards,
      Carlo
      (StataNow 18.5)

      Comment

      Working...
      X