Docsity

Soc. 402 Spring 2001 Assignment #7: Logit and Probit Models with Binomial Distribution, Assignments of Introduction to Sociology

Toggle sidebar
bg1
Soc. 402 Spring 2001
Assignment #7
Due: Beginning of Class, April 3
Instructions: This assignment uses the nsfhlb11" SAS data file found on the course web
site (go to www.uic.edu/~ragordon and click on courses  to download this file). This data
file contains 9,984 persons from the National Survey of Families and Households. There
are three variables in this file (in addition to the ID variable named caseid):
1. RAGE R s Age
2. RMARSTAT R s Marital Status
1=married
2=separated
3=divorced
4=widowed
5=never married
2. RACE R s Race/Ethnicity
1=African American
2=White
3=Mexican American
4=Puerto Rican
5=Cuban American
6=Other Hispanic
7=American Indian
8=Asian
9=Other
In this assignment, you will use these data to estimat e logit and probit models in SAS.
This assignment also asks you to make calculations based on the binomial distribution and
the logit and probit transformation by hand and in SAS.
You should answer the questions below, conducting SAS analyses as necessary. SAS output
included with your responses should be saved as a rtf file and edited within MS Word or
Word Perfect. You can write your answers to questions by freehand on printouts of the
output and/or type your responses directly into the rtf file. In either case, the paper you
hand in should be neat, easy to follow, and concise. To assist in grading, turn in your
SAS program (text file) in addition to the SAS output (rtf file).
1.Binomial Distribution: Probabilities and Likelihoods
SAS TASKS: None.
WRITE-UP TASKS:
A. What is the probability of observing 4 married persons in a random sample of size 15
given that the probability of being married for each person in the population from
which the sample was drawn is 0.30?
B. Calculate the likelihood of observing 8 successes out of 20 observations over the
pf2

Partial preview of the text

Download Soc. 402 Spring 2001 Assignment #7: Logit and Probit Models with Binomial Distribution and more Assignments Introduction to Sociology in PDF only on Docsity!

Soc. 402 Spring 2001 Assignment # Due: Beginning of Class, April 3

Instructions : This assignment uses the nsfhlb11" SAS data file found on the course web site (go to www.uic.edu/~ragordon and click on courses  to download this file). This data file contains 9,984 persons from the National Survey of Families and Households. There are three variables in this file (in addition to the ID variable named caseid):

  1. RAGE R  s Age
  2. RMARSTAT R  s Marital Status 1=married 2=separated 3=divorced 4=widowed 5=never married 2. RACE R  s Race/Ethnicity 1=African American 2=White 3=Mexican American 4=Puerto Rican 5=Cuban American 6=O ther Hispa nic 7=American Indian 8=Asian 9=Other

In this assignment, you will use these data to estimate logit and probit models in SAS. This assignment also asks you to make calculations based on the binomial distribution and the logit and probit transformation by hand and in SAS.

You should answer the questions below, conducting SAS analyses as necessary. SAS output included with your responses should be saved as a rtf file and edited within MS Word or Word Perfect. You can write your answers to questions by freehand on printouts of the output and/or type your responses directly into the rtf file. In either case, the paper you hand in should be neat, easy to follow, and concise. To assist in grading, turn in your SAS program (text file) in addition to the SAS output (rtf file).

1.Binomial Distribution: Probabilities and Likelihoods

SAS TASKS: None.

WRITE-UP TASKS:

A. What is the probability of observing 4 married persons in a random sample of size 15 given that the probability of being married for each person in the population from which the sample was drawn is 0.30?

B. Calculate the likelihood of observing 8 successes out of 20 observations over the

following possible probabilities of success: 0.30, 0.40, and 0.50.

C. What do the results in `B  suggest to you about the probability of success in the population from which these 20 observations were drawn?

2. Working with Logit and Probit Transformations SAS TASKS: Verify the calculations in 2.A and 2.B.

WRITE-UP TASKS: A. Calculate by hand logits for the following probabilities: 0.25, 0.45, 0.65. B. Using the table handed out in class, look up probits for the following probabilities: 0.25, 0.45, 0.65. (As we did in class, if the probability falls between two tabled values, average those two values to come up with your answer).

3. Estimating Logit and Probit Models in SAS

SAS TASKS: Using the nsfhlb11 data file, create the following variables: (1) a dummy indicator of being married, (2) five dummy indicators of race being white, Mexican American, Puerto Rican, other Hispanic, and other, with African American as the omitted category, and (3) a quadratic term for rage. Estimate a logit model predicting the probability of being married based on the race/ethnicity dummy variables and the age variables. Use both the proc genmod and proc logistic approaches. Re-estimate the model using both procedures, but now use the probit link. (Hint: You should estimate four models in all).

WRITE-UP TASKS: A. Calculate the ratio of the logit estimates to the probit estimates for the seven predictor variables included in the model. B. Are the ratios you calculated in A what you expected (be sure to explain your answer)?