• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 21 pages
Exam (elaborations)

Soa Pa Exam

Document preview thumbnail
Preview 3 out of 21 pages

Define forward Selection - answer-which involves starting with no variables in the model, testing the addition of each variable using a chosen model fit criterion, adding the variable (if any) whose inclusion gives the most statistically significant improvement of the fit, and repeating this process until none improves the model to a statistically significant extent. Define Gini - answer-[Impurity Measure] A measure of how often a randomly chosen element from the [segment] would be incorrectly classified if it were randomly classified according to the distribution of targets in the subset = 1 - sum (p^2) - The Lower the value, the better the node is at correctly splitting the data Define Hierarchical Clustering - answer-An technique that allows you to build tree structures from data similarities. You can use it to see how different sub-clusters relate to each other, and how far apart data points are. Define how Ensemble Methods of model building are built - answer-- Build many models on random subsets of the data and take the answer in aggregate. Define Information Gain (in Decision Tree Analysis) - answer-- It is the reduction in entropy or surprise by transforming a dataset and is often used in training decision trees. - Information gain is calculated by comparing the entropy of the dataset before and after a transformation. Define K-Means Clustering - answer-This is a method of partitioning n observations into k clusters in which each observation belongs to the cluster with the nearest mean (cluster centers or cluster centroid), serving as a prototype of the cluster. (Recall this uses a Heuristic Algorithm so the user provides the number of "k" clusters) Define Lasso Regression - answer-Least Absolute Shrinkage and Selection Operator [L1]; also Lasso or LASSO) is a regression analysis method that performs both variable selection and regularization in order to enhance the prediction accuracy and interpretability of the resulting statistical model. Note; The penalty is proportional to the sum of the absolute values of the estimated coefficients. All of the coefficients are reduced and some may be reduced to zero, effectively removing that variable. Define maxdepth: - answer-- Decision tree control parameter - The maximum depth any node of the final tree, with the root node counted as depth 0. Define minbucket - answer-- Decision tree control parameter - The minimum number of observations in any terminal node - (minimum bucket size) Define minsplit: - answer-- Decision tree control parameter - minimum # of observations that must exist in a node for a split to be attempted. - A good choice for this value is = 5% of the total number of rows in data (larger for more interpretable models) - (.05*nrow(data)) Define Normal QQ Plot - answer-Checks for the normality of the distribution by graphing the standardized residuals vs the theoretical quantities of the normal distribution. Define Overdispersion - answer-In modeling a count variable, the variance is larger than the mean. Particularly a problem when a Poisson distribution, whose mean and variance coincide, is assumed for a GLM. Overdispersion occurs because the mean and variance components of a GLM are related and depends on the same parameter that is being predicted through the independent vector. The model fit can be distorted by overdispersion. Define Partial dependence plots - answer-- A method that visualizes the structure of the model's dependence on a feature or pair of features - Allow us to get an understanding of the relationship between the features and the target Define Precision - answer-TP/(TP+FP) Define Principal Component Analysis - answer-- An unsupervised learning technique which linearly combines the initial variables in a data set to create new orthogonal principal components which then can be used to assess the correlation between the in

Content preview

SOA PA Exam
After Building a GLM Regression Model, what are some ways (steps) to validate the
model? - answer-1. Evaluate the RMSE against an OLS model or other test models to
determine the best or most interpretable model
2. Interpret diagnostic plots to assess the model assumptions
- Residuals Versus Fitted Graph:
- Normal QQ Plot:
- Scale-Location graph:
- The Residuals vs Leverage:
Note: Be aware if the question asks you to re-run the model on the full data set
3. Understand how to interpret Predictors and which predictors are boolean and what
the coefficients represent.

After finding the optimal cp value in a decision tree, what are options to move forward
with the model? - answer-1. Build a new tree from scratch using the optimal complexity
parameter value
2. Use the overly complex tree we just built and prune back (remove) any splits which
the subtree doesn't satisfy the new impurity reduction.

Are variable transformations needed when using a decision tree? - answer-No
transformation is needed when deciding to fit a decision tree because for a numeric
predictor, a tree makes splits based on the relative order of the variable values.

Compare and contrast Ridge and Lasso Regression - answer-Similarities:
In both cases there is a hyperparameter to estimate that controls the extent of the
reduction. This is normally selected through cross‐validation.
Differences;
-Lasso regression not only helps in reducing over-fitting but it can help us in feature
selection
- (LASSO provides an alternative to forward and backward selection for variable
selection)

