Assisgnment

Author

Uzoma Okwara

Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

Running Code

When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

1 + 1
[1] 2

You can add options to executable code like this

[1] 4

The echo: false option disables the printing of code (only output is displayed).

## 1. Problem Statement

Swiss transport planners want to determine whether people use the tram more frequently than the Bus Rapid Transit (BRT). Understanding this difference helps guide infrastructure investment and sustainable transport policy decisions.



## 2. Hypotheses

- **Null Hypothesis (H₀):** There is no difference in average daily trips between tram and BRT users.
- **Alternative Hypothesis (H₁):** Tram users make more daily trips than BRT users.



## 3. Description of the Data

The dataset contains daily trips per person for two independent groups:

- 7 tram users
- 7 BRT users
- Outcome variable: number of trips per day (numeric)

```{r}
# Create sample data
tram <- c(5, 6, 5, 8, 7, 6, 4)
brt <- c(4, 3, 5, 4, 3, 4, 6)

length(tram)
length(brt)