When you use the mean function is it creating an additive score or the literal mean (average) of the input values? In other words, if I need to generate a composite score for a 3 item subscale which adds the 3 items together, would I use this function or Sum instead of mean?
You are a super good teacher/educator. You explained merging of multiple data files in R very well. I liked the lecture and therefore I decided to learn R from your channel but when looked for more videos, I found very small number of them unfortunately. I think your channel will be popular if you record more lectures on R the same way you did for the merging lecture.
Hi very useful video!! one question, can we rename the name of the variable after coding? or does it have to be the same variable? This is my sample recode, My Verbal item 11 when downloaded was scored as 1, 2, 3, and 4 across respondents where the right answer is 1 and rest should be scored as o so my syntax is following. mypsy <- data %>% mutate(V11=recode(Verbal11,"1"=1, .default=0)) The problem is one I run for my entire verbal scale I do not see all items after recoded just one latest one. For example after running all at the same time I just see the last column V23 in my data set. It will be great if you could advise. mypsy <- data %>% mutate(Verbal2=recode(Verbal2,"1"=1, .default=0)) mypsy <- data %>% mutate(Verbal4=recode(Verbal4,"1"=1, .default=0)) mypsy <- data %>% mutate(V11=recode(Verbal11,"1"=1, .default=0)) mypsy <- data %>% mutate(V14=recode(Verbal14,"1"=1, .default=0)) mypsy <- data %>% mutate(V15=recode(Verbal15,"1"=1, .default=0)) mypsy <- data %>% mutate(V19=recode(Verbal19,"1"=1, .default=0)) mypsy <- data %>% mutate(V23=recode(Verbal23,"1"=1, .default=0))
Will you have to select which column you want to check for Alpha? So, for every test you want to compute with X data vs X data, you compute Chronback's Alpha, to test the reliability of your dataset and your questionnaire? First time working with R and first time working with dataset taken from a questionnaire, got a large dataset, you use here two values. So I assume, you can only test Reliability with two variables?
Thanks, it helped me a lot! I had to recode numerical values into another numerical value (because some items were positively phrased and some are negatively phrased), but it still worked!
This is so useful, exactly that I was looking for! Thanks you so much for recording this. It seems "funs()" is already deprecated, what is the alternative?