Background Information

Vitamin C is a water-soluble vitamin that is vital to include in the diet of guinea pigs. The water-soluble quality of the vitamin is responsible for its daily intake requirement. Vitamin C is responsible for maintaining proper skin, joint, and mucosa (such as gums) health. Odontoblasts are important cells for secretion and protection during tooth development.

Apples are a safe treat for guinea pigs to eat that contains vitamin C! Odontoblasts

Description of Data Set

There are 60 observations and 3 variables as displayed here:

## # A tibble: 30 × 3
##      len supp  dose 
##    <dbl> <fct> <fct>
##  1   4.2 VC    0.5  
##  2  11.5 VC    0.5  
##  3   7.3 VC    0.5  
##  4   5.8 VC    0.5  
##  5   6.4 VC    0.5  
##  6  10   VC    0.5  
##  7  11.2 VC    0.5  
##  8  11.2 VC    0.5  
##  9   5.2 VC    0.5  
## 10   7   VC    0.5  
## # ℹ 20 more rows
## # A tibble: 30 × 3
##      len supp  dose 
##    <dbl> <fct> <fct>
##  1  15.2 OJ    0.5  
##  2  21.5 OJ    0.5  
##  3  17.6 OJ    0.5  
##  4   9.7 OJ    0.5  
##  5  14.5 OJ    0.5  
##  6  10   OJ    0.5  
##  7   8.2 OJ    0.5  
##  8   9.4 OJ    0.5  
##  9  16.5 OJ    0.5  
## 10   9.7 OJ    0.5  
## # ℹ 20 more rows

Research Questions

Effect of Vitamin C by Source and Dosage Separately

## # A tibble: 2 × 2
##   supp  mean_length
##   <fct>       <dbl>
## 1 OJ           20.7
## 2 VC           17.0

By just looking at the mean of tooth length for each source, it appears that using orange juice as a supplement was beneficial for increasing tooth length in guinea pigs. However, what is the distribution of the data? Are there outliers? Does the dosage of each source contribute to the success of the supplement?

## # A tibble: 3 × 2
##   dose  mean_length
##   <fct>       <dbl>
## 1 0.5          10.6
## 2 1            19.7
## 3 2            26.1

By looking at the mean of tooth length for each dose, we see that the larger the dose, the greater the mean tooth length. However, does the ideal dosage depend on the specific source?

Boxplots Of Dosage vs. Tooth Lengths Based on Supplement

Orange Juice:

Ascorbic Acid:

Scatterplot of Dosage vs. Tooth Length Based on Supplement

## 
## Call:
## lm(formula = dose ~ len, data = OJ)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -1.08483 -0.42831  0.08943  0.39553  0.82391 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept) -0.09512    0.30426  -0.313    0.757    
## len          0.10139    0.01405   7.218 7.41e-08 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.4997 on 28 degrees of freedom
## Multiple R-squared:  0.6504, Adjusted R-squared:  0.638 
## F-statistic:  52.1 on 1 and 28 DF,  p-value: 7.409e-08
## 
## Call:
## lm(formula = dose ~ len, data = VC)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.55222 -0.16349  0.03278  0.16770  0.85917 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept) 0.445341   0.146306   3.044  0.00504 ** 
## len         0.091648   0.007778  11.783 2.29e-12 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.3462 on 28 degrees of freedom
## Multiple R-squared:  0.8322, Adjusted R-squared:  0.8262 
## F-statistic: 138.8 on 1 and 28 DF,  p-value: 2.29e-12

Orange Juice:

Ascorbic Acid:

Main Takeaways