Marketing analysis

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/151

encourage image

There are no tags or description

Looks like no tags are added yet.

152 Terms

1
New cards

Cluster Analysis

A technique that uses algorithms to divide a larger population into smaller groups based on shared characteristics.

2
New cards

Market Segmentation

The process of dividing consumer or business markets into smaller groups with shared characteristics.

3
New cards

Purpose of Cluster Analysis

To identify hidden patterns and structures in data and create homogeneous subgroups.

4
New cards

Intra-cluster Homogeneity

The similarity of observations within the same cluster.

5
New cards

Inter-cluster Heterogeneity

The differences between observations belonging to different clusters.

6
New cards

Distance Measures

Measures used to calculate similarity or dissimilarity between observations or clusters.

7
New cards

Distance and Similarity

Smaller distances between observations represent greater similarity.

8
New cards

Unsupervised Learning

A type of learning in which no established dependent variable is specified.

9
New cards

Why Is Cluster Analysis Unsupervised?

Because it identifies groups in data without using a predefined target or dependent variable.

10
New cards

K-Means Clustering

A clustering method that groups observations around cluster centroids and minimizes the distance between observations and their assigned centroid.

11
New cards

Cluster Centroid

The central point of a cluster, calculated using the mean values of the observations in that cluster.

12
New cards

K-Means: Step 1

Decide the number of clusters (k) and create initial points arbitrarily.

13
New cards

K-Means: Step 2

Treat the initial points as centroids and assign each observation to its closest centroid.

14
New cards

K-Means: Step 3

Calculate new cluster centroids by computing the overall means of the observations in each cluster.

15
New cards

K-Means: Step 4

Reassign observations based on their distances to the new centroids.

16
New cards

K-Means: Step 5

Repeat the calculation and reassignment process until the clustering no longer changes.

17
New cards

Elbow Chart

A line chart used to evaluate the reduction in cluster error and help assess the number of clusters.

18
New cards

Data Standardization

The process of converting variables into comparable measures so differences in measurement scales do not dominate the clustering process.

19
New cards

Why Standardize Data Before Clustering?

Variables may use different measurement scales, so standardization makes them comparable.

20
New cards

Z-Score Standardization

A standardization method that expresses values in terms of how many standard deviations they are from the mean.

21
New cards

Min-Max Standardization

A method that rescales values to a common range.

22
New cards

Why Does K-Means Require Numerical Data?

K-means uses means to calculate centroids, and means are meaningful only for numerical data.

23
New cards

Why Are Categorical Variables Unsuitable for K-Means?

The mean of category codes does not have a meaningful interpretation.

24
New cards

Hierarchical Clustering

A clustering method that combines individual observations into subgroups using measures of distance.

25
New cards

Agglomerative Clustering

A bottom-up hierarchical method that starts with every observation as a separate cluster and progressively combines clusters.

26
New cards

Divisive Clustering

A top-down hierarchical method that starts with all observations in one cluster and progressively divides them.

27
New cards

Agglomerative vs. Divisive Clustering

Agglomerative clustering combines separate clusters, whereas divisive clustering divides one large cluster into smaller clusters.

28
New cards

Euclidean Distance

The straight-line distance between two points.

29
New cards

Manhattan Distance

The distance between two points measured along a path with right-angle turns, similar to walking on a city grid.

30
New cards

Matching Method

A similarity measure that compares two observations based on the minimum differences between their values.

31
New cards

Jaccard's Method

A method that measures similarity between two observations based on how dissimilar they are from each other.

32
New cards

Linkage Criterion

A method used to measure the distance between clusters in hierarchical clustering.

33
New cards

Complete Linkage

Defines cluster similarity using the maximum distance between observations in two different clusters.

34
New cards

Single Linkage

Defines cluster similarity using the shortest distance between an observation in one cluster and an observation in another cluster.

35
New cards

Average Linkage

Defines cluster similarity using the average distance between observations in one cluster and all observations in another cluster.

36
New cards

Complete vs. Single Linkage

Complete linkage uses the maximum distance between clusters, while single linkage uses the shortest distance.

37
New cards

Dendrogram

A tree-like diagram that illustrates the results of hierarchical clustering.

38
New cards

Choosing the Number of Clusters with a Dendrogram

Identifying the correct number of clusters using a dendrogram is subjective.

39
New cards

K-Means vs. Hierarchical Clustering

K-means works only with numerical data, while hierarchical clustering can handle both numerical and categorical data.

40
New cards

Standardization in Hierarchical Clustering

Hierarchical clustering should also be performed using standardized data, such as z-scores or min-max values.

41
New cards

Decision Tree

A supervised data mining technique that uses a tree structure to classify or predict outcomes based on predictor variables.

42
New cards

Supervised Learning

A type of learning that uses data with a known target variable to build a model.

43
New cards

Main Characteristics of Decision Trees

They are displayed as tree diagrams, are relatively easy to interpret and represent a set of if-then rules.

44
New cards

If-Then Rules

Decision rules that describe the conditions under which a particular outcome is predicted.

45
New cards

Root Node

The top node of a decision tree where the first split is applied.

46
New cards

Interior Node

A node where additional decision rules and splits are applied.

47
New cards

Leaf Node / Terminal Node

The final node of a decision tree where a classification or prediction is given and no further splitting occurs.

48
New cards

Recursive Partitioning

The process of repeatedly splitting cases into increasingly homogeneous subgroups.

