A couple of folks asked about how to treat missing data in this week's hw. Here is Doug's response:
"For the assignments it's up to you. If you want to just keep using pairwise deletion in the regressions, that's fine. We'll talk later about what to do for the final paper."
Thursday, February 26, 2009
Tuesday, February 24, 2009
Centering syntax
Hi - a couple of people have asked about syntax to center a variable. Here it is - you're just creating a new centered variable by subtracting the mean - so that 0 is the mean for the centered variable. This makes interpreting the interaction effects easier (see posts on interactions below...).
-------------------------------------------------------------------------------
desc var=p1ageent .
EXECUTE .
***from the output from above, find the mean and plug it in here, in place of 65.93.
COMPUTE age_cent = p1ageent - 65.93 .
VARIABLE LABELS age_cent 'P1AGEENT centered around its mean' .
EXECUTE .
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
desc var=p1ageent .
EXECUTE .
***from the output from above, find the mean and plug it in here, in place of 65.93.
COMPUTE age_cent = p1ageent - 65.93 .
VARIABLE LABELS age_cent 'P1AGEENT centered around its mean' .
EXECUTE .
-------------------------------------------------------------------------------
Tuesday, February 10, 2009
Missing Data HW
For this assignment use the missing dataset that's posted on classweb instead of the usual ECLS-K dataset.
Explore the randomness of missing data on family income (WKINCOME). Employ both t-test and chi-square analyses to determine which child characteristics are associated with missing data on WKINCOME. For this assignment, focus on race (RACE5), gender (FEMALE) and mom’s age (P1HMAGE). What are the implications of these missing data for analyses involving children’s economic backgrounds?
But also, include 1 more continuous variable and 1 more dummy/categorical variable of your choosing.
Don't write a paper this week - just write two paragraphs, one on the chi-squares that you run and one on the t-tests.
Also hand in your output and syntax as usual.
Explore the randomness of missing data on family income (WKINCOME). Employ both t-test and chi-square analyses to determine which child characteristics are associated with missing data on WKINCOME. For this assignment, focus on race (RACE5), gender (FEMALE) and mom’s age (P1HMAGE). What are the implications of these missing data for analyses involving children’s economic backgrounds?
But also, include 1 more continuous variable and 1 more dummy/categorical variable of your choosing.
Don't write a paper this week - just write two paragraphs, one on the chi-squares that you run and one on the t-tests.
Also hand in your output and syntax as usual.
Friday, February 6, 2009
Welcome Back
Hi guys -
I'm not sure how useful this blog is, but I thought I'd start it up again and see if folks access it, post comments, etc.
Also, I'll be on the 2nd floor of the library on Monday, 2-4pm if you want to go over questions in person...
Interactions, what a great way to start the new semester!! :)
Megan
I'm not sure how useful this blog is, but I thought I'd start it up again and see if folks access it, post comments, etc.
Also, I'll be on the 2nd floor of the library on Monday, 2-4pm if you want to go over questions in person...
Interactions, what a great way to start the new semester!! :)
Megan
Interaction Assignment
Using the dummy variable indicating that the child lives in a non-two-parent family (SINGPAR, 1=single-parent or other adult guardian family; 0=two-parent family) and the continuous SES measure (WKSESL), create a SINGPAR*SES interaction term. Employ multiple regression to explore whether the relationship between SES and entering literacy ability (C1RSCALE) depends on family structure (and whether the relationship between family structure and entering literacy ability depends on SES). Create an appropriate regression table.
Subscribe to:
Posts (Atom)