# Tutor profile: Alexa G.

## Questions

### Subject: SAS

Create a paneled boxplot in SAS

PROC SGPLOT DATA = DATA; PANELBY Variable1; VBOX variable2; TITLE "Paneled Boxplot"; RUN;

### Subject: Applied Mathematics

Create a code in R to run an ANOVA on a given data set that can be modeled with a linear model

model <- lm(Data ~ .) summary(model) ANOVA(model)

### Subject: Statistics

A company claims that their machines produce 20 bottles per day. An inspector needs to make sure that his claim is accurate after collecting the average number of bottles produced from 30 machines. The inspector finds that the average number of bottles produced by the machines is 17.5 with a standard error of 3. Perform a two-sided hypothesis test with a significance of 0.05 to determine if the company's claim is correct.

Use a t-test. t = (X_bar - mu)/(se/sqrt(n)) for this data z = (17.5 - 20)/(3/sqrt(30)) = -0.4564. The t-score for T at alpha = 0.05 with 28 degrees of freedom is 2.47. The p-value is 0.615, so we fail to reject the null hypothesis and the company's claim is accurate

## Contact tutor

needs and Alexa will reply soon.