171k views
1 vote
USING R: Using multivariate statistics, test if the following variables: SW_Tickets, DnD, Sports, and Nerd_Worry, significantly predict whether a person's favorite hero is Leia or Chewbacca. Select which of the following statements are true (SELECT ALL THAT APPLY): Sports MARGINALLY increases the likelihood that Leia (as opposed to Chewbacca) is the favorite hero. SW Tickets MARGINALLY increases the likelihood that Leia (as opposed to Chewbacca) is the favorite hero. SW Tickets MARGINALLY decreases the likelihood that Leia (as opposed to Chewbacca) is the favorite hero. Sports MARGINALLY decreases the likelihood that Leia (as opposed to Chewbacca) is the

1 Answer

5 votes

Final answer:

To test if the variables SW_Tickets, DnD, Sports, and Nerd_Worry significantly predict the favorite hero, Leia or Chewbacca, you can use logistic regression in R.

Step-by-step explanation:

To test if the variables SW_Tickets, DnD, Sports, and Nerd_Worry significantly predict whether a person's favorite hero is Leia or Chewbacca, you can use a multivariate statistical method such as logistic regression. Logistic regression allows you to model the relationship between a set of predictor variables and a binary outcome variable.

In R, you can use the glm() function to perform logistic regression. You would set up a model with the binary outcome variable 'Favorite_Hero' (where 0 represents Chewbacca and 1 represents Leia) and the predictor variables SW_Tickets, DnD, Sports, and Nerd_Worry. The null hypothesis is that the coefficients for all predictor variables are equal to 0, indicating no significant relationship.

After fitting the logistic regression model, you can use hypothesis testing or confidence intervals to determine if any of the predictor variables are significantly associated with the likelihood of Leia being the favorite hero. You can use the coefficient values and their corresponding p-values to make conclusions about the direction and significance of the relationships.

User Lost Left Stack
by
8.2k points