Lab Assignment 5

Compose your answers in a Word/Pages/Google document (or the equivalent kind of file) and email prior to the due date or print and bring to class on the due date. Test your code in R before submitting your lab, so that you know it is correct.
Be careful to write the code exactly, or copy the code from the R console into your word processor to ensure accuracy.

1. Identify one numeric variable in ANES 2016. Perform the hypothesis test, and interpret the results as appropriate.

Group Exercise: Factorial Analysis of Variance

Formulate a sociological model to explain political view. Compute a factorial analysis of variance using ANES 2016, like we did in class with ANES 2012. Perform the hypothesis test. Interpret the results, as appropriate.

R code for analysis of variance

The code from class, W 3/28.

Group Exercise: Analysis of Variance (F-test)

Formulate a causal model and then identify a categorical independent variable and a numeric dependent variable. Compute the F-test and interpret the results. Paste your R code below your interpretation.

Group Exercise: Another T-test

Formulate a causal model and then identify a categorical independent variable and a numeric dependent variable. Compute the T-test and interpret the results. Paste your R code below your interpretation.

Group Exercise: Hypothesis Testing

# ANES2012<-read.csv("http://www.courseserve.info/files/ANES2012r.csv")
# ANES2016<-read.csv("http://www.shortell.nyc/online/files/anes_timeseries_2016.csv")

In 2012, the mean favorability toward the Democratic Party was 54.9 degrees. We can use this to formulate a hypothesis about favorability toward the Democrats in 2016.

H0: muDems = 54.9
H1: muDems =/= 54.9

Group Exercise: Another Confidence Interval

Compute the 95% confidence interval for a numeric variable from ANES 2016. Interpret the results. Paste your R code beneath your interpretation.

Winter Storm Alert

Since the college cancelled classes on Wednesday, 3/21, I'll update the schedule. We'll do t-test on Monday. If needed, I'll adjust the due dates to reflect the new schedule.

Group Exercise: Confidence Interval

Select a numeric variable from the ANES 2016. Write R code to compute the 95% confidence interval and interpret the results. Copy your R code below your interpretation.

Group Exercise: More Standard Scores

Suppose you are studying college graduates in the US. You know that the population mean student loan debt is $34,500 and the population standard deviation is $22,800.

You can compute the area under the normal curve here: http://www.stat.berkeley.edu/~stark/SticiGui/Text/clt.htm#normal_curve

What is the probability of selecting a college graduate at random:

Pages

Subscribe to SOCY 2112 RSS