MANE 6313 - Design of Experiments¶
Homework Assignment 1¶
Assigned: January 26, 2026¶
Due: February 6, 2026¶
Utilize R Markdown within RStudio document to:
- Create a data vector containing 20 observations from a χ2 (Chi-squared) distribution with a 6 degrees of freedom of using the rchisq() function. Before the rchisq command, specify set.seed(123),
- Calculate descriptive statistics that includes measures of dispersion such as standard deviation or variance as well as measures of central tendency or location,
- Perform Graphical Analysis
- Construct a Box plot and comment on whether the data is from a symmetric or asymetric distribution,
- Construct a line plot and comment if there are any trends or cycles in the line plot,
- Construct a normal probability plot with confidence bands and comment if the data appears to be from a normal distribution
- Knit the document to create a Word document,
- From within the Word document, export the document to a PDF file, and
- Upload your PDF to the Homework 1 Drop Box.
rchisq Command in R¶
Description¶
The rchisq() function in R generates random observations from a chi-squared distribution. It is commonly used in statistics, engineering, and simulation studies to model variability and sampling behavior.
Each value generated represents the sum of squared standard normal random variables.
Syntax¶
rchisq Command in R documentation generated by ChatGPT
set.seed Command in R¶
Description¶
The set.seed() function in R controls the random number generator. It allows random number generation to be reproducible, meaning the same sequence of random numbers will be produced each time the code is run.
This is important for teaching, debugging, simulations, and reproducible research.