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 143391

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

1 vote
Accepted

How to calculate average importance of factors (attributes) correctly in "conjoint" package ...

Can you improve your answer, please. There are several mistakes, such as in the first attribute calculation. Also, what is y,type = "score" supposed to be? Usually you should be able to calculate impo …
Johannes Titz's user avatar
1 vote

ANOVA sum of squares between groups

If all samples come from the same population, then the means of these samples can be seen as a sampling distribution. The variance of this sampling distribution is a function of the population varianc …
Johannes Titz's user avatar
3 votes

Exact central confidence interval for a correlation

You first have to transform r to a z value (atanh part), then you add and subtract the standard error with the appropriate multiplier to get the correct confidence (as you did correctly). … Finally, you have to transform the whole thing back into the r-metric (tanh part). se <- 1/sqrt(17) r <- 0.7231654 tanh(atanh(r)+c(1,-1)*qnorm(.95)*se) Which results in [1] 0.8650790 0.4740748 As mentioned …
Johannes Titz's user avatar
1 vote
Accepted

How to do a choice-based conjoint analysis with multiple regression and 3 levels per attribute?

Actually, if your data is tidy, you can just put in categorical variables into lm and R will handle the dummy-coding for you. …
Johannes Titz's user avatar