Data


Attaching package: 'dplyr'
The following objects are masked from 'package:stats':

    filter, lag
The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Answer as indicated

1. Provide the same output provided below

1.1 First output:

1.2 Second output:

Consider the variables: In5, Ex4, TP3, and CP2

Recoding the responses in Variables “In1 and In2” with the following changes

"1 for "Strongly Disagree"
"2" for "Disagree"
"3" for "Moderately Disagree"
"4" for "Neutral"
"5" for "Agree"
"6" for "Strongly Agree"

2.1 Answer the following:

    a. HOw many observations in Variable In1 that are strongly agree at the same time moderately disagree in variable In2?
    b. HOw many observations in Variable In2 that are strongly agree at the same time Neutral in variable In1?
    

3. Consider the following:

Make a new variable named as “InAverage”, InAverage is the average of the responses in the variables In1, In2, IIn3, In4, and In5.

Make two groups of the variable “Age”,

Grouping:

Group 1 with age less than 20 years old

Group 2 with age more than 20 years old

3.1 Is there a significant difference between the two groups of age in terms of the variable “InAverage”?

4. Is there a significant difference among the courses taken in terms of the variable “InAverage”?