What assumptions must be met for a Chi-square test for independence to be valid?
- The data must be continuous
- The data must be normally distributed
- The observations must be independent and the expected frequency of each category must be at least 5
- The sample size must be larger than 30
For a Chi-square test for independence to be valid, the observations must be independent, and the expected frequency of each category must be at least 5.
The ________ in Spearman's Rank Correlation indicates the strength and direction of association between two ranked variables.
- Coefficient
- Median
- P-value
- Rank
The coefficient in Spearman's Rank Correlation indicates the strength and direction of the association between two ranked variables. This coefficient can range from -1 (perfect negative correlation) to 1 (perfect positive correlation).
What is the purpose of a scatter plot?
- To compare two numerical variables
- To display a distribution
- To show the relationship between three variables
- To visualize categorical variables
A scatter plot is a graphical representation that uses dots to represent the values obtained for two different variables - one plotted along the x-axis and the other plotted along the y-axis. It helps to identify the type of relationship (if any) between two numerical variables.
Does PCA require the features to be on the same scale?
- Depends on the algorithm used
- Depends on the data
- No
- Yes
Yes, PCA requires the features to be on the same scale. If features are on different scales, PCA might end up giving higher weightage to features with higher variance, which could lead to incorrect principal components. So, it's typically a good practice to standardize the data before applying PCA.
What are communalities in factor analysis?
- They are the shared variance between variables
- They are the unique variances of variables
- They are the variances of the factors after rotation
- They represent the total variance of the factors
In factor analysis, communalities are the proportion of variance in each variable that is accounted for, or shared among the factors. They represent the shared variance between variables.
What is the difference between a positively skewed and a negatively skewed distribution?
- Positively skewed has a longer tail on the left, negatively skewed has a longer tail on the right
- Positively skewed has a longer tail on the right, negatively skewed has a longer tail on the left
- Positively skewed has a peak on the left, negatively skewed has a peak on the right
- Positively skewed has a peak on the right, negatively skewed has a peak on the left
In a positively skewed distribution, the right tail is longer or fatter (i.e., the mass of the distribution is concentrated on the left). In a negatively skewed distribution, the left tail is longer or fatter (i.e., the mass of the distribution is concentrated on the right).
The square of the standard deviation gives the _______.
- Mean
- Median
- Range
- Variance
The square of the standard deviation gives the variance. Variance is the average of the squared differences from the mean, and standard deviation is the square root of this variance. Hence, squaring the standard deviation gives us the variance.
In a histogram, what does the area under the curve represent?
- The average value of observations
- The median of the data
- The total number of observations
- The total range of the data
In a histogram, the area under the curve represents the total number of observations in the dataset. The height of each bar corresponds to the frequency of a bin, and the width of the bar corresponds to the size of the bin. So the total area of all bars equals the total number of observations.
The Mann-Whitney U test assumes that the samples are ________ and ________.
- dependent, heterogeneous
- dependent, homogeneous
- independent, heterogeneous
- independent, homogeneous
The Mann-Whitney U test assumes that the samples are independent (not paired or related) and heterogeneous (can have different variances).
How does the Mann-Whitney U test compare to the Wilcoxon rank-sum test?
- They are identical tests
- They are used for different types of data
- They handle ties differently
- They make different assumptions about the data
The Mann-Whitney U test and the Wilcoxon rank-sum test are essentially the same test, although they use slightly different methods of calculation. Both are non-parametric tests used to determine if two independent samples were drawn from a population with the same distribution.