Publications by JORIELYN S. MANLA
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: The least squares equation or sum((x - mu)ˆ2), that sum is minimized by the empirical mean. Hence, we have x<- c(0.725, 0.429, -0.372, 0.863) mean(x) ## [1] 0.41125 The value of mu is 0.41125 which minimizes sum((x - mu)ˆ2) w...
737 sym R (634 sym/10 pcs)
STAT 50 FINAL EXAM
1.1 First output: ## # A tibble: 6 × 4 ## `Course Taken` Frequency `Mean Age` `SD of Age` ## <chr> <int> <dbl> <dbl> ## 1 BS Biology 33 21.6 0.751 ## 2 BS Civil Engineering 16 21.4 0.727 ## 3 BS Electrical Engineering 17 21...
2530 sym
EXERCISE NUMBER 12
Reading Data Global Strategy Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union # A tibble: 9 × 5 GlobalStrategy variable n mean sd <fct> <fct> <dbl> <dbl> <dbl> 1 G...
1499 sym Python (5100 sym/21 pcs)
EXERCISE NUMBER 13
Chapter 17 Analysis of Variance 17.1 ANOVA - One Factor ## 'data.frame': 71 obs. of 2 variables: ## $ weight: num 179 160 136 227 217 168 108 124 143 140 ... ## $ feed : Factor w/ 6 levels "casein","horsebean",..: 2 2 2 2 2 2 2 2 2 2 ... ## weight feed ## Min. :108.0 casein :12 ## 1st Qu.:204.5 horsebean:...
99 sym 1 img
EXERCISE NO. 11
1.1 What is the mean and standard deviation of mpg of the mtcars data? ## [1] 20.09062 ## [1] 6.026948 1.2 Is there sufficient evidence that the population mean score of the mtcars data exceeds 19 miles per gallon? ## ## One Sample t-test ## ## data: mtcars$mpg ## t = 1.0237, df = 31, p-value = 0.157 ## alternative hypothesis: true mean ...
869 sym
CHAPTER 12 EXERCISES
Chapter 12 Two Sample t-Test 12.1 Example with Wide Format Data ## 'data.frame': 15 obs. of 2 variables: ## $ redbeet: num 18 5 10 8 16 12 8 8 11 5 ... ## $ barley : num 8 5 10 19 15 18 11 8 9 4 ... ## redbeet barley ## Min. : 5.00 Min. : 4.0 ## 1st Qu.: 8.00 1st Qu.: 6.0 ## Median : 9.00 Median : 8.0 ...
116 sym 2 img
CHAPTER 10 EXERCISES
Chapter 10 Single Sample t-Test 10.1 Preliminary Data Exploration ## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 313.2 323.5 335.2 337.1 350.3 366.8 ## Time-Series [1:468] from 1959 to 1998: 315 316 316 318 318 ... 10.1 Preliminary Data Exploration with(temp.data, t.test(co2, mu = 338)) ## ## One Sample t-test ## ## dat...
144 sym Python (761 sym/6 pcs) 1 img
CHAPTER 11 EXERCISES
Chapter 11 Variance Ratio Test 11.1 Equal Variance Testing - Two Groups ## 'data.frame': 20 obs. of 2 variables: ## $ Trout.250: num 508 479 545 531 559 422 547 525 420 491 ... ## $ Trout.300: num 461 464 344 559 445 617 402 531 535 413 ... ## Trout.250 Trout.300 ## Min. :420.0 Min. :344.0 ## 1st Qu.:475.0 1st Q...
82 sym Python (904 sym/4 pcs) 1 img
CHAPTER 6 EXERCISES
CHAPTER 6 GRAPHICAL PARAMETERS 6.1 Defining Colours 6.2 Defining Symbols (Points) 6.3 Defining Line Types 6.4 Saving Plots 1. Create an empty file in your working directory with your specified parameters 2. Create your plot 3. Save your plot by turning device off Example: png("Figure1.png", width = 100, height = 100, units = 'mm', res = 300...
290 sym 3 img