subject
Mathematics, 22.09.2020 14:01 zackinator4894

Fitbit is a company that sells various activity trackers that measure physical activity. A study aims to investigate whether tracker type and gender impact the amount of physical activity (measured by the total number of steps taken per day). Assume you are the lead of a statistical analysis team that has access to data collected from randomly selected 400 Fitbit users including their:• tracker type (Versa, Charge, Inspire and Ionic – 100 people in each tracker type group),• gender (F = female, M = male), and• steps (number of steps taken per day). Copy, paste and run the R syntax below in your R console to create the dataset called fitbit. # Start of R syntax# Components of the datasettracker = c(rep("versa", 100), rep("charge", 100), rep("ionic",100), rep("inspire",100))gender = c(rep("M", 50), rep("F",50),rep("M", 50), rep("F",50),rep("M", 50), rep("F",50),rep("M", 50), rep("F",50))steps = c(runif(100, min=5000, max=8000),runif(100, min=2000, max=3500),runif(100, min=4000, max=6500),runif(100, min=7500, max=12000)) # Create the dataset called fitbitfitbit <- data. frame(tracker, gender, steps) #Check out the dataset structurestr(fitbit) # End of R syntaxDevelop and run a statistical model in R using the dataset fitbit to test the hypotheses whether tracker type (column name: tracker) and gender (column name: gender) have a statistically significant impact on the response variable (column name: steps) at the significance level 0.05. Assume there is no interaction between tracker type and gender. Which factor(s) is/are significant? What is the statistical decision? Explain your results. Now, assume there might be an interaction between tracker type and gender. Develop and run a new statistical model to include an interaction term using the dataset fitbit. Which factor(s) is/are significant? What is the statistical decision? How would you interpret the results? Which model (with or without interaction term between tracker type and gender) would you recommend using? Why? Explain your results. A junior analyst who joined your team recently is worried about whether the selected model in Question 4 is appropriate for the given data. Check the normality assumption using the appropriate visualization method in R. Does the normality assumption of the selected model hold? Explain your results.

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 16:40
The table shows the total distance that myra runs over different time periods. which describes myra’s distance as time increases? increasing decreasing zero constant
Answers: 1
question
Mathematics, 21.06.2019 22:30
Gabrielle's age is two times mikhail's age. the sum of their ages is 84. what is mikhail's age?
Answers: 2
question
Mathematics, 22.06.2019 00:00
The statements below can be used to prove that the triangles are similar. ? △abc ~ △xyz by the sss similarity theorem. which mathematical statement is missing? ∠b ≅ ∠y ∠b ≅ ∠z
Answers: 3
question
Mathematics, 22.06.2019 04:30
Kate has 50 quarters and dimes. she has a total of $9.80. how many dimes that she have?
Answers: 1
You know the right answer?
Fitbit is a company that sells various activity trackers that measure physical activity. A study aim...
Questions
question
Mathematics, 21.05.2021 03:00
question
Mathematics, 21.05.2021 03:00
question
Mathematics, 21.05.2021 03:00
question
Geography, 21.05.2021 03:00
question
Mathematics, 21.05.2021 03:00
Questions on the website: 13722361