Skip to contents

Performs a single FE-models with a given data set. The independent variable and the population can be adjusted.

Usage

donut_models(inner = 3:9, outer = (1:5) * 10, ds, indep_vars, ...)

Arguments

inner

A vector with the inner radii.

outer

A vector with the outer radii

ds

The dataset

indep_vars

The independent variables to pass on to donut_analysis

...

Additional arguments

Value

A donut_models list: donut_list

Examples

data(donut_data)
models <-
donut_models(inner = 2:4, outer = c(10, 20), ds = donut_data,
dep_var = "wealth_index", indep_vars = "age", fe = "id")