Differentially private generalized linear models
1 2 3 4 5 6 7 8 9 10 | data(PUMS5extract10000)
n <- 10000
epsilon <- 0.5
rng <- matrix(c(0, 150000, 1, 16, 0, 1), ncol=2, byrow=TRUE)
form <- 'income ~ educ + sex'
model <- dpGLM$new(mechanism='mechanismObjective', varType='numeric',
n=n, rng=rng, epsilon=epsilon, formula=form, objective='ols')
model$release(PUMS5extract10000)
print(model$result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.