Europrojekti.eu Blog

horse (photo: Pixabay)

Assignment: Running a Lasso Regression Analysis

Lasso regression analysis is a shrinkage and variable selection method for linear regression models. The goal of lasso regression is to obtain the subset of predictors that minimizes prediction error for a quantitative response...

forest (photo: Pixabay)

Assignment: Random Forests

Random forest analysis was performed to evaluate the importance of factors that may influence adolescents’ health and risk behaviors – thinking about suicide and emotional state in the National Longitudinal Study of Adolescent Health...

notebook (photo: Pixabay)

Assignment: Decision Tree

In this assignment I use the National Longitudinal Study of Adolescent Health (AddHealth) which is a representative school-based survey of adolescents in grades 7-12 in the United States. The Wave 1 survey focuses on...

tulips (photo:Pixabay)

Assignment: Logistic Regression

I tested the association between birth control use during first intercourse (binary response variable, yes=1, no=0) and presence of depressive symptoms in data set addhealth_pds. Hypothesis is that depressive symptoms are associated with having...

laptop at night (foto:Pixabay)

Multiple Regression

In Gapminder dataset I examined association between internetuserate variable and incomeperperson variable. As confounding variable I took urbanrate variable. Incomeperperson and urbanrate – explanatory variables Internetuserate – response variable After adjusting for potential confounding...

Field of Rapeseeds

Assignment: Basic Linear Regression Model

In Gapminder dataset we can find variables employrate which represent percentage of total population, age above 15, that has been employed during the given year and internetuserate which represent internet users with access to...