Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 186459

Regression that includes two or more non-constant independent variables.

1 vote

Do I need to create a dummy variable?

You can try to use the R function ifelse(test_expression,x,y). (reference: https://www.programiz.com/r-programming/ifelse-function) In your case, refer to the following code (person is a variable na …
J-H Yoon's user avatar
  • 181
0 votes
Accepted

One-way ANOVA or two-way ANOVA for more than 10 independent variables and 1 dependent variable?

First of all, what is the purpose of your analysis is important. If you want to evaluate the difference in scores (y) between the status of the disease (binary; 0 or 1), I recommend multiple linear …
J-H Yoon's user avatar
  • 181