I am running a multivariate regression using my own data from my qualtrics survey. In the survey I did a treatment (author vs no author), with outcome being the dependent, and age and party being the independent variables. This is my code:
model.1 <- lm(Outcome ~ NoAuthor + PARTY + AGE, data=Party_Lines)
I then get this error:
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
NA/NaN/Inf in 'y'
In addition: Warning message:
In storage.mode(v) <- "double" : NAs introduced by coercion
Please help and let me know if you need any more info. I am a very new programmer and have no idea what to do.