Student {adestr} | R Documentation |

## Normally distributed data with unknown variance

### Description

This function creates an object representing the distributional assumptions
of the data: normally distributed outcomes sample from a trial with
one or two arms (depending on the value of the parameter `two_armed`

),
under the assumption of known variance.

### Usage

```
Student(two_armed = TRUE)
```

### Arguments

`two_armed` |
(logical) determines whether one or two-armed trials are assumed. |

### Value

an object of class `Student`

. This object encodes the distributional
assumptions of the data for usage in the functions
`evaluate_estimator`

and `analyze`

.

### Examples

```
evaluate_estimator(
score = MSE(),
estimator = SampleMean(),
data_distribution = Student(FALSE),
design = get_example_design(),
mu = c(0, 0.3, 0.6),
sigma = 1,
exact = FALSE
)
```

[Package

*adestr*version 0.5.0 Index]