Publications by DEVINE FATHY MAE S. GRINO
PROBLEM SET 5
Introduction Manipulating the Data Multiple Linear Regression Creating the Regression Model Interpreting the Regression Model Looking at the Model’s Output Correlation/Coefficient of Determination Mean Squared Error Hypothesis Test/T-test F-test Coefficient Confidence Intervals Model Assumptions Residual Analysis Transformations Reducing...
25174 sym R (20592 sym/101 pcs) 31 img
Document
Consider the data set given below x<-c(0.22, -2.54, 0.52, 0.75, 25) # and weights given by w<-c(2, 1, 3, 1, 2) # Give the value of mu that minimizes the least squares equation answer: weighted_mean <- sum(w * x) / sum(w) weighted_mean ## [1] 5.578889 Consider the following data set x<-c(1.8, 1.47, 1.51, 1.73, 1.36, 1.58, 1.57, 1.85, 1.44, 1....
2661 sym R (4077 sym/45 pcs) 2 img
REGRESSION MODELS Page 21
Install and load the package UsingR and load the father.son data with data(father.son). Get the linear regression fit where the son’s height is the outcome and the father’s height is the predictor. Give the intercept and the slope, plot the data and overlay the fitted regression line. library(UsingR) ## Warning: package 'UsingR' was built ...
1405 sym R (3210 sym/48 pcs) 1 img
REGRESSION MODELS Page 26
You have two noisy scales and a bunch of people that you’d like to weigh. You weigh each person on both scales. The correlation was 0.75. If you normalized each set of weights, what would you have to multiply the weight on one scale to get a good estimate of the weight on the other scale? X = scale A; Y = scaleB; cor(Y,X) = 0.75 ...
999 sym
REGRESSION MODELS
PAGE 16 Take the Galton dataset and find the mean, standard deviation and correlation between the parental and child heights. library(UsingR) ## Warning: package 'UsingR' was built under R version 4.2.3 ## Loading required package: MASS ## Loading required package: HistData ## Warning: package 'HistData' was built under R version 4.2.3 ## Loadin...
2947 sym R (36360 sym/113 pcs) 9 img
REGRESSION MODELS
Take the Galton dataset and find the mean, standard deviation and correlation between the parental and child heights. library(UsingR) ## Warning: package 'UsingR' was built under R version 4.2.3 ## Loading required package: MASS ## Loading required package: HistData ## Warning: package 'HistData' was built under R version 4.2.3 ## Loading require...
535 sym R (30608 sym/55 pcs)
EXPERIMENTAL DESIGN LAB2
Three different washing solutions are being compared to study their effectiveness in retarding bacteria growth in 5-gallon milk containers. The analysis is done in a laboratory, and only three trials can be run on any day. Because days could represent a potential source of variability, the experimenter decides to use a randomized block design. ...
3402 sym R (5270 sym/21 pcs) 2 img 2 tbl
Problem Set 1
#1. Consider the dataset given by x = c(0.725, 0.429, -0.372, 0.863). What value of mu minimizes sum((x-mu)^2)? ##Answer: x<- c(0.725, 0.429, -0.372, 0.863) mean(x) ## [1] 0.41125 #2. Reconsider the previous question. Suppose that weights were given, w = c(2, 2, 1, 1) so that we wanted to minimize sum(w*(x-mu)^2) for mu. What value would we obt...
526 sym R (1039 sym/19 pcs)
PROBLEM SET 1
#1. Consider the dataset given by x = c(0.725, 0.429, -0.372, 0.863). What value of mu minimizes sum((x-mu)^2)? ##Answer: x<- c(0.725, 0.429, -0.372, 0.863) mean(x) ## [1] 0.41125 #2. Reconsider the previous question. Suppose that weights were given, w = c(2, 2, 1, 1) so that we wanted to minimize sum(w*(x-mu)^2) for mu. What value would we obt...
526 sym R (1039 sym/19 pcs)
STAT 50 FINAL EXAM
setwd("D:/stat") getwd() ## [1] "D:/stat" library(readxl) ## Warning: package 'readxl' was built under R version 4.2.3 Data<-read_excel("D:/stat//DataFinalExam.xlsx") Data ## # A tibble: 163 × 33 ## Age Gender Course T…¹ In1 In2 In3 In4 In5 In6 In7 In8 Ex1 ## <dbl> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <db...
2857 sym R (7724 sym/34 pcs)