Learn R Programming

CDF.PSIdekick (version 1.2)

MSE: Calculate the MSE of a DP-CDF relative to the non-private CDF.

Description

Calculates the Mean Squared Error area between the non-private CDF and the DP-CDF

Usage

MSE(Y, est, ...)

Arguments

Y
The vector output of a non-differentially private CDF computation (cumulative count bins)
est
The vector output of a differentially private CDF computation (cumulative count bins)
...
Optionally add additional parameters. This is primarily used to allow automated execution of varied diagnostic functions.

Value

The MSE

Examples

Run this code
MSE(c(.1,.2,.3,.4,.5,.6,.7,.8,.9,1), c(.1,.2,.3,.3,.3,.3,.3,.3,.4,1))

Run the code above in your browser using DataLab