2021年3月27日星期六

Error in finding Multivariate Regression model in R Studio

Question

Data Set

The instructions was to include Region in the model, so I converted it as a factor because it wasn't numeric

when I used the LM model, i keep getting an error

fit_2016 <-lm(Region ~ Economy (GDP per Capita) + Family + Happiness Rank + Lower Confidence Interval + Upper Confidence Interval + Health (Life Expectancy) + Freedom + Trust (Government Corruption) + Generosity + Dystopia Residual + Happiness Score, data = data_2016)  
https://stackoverflow.com/questions/66836265/error-in-finding-multivariate-regression-model-in-r-studio March 28, 2021 at 05:26AM

没有评论:

发表评论