Publications by DEVINE FATHY MAE S. GRINO
Final Term: Exercise Number 8
Chapter 10 Single Sample t-Test 10.1 Preliminary Data Exploration par(mar=c(5,4,3,4)) # get summary and structure summary(co2) # gives us the 6 num. summary (mean, min, max, etc.) for the variable 'x' ## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 313.2 323.5 335.2 337.1 350.3 366.8 #> Min. 1st Qu. Median Mean 3rd Qu....
121 sym Python (1793 sym/11 pcs) 1 img
Final Term: Exercise Number 1
par(mar = c(3, 3, 3, 3)) str(PlantGrowth) # function to look at the data 'structure' ## 'data.frame': 30 obs. of 2 variables: ## $ weight: num 4.17 5.58 5.18 6.11 4.5 4.61 5.17 4.53 5.33 5.14 ... ## $ group : Factor w/ 3 levels "ctrl","trt1",..: 1 1 1 1 1 1 1 1 1 1 ... #> 'data.frame': 30 obs. of 2 variables: #> $ weight: num 4.17...
23 sym Python (3063 sym/16 pcs) 4 img
Final Term: Exercise Number 2
str(PlantGrowth) # we have 30 observations, 2 variables ## 'data.frame': 30 obs. of 2 variables: ## $ weight: num 4.17 5.58 5.18 6.11 4.5 4.61 5.17 4.53 5.33 5.14 ... ## $ group : Factor w/ 3 levels "ctrl","trt1",..: 1 1 1 1 1 1 1 1 1 1 ... #> 'data.frame': 30 obs. of 2 variables: #> $ weight: num 4.17 5.58 5.18 6.11 4.5 4.61 5.17 ...
18 sym 4 img
Final Term: Exercise Number 3
head(iris) # prints the first few rows of the iris data set ## Sepal.Length Sepal.Width Petal.Length Petal.Width Species ## 1 5.1 3.5 1.4 0.2 setosa ## 2 4.9 3.0 1.4 0.2 setosa ## 3 4.7 3.2 1.3 0.2 setosa ## 4 4.6 3.1 ...
18 sym 5 img
STAT50 MIDTERM EXAM
Question 1. NUMBER1<- DATA%>% filter(AveFK != "NA")%>% mutate(AveFKFrequency=ifelse(AveFK<=1.49, "VERY POOR", ifelse(AveFK<=2.49, "BELOW AVERAGE", ifelse(AveFK<=3.49, "AVERAGE", ifelse(AveFK<=4.49, "ABOVE AVERAGE", "EXCELLENT")...
226 sym R (9266 sym/30 pcs) 2 img
Document
Setup setwd("D:/stat") getwd() ## [1] "D:/stat" load(“brfss2013.Rdata”) ### Load packages library(ggplot2) library(dplyr) Load data load("brfss2013.Rdata") Refer to the provided data in our google classroom. ##1. Using the variable “sleptim1” and “marital”, determine the following: #1.1 number of observations that are “NA” in th...
600 sym
STAT 50 QUIZ #1
Setup setwd("D:/stat") getwd() ## [1] "D:/stat" Load packages library(ggplot2) library(dplyr) Load data load("brfss2013.Rdata") Part 1: Research questions Come up with at least three research questions that you want to answer using these data. You should phrase your research questions in a way that matches up with the scope of inference your ...
2821 sym 6 img