ReplicaX: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(table input removed because cases an error)
(argument params updated)
 
Line 14: Line 14:
Rcode ReplicaX by Juha Karvanen does exactly that.
Rcode ReplicaX by Juha Karvanen does exactly that.


{{argument|relat1=relevant attack|selftruth1=true|id=arg1500|type=truth|content=Table data cannot be pasted to the code for some reason.|sign=--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 11:33, 18 November 2018 (UTC)}}
{{argument|relat1=attack|id=arg1500|type=truth|content=Table data cannot be pasted to the code for some reason.|sign=--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 11:33, 18 November 2018 (UTC)}}


<rcode label="Save a replica of your data" variables="
<rcode label="Save a replica of your data" variables="

Latest revision as of 13:30, 1 February 2019



Question

How to generate an artificial data from a real data in such a way that

  • individuals are no longer identifiable from the data,
  • the marginal distributions are close to those of the original data,
  • the correlation structure is close to that of the original data?

Answer

Rcode ReplicaX by Juha Karvanen does exactly that.

⇤--arg1500: . Table data cannot be pasted to the code for some reason. --Jouni (talk) 11:33, 18 November 2018 (UTC) (type: truth; paradigms: science: attack)

Give the variable types in format c('discrete','continuous'):

Give the k parameter (default recommended):

Give the osigma parameter (default recommended):

Do you want to show the replica data on screen?:

+ Show code


Show example data and analysis (Making a new run takes ca. 4 minutes)

+ Show code

Rationale

Calculations

Replica R function by Juha Karvanen does exactly that.

+ Show code

See also

Keywords

References