Cheatography
https://cheatography.com
MGTA453 Final Review Sheet
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Test
Proportion Test |
Used when making inferences about population proportion |
Mean Test |
Used when making inferences about a population mean parameter |
Cross Tab |
Used when investigating the relationship between two categorical (aka factor) variables |
Simulation |
Used when you know the distributions of primitive random variables and want to generate the distributions of measures that are likely complex functions of these primitives |
Regression Analysis |
Used when investigating the relationship between dependent and independent variables (can handle quantitative and categorical variables) |
|
|
Use When
Used when making inferences about population poportion
--> i.e. Percentage women, percentage retired etc
--> testing against a known or fixed value (single Proportion)
--> Testing acriss two groups (compare proportions) |
|
|
R code
## Single Proportion
result <- single_prop(
dataset = "insurance",
var = "fraudulent",
lev = "Yes",
comp_value = 0.098,
alternative = "greater")
summary(result)
plot(result, plots = "simulate")
|
|