Question: Use the following code to load the GSS dataset into R: load(url(http://bit.ly/dasi_gss_data)) The name of the dataset that you load is gss. For example, you

 Use the following code to load the GSS dataset into R:

Use the following code to load the GSS dataset into R: load(url("http://bit.ly/dasi_gss_data")) The name of the dataset that you load is gss. For example, you can see a list of the variable names using the following commands: attach(gss) names(gss) *Note: I decided that the name of my variable will be conarmy and that I will focus on Confidence in Military which I think is my independent variable approved by the instructor *Update: My dependent variable is CONINC and my independent variable of interest is CONARMY. Try subsetting on 33 year or a range of years and make sure your CONARMY has values for that period. It's possible that question was not asked every year. If you see only NAs for for that variable when you run table (), change the years selected Use str(name of your variable) to find out whether your variable is categorical ("factor" type in R) or numerical ("int" type in R). Note that this dataset includes data from many years. In your analysis it you are required to first subset the data for a particular year (or years) and analyze only data pertaining to those years. This might be especially useful if you're using a variable from a survey question that was only asked in certain years. Data Analysis Project Components You will build a multiple regression model that predicts family income levels based on your variable of interest, after controlling for four demographic variables: age, sex, race, and educ. Your dependent variable (DV) is coninc (family income in constant dollars). The independent variable of interest you choose can be numerical or categorical. It must be approved by the instructor by April 26th. Use exploratory and inferential methods and techniques we learn in this class to answer your research question, and summarize your findings into a report. Your goal is to submit a completely reproducible project that conveys that you have mastered the MLR method that we have learned in class and that helps you answer your research question. Part 1: Introduction What is your research question? Example: After controlling for age, sex, race, and educ, does being self-employed have a significant effect on family income

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!