MaskJointDensity-package |
Masking, unmasking and restoring confidential data. |
actualPosition |
Getting a Sample from Marginal Density Functions |
anyNA |
Checks for NA in a vector |
barredToActual |
Purely used in actualPosition |
calc_muX |
Calculate the moments |
CheckRho |
An old artefact from testing, purely for backwards compatibility |
createNoise |
Create a noise |
density_Rmask |
Density function |
Dg |
Purely used in rho_0 |
encriptNoise |
encript noise |
EQsampleDensity |
Samples from a bunch of nodes on a grid. |
findOrder_Rmask |
order determination |
FPI2002Data |
A real life dataset consisting of the bilateral investment between many different countries in 2002, as well as the corresponding covariates from 2001. This was to eliminate any dual causality element in data analysis. |
fY_Rmask |
density of Y |
generalizedJointF |
Purely used in getSampleFromMarginalDistributionOfUnmaskedData |
getSampleBasedOnUnmaskedData |
Second core function the End-User uses to obtain the samples from the marginal distributions of the unmasked data |
getSampleFromMarginalDistributionOfUnmaskedData |
Second function the End-User uses to obtain the samples from the marginal distributions of the unmasked data |
GH_Quadrature |
The seven weights used for Gaussian Hermite Quadrature |
gRho |
Purely used in rho_0 |
G_Point7 |
The seven points used for Gaussian Hermite Quadrature |
lambda_Rmask |
expectation of Legendre polynomial |
mask |
Core function the Data Provider uses to mask the confidential original data to give to the user |
maskBatch |
A batch function that the Data Provider can use to mask the confidential original data to give to the user, all in one batch |
MaskJointDensity |
Masking, unmasking and restoring confidential data. |
moments |
moment |
positions |
Function for finding the positions of the node representing the points at which to sample from the kernel density estimate. |
P_Rmask |
Legendre polynomial |
qkdeSorted |
A slightly altered version of qkde from package ks |
rho_0 |
Purely used in generalizedJointF |
rmulti |
Simple way to generate noise |
sampleDensity |
A function used to simulate a sample from a kernel function, where the kernel function is determined by a given sample. |
unmask |
First core function used by End-User |
unmaskAndGetSampleBatch |
Batch function that allows the user to unmask a number of variables as well as to sample from the estimated joint density function. Serves as a wrapper for the first and second functions the End-User calls to obtain the samples from the marginal distributions of the unmasked data. |