Announcement

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

  • Correct Modeling of Data

    Stata Experts:

    I have been struggling for several days with my data analysis plan and I am hoping for some clarity.
    1. I am working with ECLSK:2011, a nationally representative dataset which requires the use of the .svyset command. (data is nested --
    children in schools, schools in districts (the primary sampling units). I have done that and all is fine with respect to descriptive analysis.
    2. I am looking at the effect of maternal education (5-level categorical predictor based on educational attainment: below high school, high school, some college, etc) ) on children's math achievement (represented by a z-scored continuous variable) in the fall of kindergarten.
    3. I would like to analyze the data using multilevel modeling with fixed effect to control for school effects.
    4. This is a four level model:
    Step 1: Regress maternal characteristics on math achievement:
    ... maternal characteristics include maternal age, poverty level, work status, occupational prestige
    Step 2: Add maternal activities at home; i.e. frequencies of activities like building, working with numbers, playing with puzzles. The frequencies include: never, once or twice/week, three to six times/weeks and everyday. I used PCA to analyze these activities in the form of PC_1 and PC_2.
    Step 3. Add maternal expectations for children's educational attainment (also a 5-level categorical variable: below high school to professional degree); and finally
    Step 4. Add covariates found in research to be associated with math achievement, i.e. like single parent hh, poverty level, number of siblings, child age.

    In Stata, the svy prefix cannot be used with: .xtreg fe. Is there a different way to do this analysis?
    For example, what about just using the cluster option with OLS regression? cluster(school_id)
    Is .mixed a possibility? I am not measuring Level 2 data and I am not an expert in this type of analysis. Would .areg work by absorbing (school_id)?
    Any help would be gratefully accepted.
    Best,
    Pat


  • #2
    Pat:
    your query is too long and difficult to follow (please, read the FAQ on how to poste mor effectively).
    That said:
    - if you have nested data, you should consider -mixed- instead of -svy:-;
    - again, I do not see useful links between -xtreg- and -svy:-;
    - if you have nested data, why considering -regress-?

    As an aside, please pèost what you typed and what Stata gave you back along with an excerpt/example of your data via -dataex-. Thanks.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Carlo: Thank you for your response. I think -mixed is the way to go for my analysis. I will read the FAQ section to post more efficiently and effectively.

      Comment


      • #4
        Just as a side note: from Stata 14 onwards, we may use svy with multilevel models.
        Best regards,

        Marcos

        Comment


        • #5
          Hi Marcos: I have Stata 15 and I cannot use the command:
          .svy: xtreg var-names, fe
          I get the response "xtreg is not supported by svy with vce(jackknife)"
          Pat

          Comment


          • #6
            Pat:
            because -xtreg- is not supported by -svy-.
            That said, Marcos mentioned mixed models, not panel data regression models.
            Kind regards,
            Carlo
            (Stata 19.0)

            Comment


            • #7
              That's absolutely correct, Carlo Lazzaro . Thank you for clarifying this to Pat Burns
              Best regards,

              Marcos

              Comment


              • #8
                Carlo and Marcos: My apologies, but I am not getting the clarification. I am not an expert in this type of analysis. I was hoping to analyze the data using multilevel modeling with fixed effects which is a regression analysis no?. Although my data has children's test scores taken at several different time periods, I am only interested in one point in time and will not be analyzing across time periods. The -mixed allows for a distinction between Level 1 (student level) and (Level 2 school level) data correct? Thanks, Pat

                Comment


                • #9
                  If you wish to apply a multilevel approach, the command- mixed - is the one to search for.

                  If you wish to apply a survey design, the prefix - svy - is the one to search for.

                  The good news is: you can use both at once in Stata.

                  To end, I’m basically pointing out to an interesting strategy, but it is up to you to verify whether it fits in your needs.
                  Best regards,

                  Marcos

                  Comment


                  • #10
                    Marcos: Understood...
                    Many thanks,
                    Pat

                    Comment

                    Working...
                    X