Relative Content

Tag Archive for regressionrstudio

Multiple linear regression rstudio – how to test assumptions here?

enter image description hereI have a numeric dependent variable (drug reports in schools) with three binary categorical predictors – whether schools receive drug training, whether schools receive discipline training, and whether schools have a high or low number of intervention practices. I have made all of these factor variables, and I am now struggling to test the assumptions of my regression analysis. Why is the scatterplot showing vertical lines? Do I need to change my Rcode? I have attached everything below and any help would be great!
FYI my dependent variable (drug) has a skewed distribution, so I did the log transformation.