1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Analyzing Survey Data in R

Connected

अभ्यास

Multiple linear regression

Now let's roll Gender into our regression model of Weight using Height. Look at the scatter plot we made in a previous exercise. Does it seem like we should vary the slopes or not? Let's practice building both a same slope model and a different slopes model.

निर्देश 1/2

undefined XP
    1
    2
  • Using svyglm(), build a regression model for Weight using Height and Gender where the slope is the same for both genders. Call the model mod1.
  • Print a summary of mod1.