Compare PCA and LASSO regularization on both how they perform dimension
reduction and their interpretability - answer-Where PCA reduces the dimensionality
without reference to the target variable, LASSO reduces the dimensionality by coercing
some coefficients to zero when optimizing with its penalized optimization function that
considers both the fit of the coefficients in predicting the target and the number of
dimensions in the model. The reduction in the number of dimensions can be directly
chosen with PCA but is only applicable to numerical variables. The reduction in the
number of dimensions in LASSO can be only indirectly chosen via the lambda
hyperparameter but is also applicable to categorical variables after binarization.

The principal components from PCA can be difficult to describe in detail compared to
the original variables, which can be preserved in LASSO.

,Define 4 Random Forest Parameters - answer-1. Number of Trees
2. Proportion of Observations
3. Proportion of features
4. Decision Tree Parameters

Define a Balanced binary tree - answer-A binary tree in which the left and right subtrees
of any node differ in depth by at most one.

Define a Loss Function - answer-A function of two variables; the prediction and a single
observed new value that measures the error. (e.g squared error loss function: [y_new -
g(x_new, B_hat)]^2

Define accuracy - answer-(TP+TN)/N

Define AIC - answer--Akaike Information Criterion;
estimate of the quality of each model, relative to each of the other models. Thus, AIC
provides a means for model selection.
-Method: adding a variable requiring an increase in the loglikelihood of two per
parameter added.
= 2*k - 2*ln(L) [Lower = better]
- Thus, AIC rewards goodness of fit (as assessed by the likelihood function), but it also
includes a penalty that is an increasing function of the number of estimated parameters.
- The penalty discourages overfitting, which is desired because increasing the number
of parameters in the model almost always improves the goodness of the fit.

Define an Elbow Plot - answer-- A plot of the proportion of variance explained by the
variance between the k centers is calculated and plotted for successive values of k.
- Increases in k generally lead to increases in the proportion of variance explained, but
the size of each increase typically decreases with each additional cluster.

Define an unbalanced binary tree - answer-A binary tree in which the left and right
subtrees of some nodes differ in depth by more than one.

Define and describe the two types of Hierarchical Clustering - answer-Agglomerative:
starter by considering each observation as its own cluster, then gradually grouping them
with nearby clusters at each stage until you only have one cluster left (bottom-up)
Divisive: starts by considering all observations as a single cluster and then
progressively splitting into subclusters recursively (top-down)

Define and provide examples of Supervised learning - answer-A type of machine
learning task of learning a function that maps an input to an output based on example
input-output pairs.
Examples; Generalized Linear Models (GLM), Regularization (lasso & ridge), decision
trees.

, Define and provide examples of Unsupervised learning - answer-a type of machine
learning algorithm used to draw inferences from datasets without human intervention.
Examples; Hierarchical clustering, k-Means clustering, Principal Component Analysis
(PCA)

Define AUC - answer-"Area Under Curve"
- is equal to the probability that a classifier will rank a randomly chosen positive instance
higher than a randomly chosen negative one
- Higher value better

Define Backward Selection - answer-which involves starting with all candidate variables,
testing the deletion of each variable using a chosen model fit criterion, deleting the
variable (if any) whose loss gives the most statistically insignificant deterioration of the
model fit, and repeating this process until no further variables can be deleted without a
statistically insignificant loss of fit.

Define Best Subset Selection - answer-is a method that aims to find the subset of
independent variables (Xi) that best predict the outcome (Y) and it does so by
considering all possible combinations of independent variables.
- Compared to forward and backward selection

Define Bias - answer-The Expected Loss arising from the model not being
complex/flexible enough to capture the underlying signal.
- High bias means the model won't be accurate because it doesn't have the capacity to
capture the signal in the data

Define BIC - answer-Bayesian information criterion; criterion for model selection among
a finite set of models; the model with the lowest BIC is preferred.
= k * ln(L) - 2 * ln( L )
- It penalizes the complexity of the model where complexity refers to the number of
parameters in the model.

Define Classification Error - answer-[Impurity Measure]
= 1- max(p)
Either a false negative response or a false positive response

Define confusion matrix - answer-- A convenient summary of the model predictions from
which several performance measures are derived

Define CP: - answer-- Decision tree control parameter
- Complexity Parameter
- : if any split does not increase the overall R^2 of the model by at least cp (where R^2
is the usual linear-models definition) then that split is decreed to be, a priori, not worth
pursuing
- Higher value indicates less complex tree

Document information

Uploaded on
August 6, 2024
Number of pages
21
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TOPDOCTOR
5.0
(1)
Sold
10
Followers
5
Items
3387
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions