My data has 3 independent variables, all of which are categorical:
condition: cond1, cond2, cond3 population: A,B,C task: 1,2,3,4,5
The dependent variable is the time the task completed. I run lm(time~condition+user+task,data)in R and get the following results:
lm(time~condition+user+task,data)
What bothers me is that cond1, groupA and task1 are not taken into account. From linear regression, “NA” is estimated only for the last coefficient , I understand that one factor level is selected as “base” and shown in the line (Interception).
But what if several factors are used as the baseline, as in the above case?
"", "" "", ; cond1, A t1. () , cond1, groupA task1.
cond1, groupA task1 , . .
, B , - B 9.33 (?) , - A, , , p- , , B (A). , (, usergroupB:taskt4) ( ) , ( , B 4). (usergroupB taskt4).
usergroupB:taskt4
usergroupB
taskt4
, .
() cond1 + groupA + task1?
.
, cond1, groupA task1 ?
, . . , . , (. multcomp).
, B +9.3349 GroupA? cond1 + groupA + task1?
cond1/task1/groupA cond1/task1/groupB. ( @Rufo, , , groupB groupA , .)
R . , . .
cond1 condition, A population 1 task. .
cond1
condition
A
population
1
task
- .
, conditioncond2 - cond2 cond1, population - A task - 1. , , , . (, conditioncond3 - cond3 cond1.)
conditioncond2
cond2
conditioncond3
cond3
The same is true for other factors. Effects populationare saved only for condition cond1and task 1. Effects taskare saved only for condition cond1and population A.
Source: https://habr.com/ru/post/1526161/More articles:scrollViewTexturedBackgroundColor устарел в iOS 7.0 - iosIs it possible to show the progress on the page when downloading a file? - c #Video recording of portrait activity video - androidHow can I recursively print a list of files with file names less than 25 characters long using single line? - command-lineHow to navigate a user to log in when not logged in - dartAsyncTask with update? - c #How can I use QueryOver to filter for a specific class? - linqstringByReplacingOccurrencesOfString does not give me the desired result - iosAn unknown error has occurred related to the filter settings. check that parameters are valid - sqliOS - save image in jpg format - iosAll Articles