Generates univariate synthetic data using linear regression analysis.
syn.norm(y, x, xp, proper = FALSE, ...)
A list with two components:
a vector of length k
with synthetic values of y
.
a data frame with regression coefficients and error estimates.
an original data vector of length n
.
a matrix (n
x p
) of original covariates.
a matrix (k
x p
) of synthesised covariates.
a logical value specifying whether proper synthesis should be conducted. See details.
additional parameters.
Generates synthetic values using the spread around the
fitted linear regression line of y
given x
.
For proper synthesis first the regression coefficients
are drawn from normal distribution with mean and variance
from the fitted model.
syn
, syn.normrank
, syn.lognorm