Publications by Marilyn Macy
Math217_FinalProject_Alzheimers
Brain imaging use in Alzheimer’s dementia diagnosis Alzheimer’s disease and dementia Alzheimer’s disease is an irreversible, progressive brain disorder that slowly destroys memory and cognitive ability. It is currently ranked as the sixth leading cause of death in the United States. About 34 million people worldwide have Alzheimer’s dise...
28042 sym R (29675 sym/70 pcs) 21 img 29 tbl
Math217_Lab8_CategoricalData
Inference for categorical data head(atheism) ## nationality response year ## 1 Afghanistan non-atheist 2012 ## 2 Afghanistan non-atheist 2012 ## 3 Afghanistan non-atheist 2012 ## 4 Afghanistan non-atheist 2012 ## 5 Afghanistan non-atheist 2012 ## 6 Afghanistan non-atheist 2012 Exercise 1 In the first paragraph, several key findings ar...
5974 sym R (5107 sym/32 pcs) 6 img
Math217_Week8_MarilynMacy_Lab7
Exercise 1 What are the cases in this data set? How many cases are there in our sample? There are 1000 cases in the sample. The cases are infants born in North Carolina during 2004 and the data contains information about the infants at birth and the mother and her behavior during pregnancy. The father’s age is included but has 17% missing value...
3317 sym R (5472 sym/27 pcs) 7 img
Math217_Week5_Lab5
Foundations for statistical inference - Sampling distributions download.file("http://www.openintro.org/stat/data/ames.RData", destfile = "ames.RData") load("ames.RData") area <- ames$Gr.Liv.Area # sq. feet price <- ames$SalePrice # dollars summary(area) ## Min. 1st Qu. Median Mean 3rd Qu. Max...
3794 sym R (5358 sym/34 pcs) 9 img
Math217_Week4_Lab
Normal Distributions head(fastfood) # look at the fastfood dataset Exercise 1 - plot fat calories Make a plot calories from fat of the options from Dairy Queen and McDonald’s. How do their centers, shapes, and spreads compare? Both the Dairy Queen and the McDonald’s fat calorie histograms show right skewed data. The spread of the McDonald�...
4411 sym R (7463 sym/36 pcs) 19 img
Math217_Week4_Homework
Normal Distribution 4.3.1 Population is normally distributed, what percentage of the population are a) within 1.5 standard deviations of the mean (pnorm(1.5) - pnorm(-1.5)) ## [1] 0.8663856 b) more than 2.5 sd of the mean (1 - pnorm(2.5)) ## [1] 0.006209665 c) more than 3.5 sd above or below the mean pnorm(-3.5) + (1 - pnorm(3.5)) ## [1] 0.000...
3864 sym R (1986 sym/48 pcs) 2 img
Math217_Week3_MarilynMacy_Lab3
Probability glimpse(kobe_basket) ## Rows: 133 ## Columns: 6 ## $ vs <fct> ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL~ ## $ game <int> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1~ ## $ quarter <fct> 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3~ ## $ time <fct> 9:47, 9:07,...
1477 sym R (4137 sym/26 pcs) 2 img
Math 217 Week 2 Homework
2.1.2 (a) Height and weight of 37 children. Height and weight are continuous quantitative variables, child is the observational unit, n=37 is the sample size. Cholesterol level for 129 blood donors. Cholesterol level is a continuous quantitative variable, blood type is a categorical variable. Donor/person is the observational unit, n=129 is the ...
2354 sym R (8722 sym/42 pcs) 8 img 1 tbl
Math217 - Lab 1 intro to R
pacman::p_load(tidyverse, openintro, knitr) # an alternative way of loading libraries # you'll need to install the pacman package # knitr package has the kable() function which outputs data in nicely formatted tables see exercised 3 & 4 glimpse(arbuthnot) ## Rows: 82 ## Columns: 3 ## $ year <in...
1611 sym R (4406 sym/18 pcs) 4 img 2 tbl
Math217_Week4_MarilynMacy_Quiz3
pacman::p_load(tidyverse, knitr,DiagrammeR, kableExtra) Function to draw a probability Tree bayes_probability_tree <- function(prior, true_positive, true_negative) { if (!all(c(prior, true_positive, true_negative) > 0) && !all(c(prior, true_positive, true_negative) < 1)) { stop("probabilities must be greater than 0 and less than 1.", ...
1089 sym R (4261 sym/18 pcs) 1 tbl