49
New cards

Pure Subset

A subset containing cases with the same value of the target variable.

50
New cards

Why Stop Splitting a Pure Subset?

There is no need to split it further because all cases already have the same target value.

51
New cards

Why Is Recursive Partitioning Called Recursive?

Because every split depends on the previous splits.

52
New cards

When Might Pure Subsets Be Impossible?

When identical observations have different values of the target variable.

53
New cards

CART

Classification and Regression Trees; an algorithm that repeatedly splits cases into increasingly homogeneous subsets.

54
New cards

Binary Tree

A tree in which each decision node has two branches.

55
New cards

Why Are CART Trees Binary?

Each decision node produced by CART has two branches.

56
New cards

Classification Tree

A decision tree used when the target variable is categorical.

57
New cards

Regression Tree

A decision tree used when the target variable is numerical.

58
New cards

Classification vs. Regression Trees

Classification trees predict class membership, while regression trees predict numerical outcomes.

59
New cards

Training Data

The data used to build the decision tree and identify optimal splits.

60
New cards

Validation Data

The data used to evaluate and optimize the complexity of the decision tree.

61
New cards

Test Data

The data set used to assess the final model's predictive performance.

62
New cards

Purpose of Training Data

To grow the decision tree by selecting optimal splits.

63
New cards

Purpose of Validation Data

To optimize tree complexity and identify a tree that predicts accurately without unnecessary complexity.

64
New cards

Purpose of Test Data

To evaluate the predictive performance of the final model.

65
New cards

Optimal Split

The split that produces the most homogeneous resulting subsets according to the selected impurity measure.

66
New cards

Full Tree / Maximal Tree

A tree grown until no further splits can be made and the leaf nodes contain cases with the same class or outcome.

67
New cards

Overfitting

When a model becomes too complex and performs poorly when predicting new observations.

68
New cards

Why Does a Full Tree Tend to Overfit?

Branches near the end of the tree may be based on very few observations and capture patterns that do not generalize to new data.

69
New cards

Pruning

The process of removing branches from a decision tree to reduce complexity and improve predictions on new data.

70
New cards

Purpose of Pruning

To prevent overfitting and improve the model's ability to generalize to new observations.

71
New cards

Candidate Trees

A set of trees with different levels of complexity created during the pruning process.

72
New cards

Minimum Error Tree

The least complex tree that has the smallest validation error.

73
New cards

Best-Pruned Tree

The least complex tree whose validation error is within one standard deviation of the minimum error tree.

74
New cards

How Is the Final Tree Selected?

The validation data is used to compare candidate trees, and the best-pruned tree can be selected as the final model.

75
New cards

Pre-Pruning

Stopping tree growth before it becomes fully developed.

76
New cards

Post-Pruning

Growing a full tree first and then removing branches to reduce complexity.

77
New cards

CART: Strengths

Can handle categorical and numerical target variables, is easy to interpret, automatically selects important predictors, makes no assumptions about relationship types, handles incomplete data and is not affected by outliers.

78
New cards

CART: Weaknesses

Requires a large training data set, can have high computational costs, and small changes in training data can produce drastically different trees.

79
New cards

Automatic Predictor Selection

CART automatically identifies the most discriminating predictor variables through recursive partitioning and pruning.

80
New cards

Classification Tree Impurity

A measure of how mixed the target classes are within a subset.

81
New cards

Pure Classification Subset

A subset in which all cases belong to the same class.

82
New cards

Highest Impurity in Binary Classification

Occurs when the two classes are equally represented.

83
New cards

Possible Split Points for Numerical Predictors

CART uses the midpoints between consecutive values of numerical predictor variables.

84
New cards

Possible Split Points for Categorical Predictors

Splits are based on groupings of categories.

85
New cards

Goal of a Classification Tree Split

To identify the partition that minimizes impurity in the resulting subsets.

86
New cards

Gini Impurity Index

A measure of the degree of impurity in a set of cases in a classification problem.

87
New cards

Gini Index Formula

Gini = 1 − Σ(pk²), where pk is the proportion of cases belonging to class k.

88
New cards

Meaning of pk

The proportion of all cases that belong to class k.

89
New cards

Meaning of m

The number of classes in the classification problem.

90
New cards

Gini Index of 0

Indicates the highest purity and lowest impurity.

91
New cards

Gini Index of 0.5 in Binary Classification

Indicates the highest impurity and lowest purity.

92
New cards

How Does CART Use the Gini Index?

It compares the Gini index of all possible splits and selects the split that produces the smallest value.

93
New cards

Weighted Gini Index

The combined impurity of the resulting subsets, weighted according to the proportion of cases in each subset.

94
New cards

Why Use a Weighted Gini Index?

Because the resulting subsets may contain different numbers of observations, so their impurity must be weighted by their sizes.

95
New cards

Training Misclassification Rate

Generally decreases as the number of tree partitions increases and can eventually reach zero.

96
New cards

Validation Misclassification Rate

May initially decrease as the tree grows but can increase later because of overfitting.

97
New cards

Why Can Validation Error Increase as a Tree Grows?

A more complex tree may overfit the training data and perform worse on new data.

98
New cards

Pruning a Classification Tree

Can reduce validation misclassification by replacing a branch with a leaf node.

99
New cards

Regression Tree Target Variable

A numerical variable.

100
New cards

Prediction in a Regression Tree

The predicted value is the average target value of the cases belonging to the same leaf node.