Publications by Mikhilesh Dehane
7. Binomial and Multinomial Logistic Regression
Logistic Regression - LR Logistic regression helps to deal with categorical outcome variable. Logistic regression produces the probability that something will happen (or not) EXERCISE 1 - In a case study, we try to figure out if we can use age, types of foods and gender to predict whether an individual is overweight. Use the LRclassP data, IVs ar...
2202 sym R (113379 sym/182 pcs) 2 img
6. Multiple Linear Regression - MLR
Multiple Regression Example 1 - In this case, we try to use sugar intake and water intake to predict weight gained. # Sugar intake s <- c(5, 8, 9, 10, 15, 18, 14, 17, 20, 22, 24, 26, 30 ,30, 32, 35, 40, 20, 25, 35) # Water intake w <- c(1000, 1100, 900, 2000, 1800, 1100, 1400, 2200, 2600, 2400, 3200, 1900, 2050, 2100, 2200, 2200, 1100, 1300, 1...
1751 sym R (21587 sym/155 pcs) 18 img
4. Introduction of Correlation
#Exercise 1 - Bivariate Correlation EXAMPLE 1 In a current study, we want to know the relationship between height and weight. We randomly select some participants and measure their weight and height. Participant 1 2 3 4 5 Height 175 170 180 178 168 Weight 60 70 75 80 69 #Creating the dataset Height <- c(175, 170, 180, 178, 168) Weight <- c(6...
1537 sym R (14249 sym/129 pcs) 13 img
2. ANOVA with Blocking Design
What assumption must we test to include a variable as a blocking factor? Nrmality, Independence of Observation, Equal Variance, and Additivity of Interactions. The block should explain some of the variance from the Sum of Squares (SS) error so we can first: explain more variance and second: have less unexplained variance. Recognize the IV, DV, bl...
2555 sym R (17750 sym/65 pcs) 3 img
1. ANOVA - Intro to Analysis of Variance
Use one-way ANOVA to analysis the “EspressoData”. Three brew methods with a measure of the crème on the top. Find the method producing the most crème. The statement of the research/ study purpose H0: BrewMethod1 = BrewMethod2 = BrewMethod3 H1: at least one pair of levels differ from one another The type of analysis conducted, i.e. D’Ago...
1480 sym R (10660 sym/50 pcs) 3 img
Exploratory Factor Analysis - EFA
Exploratory Factor Analysis - EFA library(readxl) ## Warning: package 'readxl' was built under R version 3.6.3 setwd("E:\\mikhilesh\\HU Sem VI ANLY 510 and 506\\ANLY 510 Kao Principals and Applications\\Lecture and other materials") data <- read_xlsx("lecture 14 EFAexample.xlsx") summary(data) ## Q1 Q2 Q3 ...
1212 sym R (103714 sym/50 pcs) 1 img
EDA Project Cov19 Mortality
The statement of the research/ study purpose H0: Death in white = Death in latin/hispanic = Death in black americans H1: at least one pair of death rate differ from one another The type of analysis conducted, i.e. D’Agostino test, Scatterplot of residuals, Bartlett test. etc. Descriptive statistics: basic information of the data, i.e. age and...
1489 sym R (24535 sym/84 pcs) 6 img
5. Simple Linear Regression - SLR
Simple OR Linear Regression Exercise 1 Can we predict participants’ money-saving motivation, based on their annul income? library(readxl) ## Warning: package 'readxl' was built under R version 3.6.3 setwd("E:/mikhilesh/HU Sem VI ANLY 510 and 506/ANLY 510 Kao Principals and Applications/Lecture and other materials") data <- read_xlsx("lecture 6...
1157 sym R (6972 sym/56 pcs) 14 img
Chi Square Test
Chi Test - used when variables are categorical (not continuous) TYPES 1) Chi Square Goodness of Fit – when we wish to compare an observed frequency to an expected one. Suppose we know that the percentage of females in the population is 51% and we want to see if this percentage is also present in our class. In other words we wish to see if ~51% ...
751 sym R (1410 sym/14 pcs)
One Sample T Test
#One Sample T Test - Comparing our current data sample with a new data sample Practice 1 Suppose we are interested in whether a new manufacturing technique takes more/less time than our current system in which the mean manufacturing time is 43.4 minutes. #dataset1 meantime1 <- c(86, 73, 50, 73, 24, 65, 84, 54, 16, 26) meantime1 ## [1] 86 73 5...
1218 sym R (2052 sym/21 pcs) 2 img